impldao

package
v1.0.55 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 18, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmailAddressDaoImpl

type EmailAddressDaoImpl struct {
	Agent       rbacdb.LocalAgent  //starter:inject("#")
	UUIDService random.UUIDService //starter:inject("#")
	// contains filtered or unexported fields
}

EmailAddressDaoImpl ...

func (*EmailAddressDaoImpl) Delete

func (inst *EmailAddressDaoImpl) Delete(db *gorm.DB, id rbac.EmailAddressID) error

Delete ...

func (*EmailAddressDaoImpl) Find

Find ...

func (*EmailAddressDaoImpl) FindByAddress

func (inst *EmailAddressDaoImpl) FindByAddress(db *gorm.DB, address rbac.EmailAddress) (*rbacdb.EmailAddressEntity, error)

FindByAddress ...

func (*EmailAddressDaoImpl) Insert

Insert ...

func (*EmailAddressDaoImpl) List

List ...

func (*EmailAddressDaoImpl) Update

Update ...

type GroupDaoImpl added in v1.0.46

type GroupDaoImpl struct {
	Agent       rbacdb.LocalAgent  //starter:inject("#")
	UUIDService random.UUIDService //starter:inject("#")
	// contains filtered or unexported fields
}

GroupDaoImpl ...

func (*GroupDaoImpl) Delete added in v1.0.46

func (inst *GroupDaoImpl) Delete(db *gorm.DB, id rbac.GroupID) error

Delete ...

func (*GroupDaoImpl) Find added in v1.0.46

func (inst *GroupDaoImpl) Find(db *gorm.DB, id rbac.GroupID) (*rbacdb.GroupEntity, error)

Find ...

func (*GroupDaoImpl) FindByName added in v1.0.46

func (inst *GroupDaoImpl) FindByName(db *gorm.DB, name rbac.GroupName) (*rbacdb.GroupEntity, error)

FindByName ...

func (*GroupDaoImpl) Insert added in v1.0.46

func (inst *GroupDaoImpl) Insert(db *gorm.DB, o *rbacdb.GroupEntity) (*rbacdb.GroupEntity, error)

Insert ...

func (*GroupDaoImpl) List added in v1.0.46

func (inst *GroupDaoImpl) List(db *gorm.DB, q *rbac.GroupQuery) ([]*rbacdb.GroupEntity, error)

List ...

func (*GroupDaoImpl) Update added in v1.0.46

func (inst *GroupDaoImpl) Update(db *gorm.DB, id rbac.GroupID, updater func(*rbacdb.GroupEntity)) (*rbacdb.GroupEntity, error)

Update ...

type PermissionDaoImpl

type PermissionDaoImpl struct {
	Agent       rbacdb.LocalAgent  //starter:inject("#")
	UUIDService random.UUIDService //starter:inject("#")
	// contains filtered or unexported fields
}

PermissionDaoImpl ...

func (*PermissionDaoImpl) Delete

func (inst *PermissionDaoImpl) Delete(db *gorm.DB, id rbac.PermissionID) error

Delete ...

func (*PermissionDaoImpl) Find

Find ...

func (*PermissionDaoImpl) Insert

Insert ...

func (*PermissionDaoImpl) List

List ...

func (*PermissionDaoImpl) ListAll

func (inst *PermissionDaoImpl) ListAll(db *gorm.DB) ([]*rbacdb.PermissionEntity, error)

ListAll ...

func (*PermissionDaoImpl) Update

func (inst *PermissionDaoImpl) Update(db *gorm.DB, id rbac.PermissionID, updater func(*rbacdb.PermissionEntity)) (*rbacdb.PermissionEntity, error)

Update ...

type PhoneNumberDaoImpl

type PhoneNumberDaoImpl struct {
	Agent       rbacdb.LocalAgent  //starter:inject("#")
	UUIDService random.UUIDService //starter:inject("#")
	// contains filtered or unexported fields
}

PhoneNumberDaoImpl ...

func (*PhoneNumberDaoImpl) Delete

func (inst *PhoneNumberDaoImpl) Delete(db *gorm.DB, id rbac.PhoneNumberID) error

Delete ...

func (*PhoneNumberDaoImpl) Find

Find ...

func (*PhoneNumberDaoImpl) FindByNumber

func (inst *PhoneNumberDaoImpl) FindByNumber(db *gorm.DB, num rbac.FullPhoneNumber) (*rbacdb.PhoneNumberEntity, error)

FindByNumber ...

func (*PhoneNumberDaoImpl) Insert

Insert ...

func (*PhoneNumberDaoImpl) List

List ...

func (*PhoneNumberDaoImpl) Update

Update ...

type RegionDaoImpl added in v0.0.7

type RegionDaoImpl struct {
	Agent       rbacdb.LocalAgent  //starter:inject("#")
	UUIDService random.UUIDService //starter:inject("#")
	// contains filtered or unexported fields
}

RegionDaoImpl ...

func (*RegionDaoImpl) Delete added in v0.0.7

func (inst *RegionDaoImpl) Delete(db *gorm.DB, id rbac.RegionID) error

Delete ...

func (*RegionDaoImpl) Find added in v0.0.7

func (inst *RegionDaoImpl) Find(db *gorm.DB, id rbac.RegionID) (*rbacdb.RegionEntity, error)

Find ...

func (*RegionDaoImpl) Insert added in v0.0.7

func (inst *RegionDaoImpl) Insert(db *gorm.DB, o *rbacdb.RegionEntity) (*rbacdb.RegionEntity, error)

Insert ...

func (*RegionDaoImpl) List added in v0.0.7

func (inst *RegionDaoImpl) List(db *gorm.DB, q *rbac.RegionQuery) ([]*rbacdb.RegionEntity, error)

List ...

func (*RegionDaoImpl) ListAll added in v0.0.7

func (inst *RegionDaoImpl) ListAll(db *gorm.DB) ([]*rbacdb.RegionEntity, error)

ListAll ...

func (*RegionDaoImpl) Update added in v0.0.7

func (inst *RegionDaoImpl) Update(db *gorm.DB, id rbac.RegionID, updater func(*rbacdb.RegionEntity)) (*rbacdb.RegionEntity, error)

Update ...

type RoleDaoImpl

type RoleDaoImpl struct {
	Agent       rbacdb.LocalAgent  //starter:inject("#")
	UUIDService random.UUIDService //starter:inject("#")
	// contains filtered or unexported fields
}

RoleDaoImpl ...

func (*RoleDaoImpl) Delete

func (inst *RoleDaoImpl) Delete(db *gorm.DB, id rbac.RoleID) error

Delete ...

func (*RoleDaoImpl) Find

func (inst *RoleDaoImpl) Find(db *gorm.DB, id rbac.RoleID) (*rbacdb.RoleEntity, error)

Find ...

func (*RoleDaoImpl) Insert

func (inst *RoleDaoImpl) Insert(db *gorm.DB, o *rbacdb.RoleEntity) (*rbacdb.RoleEntity, error)

Insert ...

func (*RoleDaoImpl) List

func (inst *RoleDaoImpl) List(db *gorm.DB, q *rbac.RoleQuery) ([]*rbacdb.RoleEntity, error)

List ...

func (*RoleDaoImpl) ListAll

func (inst *RoleDaoImpl) ListAll(db *gorm.DB) ([]*rbacdb.RoleEntity, error)

ListAll ...

func (*RoleDaoImpl) Update

func (inst *RoleDaoImpl) Update(db *gorm.DB, id rbac.RoleID, updater func(*rbacdb.RoleEntity)) (*rbacdb.RoleEntity, error)

Update ...

type UserDaoImpl

type UserDaoImpl struct {
	Agent           rbacdb.LocalAgent      //starter:inject("#")
	EmailAddressDAO rbacdb.EmailAddressDAO //starter:inject("#")
	PhoneNumberDAO  rbacdb.PhoneNumberDAO  //starter:inject("#")
	UUIDService     random.UUIDService     //starter:inject("#")
	// contains filtered or unexported fields
}

UserDaoImpl ...

func (*UserDaoImpl) Delete

func (inst *UserDaoImpl) Delete(db *gorm.DB, id rbac.UserID) error

Delete ...

func (*UserDaoImpl) Find

func (inst *UserDaoImpl) Find(db *gorm.DB, id rbac.UserID) (*rbacdb.UserEntity, error)

Find ...

func (*UserDaoImpl) FindByAny

func (inst *UserDaoImpl) FindByAny(db *gorm.DB, text string) (*rbacdb.UserEntity, error)

FindByAny ...

func (*UserDaoImpl) FindByEmail

func (inst *UserDaoImpl) FindByEmail(db *gorm.DB, addr rbac.EmailAddress) (*rbacdb.UserEntity, error)

FindByEmail ...

func (*UserDaoImpl) FindByName

func (inst *UserDaoImpl) FindByName(db *gorm.DB, name rbac.UserName) (*rbacdb.UserEntity, error)

FindByName ...

func (*UserDaoImpl) FindByPhone

func (inst *UserDaoImpl) FindByPhone(db *gorm.DB, num rbac.FullPhoneNumber) (*rbacdb.UserEntity, error)

FindByPhone ...

func (*UserDaoImpl) Insert

func (inst *UserDaoImpl) Insert(db *gorm.DB, o *rbacdb.UserEntity) (*rbacdb.UserEntity, error)

Insert ...

func (*UserDaoImpl) List

func (inst *UserDaoImpl) List(db *gorm.DB, q *rbac.UserQuery) ([]*rbacdb.UserEntity, error)

List ...

func (*UserDaoImpl) Update

func (inst *UserDaoImpl) Update(db *gorm.DB, id rbac.UserID, updater func(*rbacdb.UserEntity)) (*rbacdb.UserEntity, error)

Update ...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL