Documentation ¶
Index ¶
- type ProjectDb
- func (t *ProjectDb) Create(tx interface{}, item *domain.Project) error
- func (t *ProjectDb) CreateMeta(tx interface{}, id string) (*database.ProjectMeta, error)
- func (t *ProjectDb) Grid(tx interface{}, grid *tecgrid.NgGrid, filter *database.ProjectFilter) error
- func (t *ProjectDb) Load(tx interface{}, id string) (*domain.Project, error)
- func (t *ProjectDb) LoadSimple(tx interface{}, id string) (*domain.Project, error)
- func (t *ProjectDb) NextNumber(tx interface{}, id string) (*domain.Project, error)
- func (t *ProjectDb) PermissionDb() database.Permission
- func (t *ProjectDb) Remove(tx interface{}, id string) (*domain.Project, error)
- func (t *ProjectDb) RoleAdd(tx interface{}, item *domain.ProjectRole) error
- func (t *ProjectDb) RoleCreateAll(tx interface{}, item *domain.Project) error
- func (t *ProjectDb) RoleLoad(tx interface{}, project *domain.Project, role *domain.Role) (*domain.ProjectRole, error)
- func (t *ProjectDb) RoleMemberAdd(tx interface{}, projectRole *domain.ProjectRole, user *domain.User, ...) error
- func (t *ProjectDb) RoleMemberLoad(tx interface{}, project *domain.Project, role *domain.Role, user *domain.User, ...) (*domain.ProjectRoleMember, error)
- func (t *ProjectDb) RoleMemberRemove(tx interface{}, item *domain.ProjectRoleMember) error
- func (t *ProjectDb) RoleMembers(tx interface{}, item *domain.ProjectRole) ([]domain.ProjectRoleMember, error)
- func (t *ProjectDb) RoleProjectMembers(tx interface{}, item *domain.Project) ([]domain.ProjectRoleMember, error)
- func (t *ProjectDb) RoleRemove(tx interface{}, item *domain.ProjectRole) error
- func (t *ProjectDb) Roles(tx interface{}, item *domain.Project) ([]domain.ProjectRole, error)
- func (t *ProjectDb) SetPermissionDb(item *database.Permission)
- func (t *ProjectDb) SetUserDb(item *database.User)
- func (t *ProjectDb) Update(tx interface{}, item *domain.Project) error
- func (t *ProjectDb) UserDb() database.User
- func (t *ProjectDb) ValidateDups(tx interface{}, item *domain.Project) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProjectDb ¶
func (*ProjectDb) CreateMeta ¶
func (t *ProjectDb) CreateMeta(tx interface{}, id string) (*database.ProjectMeta, error)
func (*ProjectDb) LoadSimple ¶
func (*ProjectDb) NextNumber ¶
func (*ProjectDb) PermissionDb ¶
func (t *ProjectDb) PermissionDb() database.Permission
func (*ProjectDb) RoleAdd ¶
func (t *ProjectDb) RoleAdd(tx interface{}, item *domain.ProjectRole) error
func (*ProjectDb) RoleCreateAll ¶
func (*ProjectDb) RoleMemberAdd ¶
func (*ProjectDb) RoleMemberLoad ¶
func (*ProjectDb) RoleMemberRemove ¶
func (t *ProjectDb) RoleMemberRemove(tx interface{}, item *domain.ProjectRoleMember) error
func (*ProjectDb) RoleMembers ¶
func (t *ProjectDb) RoleMembers(tx interface{}, item *domain.ProjectRole) ([]domain.ProjectRoleMember, error)
func (*ProjectDb) RoleProjectMembers ¶
func (*ProjectDb) RoleRemove ¶
func (t *ProjectDb) RoleRemove(tx interface{}, item *domain.ProjectRole) error
func (*ProjectDb) SetPermissionDb ¶
func (t *ProjectDb) SetPermissionDb(item *database.Permission)
Click to show internal directories.
Click to hide internal directories.