Documentation ¶
Index ¶
- type AccessMongoDBDao
- func (p *AccessMongoDBDao) Find(filter string) (utils.Map, error)
- func (p *AccessMongoDBDao) Get(accessid string) (utils.Map, error)
- func (p *AccessMongoDBDao) GrantPermission(indata utils.Map) (utils.Map, error)
- func (p *AccessMongoDBDao) InitializeDao(client utils.Map, businessId string)
- func (p *AccessMongoDBDao) List(sys_filter string, filter string, sort string, skip int64, limit int64) (utils.Map, error)
- func (p *AccessMongoDBDao) RevokePermission(accessid string) (int64, error)
- type BusinessMongoDBDao
- func (p *BusinessMongoDBDao) Create(indata utils.Map) (utils.Map, error)
- func (p *BusinessMongoDBDao) Delete(businessid string) (int64, error)
- func (p *BusinessMongoDBDao) Find(filter string) (utils.Map, error)
- func (p *BusinessMongoDBDao) Get(businessid string) (utils.Map, error)
- func (p *BusinessMongoDBDao) InitializeDao(client utils.Map, businessId string)
- func (p *BusinessMongoDBDao) Update(indata utils.Map) (utils.Map, error)
- type ContactMongoDBDao
- func (p *ContactMongoDBDao) Create(indata utils.Map) (utils.Map, error)
- func (p *ContactMongoDBDao) Delete(contact_id string) (int64, error)
- func (p *ContactMongoDBDao) DeleteAll() (int64, error)
- func (p *ContactMongoDBDao) Find(filter string) (utils.Map, error)
- func (p *ContactMongoDBDao) Get(contact_id string) (utils.Map, error)
- func (p *ContactMongoDBDao) InitializeDao(client utils.Map, businessId string)
- func (p *ContactMongoDBDao) List(filter string, sort string, skip int64, limit int64) (utils.Map, error)
- func (p *ContactMongoDBDao) Update(contact_id string, indata utils.Map) (utils.Map, error)
- type PaymentMongoDBDao
- func (p *PaymentMongoDBDao) Create(indata utils.Map) (utils.Map, error)
- func (p *PaymentMongoDBDao) Delete(paymentId string) (int64, error)
- func (p *PaymentMongoDBDao) Find(filter string) (utils.Map, error)
- func (p *PaymentMongoDBDao) Get(paymentId string) (utils.Map, error)
- func (p *PaymentMongoDBDao) InitializeDao(client utils.Map, businessId string)
- func (p *PaymentMongoDBDao) List(filter string, sort string, skip int64, limit int64) (utils.Map, error)
- func (p *PaymentMongoDBDao) Update(paymentId string, indata utils.Map) (utils.Map, error)
- type PaymentTxnMongoDBDao
- func (p *PaymentTxnMongoDBDao) Create(indata utils.Map) (utils.Map, error)
- func (p *PaymentTxnMongoDBDao) Delete(PaymentTxnId string) (int64, error)
- func (p *PaymentTxnMongoDBDao) Find(filter string) (utils.Map, error)
- func (p *PaymentTxnMongoDBDao) Get(PaymentTxnId string) (utils.Map, error)
- func (p *PaymentTxnMongoDBDao) InitializeDao(client utils.Map, businessId string)
- func (p *PaymentTxnMongoDBDao) List(filter string, sort string, skip int64, limit int64) (utils.Map, error)
- func (p *PaymentTxnMongoDBDao) Update(PaymentTxnId string, indata utils.Map) (utils.Map, error)
- type RoleMongoDBDao
- func (p *RoleMongoDBDao) Create(indata utils.Map) (utils.Map, error)
- func (p *RoleMongoDBDao) Delete(roleid string) (int64, error)
- func (p *RoleMongoDBDao) Find(filter string) (utils.Map, error)
- func (p *RoleMongoDBDao) GetDetails(roleid string) (utils.Map, error)
- func (p *RoleMongoDBDao) InitializeDao(client utils.Map, businessId string)
- func (p *RoleMongoDBDao) List(filter string, sort string, skip int64, limit int64) (utils.Map, error)
- func (p *RoleMongoDBDao) Update(roleid string, indata utils.Map) (utils.Map, error)
- type SiteMongoDBDao
- func (p *SiteMongoDBDao) Create(indata utils.Map) (utils.Map, error)
- func (p *SiteMongoDBDao) Delete(siteid string) (int64, error)
- func (p *SiteMongoDBDao) DeleteAll() (int64, error)
- func (p *SiteMongoDBDao) Find(filter string) (utils.Map, error)
- func (p *SiteMongoDBDao) Get(siteid string) (utils.Map, error)
- func (p *SiteMongoDBDao) InitializeDao(client utils.Map, businessId string)
- func (p *SiteMongoDBDao) List(filter string, sort string, skip int64, limit int64) (utils.Map, error)
- func (p *SiteMongoDBDao) Update(siteid string, indata utils.Map) (utils.Map, error)
- type TerritoryMongoDBDao
- func (p *TerritoryMongoDBDao) Create(indata utils.Map) (utils.Map, error)
- func (p *TerritoryMongoDBDao) Delete(territoryid string) (int64, error)
- func (p *TerritoryMongoDBDao) DeleteAll() (int64, error)
- func (p *TerritoryMongoDBDao) Find(filter string) (utils.Map, error)
- func (p *TerritoryMongoDBDao) Get(territoryid string) (utils.Map, error)
- func (p *TerritoryMongoDBDao) InitializeDao(client utils.Map, businessId string)
- func (p *TerritoryMongoDBDao) List(filter string, sort string, skip int64, limit int64) (utils.Map, error)
- func (p *TerritoryMongoDBDao) Update(territoryid string, indata utils.Map) (utils.Map, error)
- type UserMongoDBDao
- func (p *UserMongoDBDao) Create(indata utils.Map) (utils.Map, error)
- func (p *UserMongoDBDao) Delete(userid string) (int64, error)
- func (p *UserMongoDBDao) Find(filter string) (utils.Map, error)
- func (p *UserMongoDBDao) Get(userid string) (utils.Map, error)
- func (p *UserMongoDBDao) InitializeDao(client utils.Map, businessId string)
- func (p *UserMongoDBDao) List(filter string, sort string, skip int64, limit int64) (utils.Map, error)
- func (p *UserMongoDBDao) Update(userid string, indata utils.Map) (utils.Map, error)
- type UserTypeMongoDBDao
- func (p *UserTypeMongoDBDao) Create(indata utils.Map) (utils.Map, error)
- func (p *UserTypeMongoDBDao) Delete(staffTypeId string) (int64, error)
- func (p *UserTypeMongoDBDao) DeleteAll() (int64, error)
- func (p *UserTypeMongoDBDao) Find(filter string) (utils.Map, error)
- func (p *UserTypeMongoDBDao) Get(staffTypeId string) (utils.Map, error)
- func (p *UserTypeMongoDBDao) InitializeDao(client utils.Map, businessId string)
- func (p *UserTypeMongoDBDao) List(filter string, sort string, skip int64, limit int64) (utils.Map, error)
- func (p *UserTypeMongoDBDao) Update(staffTypeId string, indata utils.Map) (utils.Map, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessMongoDBDao ¶
type AccessMongoDBDao struct {
// contains filtered or unexported fields
}
AccessMongoDBDao - Access DAO Repository
func (*AccessMongoDBDao) Find ¶
func (p *AccessMongoDBDao) Find(filter string) (utils.Map, error)
Find - Find by code
func (*AccessMongoDBDao) Get ¶
func (p *AccessMongoDBDao) Get(accessid string) (utils.Map, error)
Get - Get access details
func (*AccessMongoDBDao) GrantPermission ¶
GrantPermission - GrantPermission Collection
func (*AccessMongoDBDao) InitializeDao ¶
func (p *AccessMongoDBDao) InitializeDao(client utils.Map, businessId string)
func (*AccessMongoDBDao) List ¶
func (p *AccessMongoDBDao) List(sys_filter string, filter string, sort string, skip int64, limit int64) (utils.Map, error)
List - List all Collections
func (*AccessMongoDBDao) RevokePermission ¶
func (p *AccessMongoDBDao) RevokePermission(accessid string) (int64, error)
RevokePermission - RevokePermission Collection
type BusinessMongoDBDao ¶
type BusinessMongoDBDao struct {
// contains filtered or unexported fields
}
AdvertisementDao - Card DAO Repository
func (*BusinessMongoDBDao) Delete ¶
func (p *BusinessMongoDBDao) Delete(businessid string) (int64, error)
Delete - Delete Collection
func (*BusinessMongoDBDao) Find ¶
func (p *BusinessMongoDBDao) Find(filter string) (utils.Map, error)
Find - Find by code
func (*BusinessMongoDBDao) Get ¶
func (p *BusinessMongoDBDao) Get(businessid string) (utils.Map, error)
Get - Get user details
func (*BusinessMongoDBDao) InitializeDao ¶
func (p *BusinessMongoDBDao) InitializeDao(client utils.Map, businessId string)
type ContactMongoDBDao ¶
type ContactMongoDBDao struct {
// contains filtered or unexported fields
}
ContactMongoDBDao - Contact DAO Repository
func (*ContactMongoDBDao) Delete ¶
func (p *ContactMongoDBDao) Delete(contact_id string) (int64, error)
Delete - Delete Collection
func (*ContactMongoDBDao) DeleteAll ¶
func (p *ContactMongoDBDao) DeleteAll() (int64, error)
DeleteAll - Delete All Collection
func (*ContactMongoDBDao) Find ¶
func (p *ContactMongoDBDao) Find(filter string) (utils.Map, error)
Find - Find by code
func (*ContactMongoDBDao) Get ¶
func (p *ContactMongoDBDao) Get(contact_id string) (utils.Map, error)
Get - Get contact details
func (*ContactMongoDBDao) InitializeDao ¶
func (p *ContactMongoDBDao) InitializeDao(client utils.Map, businessId string)
type PaymentMongoDBDao ¶
type PaymentMongoDBDao struct {
// contains filtered or unexported fields
}
PaymentMongoDBDao - Payment DAO Repository
func (*PaymentMongoDBDao) Delete ¶
func (p *PaymentMongoDBDao) Delete(paymentId string) (int64, error)
Delete - Delete Collection
func (*PaymentMongoDBDao) Find ¶
func (p *PaymentMongoDBDao) Find(filter string) (utils.Map, error)
Find - Find by Filter
func (*PaymentMongoDBDao) Get ¶
func (p *PaymentMongoDBDao) Get(paymentId string) (utils.Map, error)
Get - Get by code
func (*PaymentMongoDBDao) InitializeDao ¶
func (p *PaymentMongoDBDao) InitializeDao(client utils.Map, businessId string)
type PaymentTxnMongoDBDao ¶
type PaymentTxnMongoDBDao struct {
// contains filtered or unexported fields
}
PaymentTxnMongoDBDao - PaymentTxn DAO Repository
func (*PaymentTxnMongoDBDao) Delete ¶
func (p *PaymentTxnMongoDBDao) Delete(PaymentTxnId string) (int64, error)
Delete - Delete Collection
func (*PaymentTxnMongoDBDao) Find ¶
func (p *PaymentTxnMongoDBDao) Find(filter string) (utils.Map, error)
Find - Find by Filter
func (*PaymentTxnMongoDBDao) Get ¶
func (p *PaymentTxnMongoDBDao) Get(PaymentTxnId string) (utils.Map, error)
Get - Get by code
func (*PaymentTxnMongoDBDao) InitializeDao ¶
func (p *PaymentTxnMongoDBDao) InitializeDao(client utils.Map, businessId string)
type RoleMongoDBDao ¶
type RoleMongoDBDao struct {
// contains filtered or unexported fields
}
RoleMongoDBDao - Role DAO Repository
func (*RoleMongoDBDao) Delete ¶
func (p *RoleMongoDBDao) Delete(roleid string) (int64, error)
Delete - Delete Collection
func (*RoleMongoDBDao) Find ¶
func (p *RoleMongoDBDao) Find(filter string) (utils.Map, error)
Find - Find by code
func (*RoleMongoDBDao) GetDetails ¶
func (p *RoleMongoDBDao) GetDetails(roleid string) (utils.Map, error)
Get - Get role details
func (*RoleMongoDBDao) InitializeDao ¶
func (p *RoleMongoDBDao) InitializeDao(client utils.Map, businessId string)
type SiteMongoDBDao ¶
type SiteMongoDBDao struct {
// contains filtered or unexported fields
}
SiteMongoDBDao - Site DAO Repository
func (*SiteMongoDBDao) Delete ¶
func (p *SiteMongoDBDao) Delete(siteid string) (int64, error)
Delete - Delete Collection
func (*SiteMongoDBDao) DeleteAll ¶
func (p *SiteMongoDBDao) DeleteAll() (int64, error)
Delete - Delete Collection
func (*SiteMongoDBDao) Find ¶
func (p *SiteMongoDBDao) Find(filter string) (utils.Map, error)
Find - Find by code
func (*SiteMongoDBDao) Get ¶
func (p *SiteMongoDBDao) Get(siteid string) (utils.Map, error)
Get - Get site details
func (*SiteMongoDBDao) InitializeDao ¶
func (p *SiteMongoDBDao) InitializeDao(client utils.Map, businessId string)
type TerritoryMongoDBDao ¶
type TerritoryMongoDBDao struct {
// contains filtered or unexported fields
}
TerritoryMongoDBDao - Territory DAO Repository
func (*TerritoryMongoDBDao) Delete ¶
func (p *TerritoryMongoDBDao) Delete(territoryid string) (int64, error)
Delete - Delete Collection
func (*TerritoryMongoDBDao) DeleteAll ¶
func (p *TerritoryMongoDBDao) DeleteAll() (int64, error)
Delete - Delete Collection
func (*TerritoryMongoDBDao) Find ¶
func (p *TerritoryMongoDBDao) Find(filter string) (utils.Map, error)
Find - Find by code
func (*TerritoryMongoDBDao) Get ¶
func (p *TerritoryMongoDBDao) Get(territoryid string) (utils.Map, error)
Get - Get territory details
func (*TerritoryMongoDBDao) InitializeDao ¶
func (p *TerritoryMongoDBDao) InitializeDao(client utils.Map, businessId string)
type UserMongoDBDao ¶
type UserMongoDBDao struct {
// contains filtered or unexported fields
}
UserMongoDBDao - User DAO Repository
func (*UserMongoDBDao) Delete ¶
func (p *UserMongoDBDao) Delete(userid string) (int64, error)
Delete - Delete Collection
func (*UserMongoDBDao) Find ¶
func (p *UserMongoDBDao) Find(filter string) (utils.Map, error)
Find - Find by code
func (*UserMongoDBDao) Get ¶
func (p *UserMongoDBDao) Get(userid string) (utils.Map, error)
Get - Get user details
func (*UserMongoDBDao) InitializeDao ¶
func (p *UserMongoDBDao) InitializeDao(client utils.Map, businessId string)
type UserTypeMongoDBDao ¶
type UserTypeMongoDBDao struct {
// contains filtered or unexported fields
}
UserTypeMongoDBDao - Staff DAO Repository
func (*UserTypeMongoDBDao) Delete ¶
func (p *UserTypeMongoDBDao) Delete(staffTypeId string) (int64, error)
Delete - Delete Collection
func (*UserTypeMongoDBDao) DeleteAll ¶
func (p *UserTypeMongoDBDao) DeleteAll() (int64, error)
DeleteAll - Delete All Collection
func (*UserTypeMongoDBDao) Find ¶
func (p *UserTypeMongoDBDao) Find(filter string) (utils.Map, error)
Find - Find by code
func (*UserTypeMongoDBDao) Get ¶
func (p *UserTypeMongoDBDao) Get(staffTypeId string) (utils.Map, error)
Get - Get account details
func (*UserTypeMongoDBDao) InitializeDao ¶
func (p *UserTypeMongoDBDao) InitializeDao(client utils.Map, businessId string)