Documentation ¶
Index ¶
- type UserDb
- func (t *UserDb) AccountDb() database.Account
- func (t *UserDb) CountSystemAdministrators(tx interface{}) (int64, error)
- func (t *UserDb) Create(tx interface{}, item *domain.User) error
- func (t *UserDb) Grid(tx interface{}, grid *tecgrid.NgGrid) error
- func (t *UserDb) GroupCreate(tx interface{}, item *domain.Group) (err error)
- func (t *UserDb) GroupGrid(tx interface{}, grid *tecgrid.NgGrid) (err error)
- func (t *UserDb) GroupList(tx interface{}) (items []domain.Group, err error)
- func (t *UserDb) GroupLoad(tx interface{}, id string) (*domain.Group, error)
- func (t *UserDb) GroupRemove(tx interface{}, id string) (item *domain.Group, err error)
- func (t *UserDb) GroupUpdate(tx interface{}, item *domain.Group) (err error)
- func (t *UserDb) List(tx interface{}) ([]domain.User, error)
- func (t *UserDb) Load(tx interface{}, id string) (*domain.User, error)
- func (t *UserDb) Remove(tx interface{}, id string) (*domain.User, error)
- func (t *UserDb) RoleCreate(tx interface{}, item *domain.Role) error
- func (t *UserDb) RoleGrid(tx interface{}, grid *tecgrid.NgGrid) error
- func (t *UserDb) RoleList(tx interface{}) ([]domain.Role, error)
- func (t *UserDb) RoleLoad(tx interface{}, id string) (*domain.Role, error)
- func (t *UserDb) RoleRemove(tx interface{}, id string) (*domain.Role, error)
- func (t *UserDb) RoleUpdate(tx interface{}, item *domain.Role) error
- func (t *UserDb) SetAccountDb(item *database.Account)
- func (t *UserDb) Update(tx interface{}, item *domain.User) error
- func (t *UserDb) UserGroupAdd(tx interface{}, u *domain.UserGroup) error
- func (t *UserDb) UserGroupIsMember(tx interface{}, group *domain.Group, user *domain.User) (ok bool, err error)
- func (t *UserDb) UserGroupListGroups(tx interface{}, u *domain.User) (selected []domain.Group, unselected []domain.Group, err error)
- func (t *UserDb) UserGroupListUsers(tx interface{}, g *domain.Group) (selected []domain.User, unselected []domain.User, err error)
- func (t *UserDb) UserGroupRemove(tx interface{}, u *domain.UserGroup) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserDb ¶
func (*UserDb) CountSystemAdministrators ¶
func (*UserDb) GroupCreate ¶
func (*UserDb) GroupRemove ¶
func (*UserDb) GroupUpdate ¶
func (*UserDb) RoleRemove ¶
func (*UserDb) SetAccountDb ¶
func (*UserDb) UserGroupAdd ¶
func (*UserDb) UserGroupIsMember ¶
func (*UserDb) UserGroupListGroups ¶
func (*UserDb) UserGroupListUsers ¶
Click to show internal directories.
Click to hide internal directories.