Documentation ¶
Index ¶
- Constants
- type PostgresOrganizerProvisionHistoryRepository
- func (repo PostgresOrganizerProvisionHistoryRepository) CreateOrganizerProvisionHistory(history *businesslogic.OrganizerProvisionHistoryEntry) error
- func (repo PostgresOrganizerProvisionHistoryRepository) SearchOrganizerProvisionHistory(criteria businesslogic.SearchOrganizerProvisionHistoryCriteria) ([]businesslogic.OrganizerProvisionHistoryEntry, error)
- type PostgresOrganizerProvisionRepository
- func (repo PostgresOrganizerProvisionRepository) CreateOrganizerProvision(provision *businesslogic.OrganizerProvision) error
- func (repo PostgresOrganizerProvisionRepository) DeleteOrganizerProvision(provision businesslogic.OrganizerProvision) error
- func (repo PostgresOrganizerProvisionRepository) SearchOrganizerProvision(criteria businesslogic.SearchOrganizerProvisionCriteria) ([]businesslogic.OrganizerProvision, error)
- func (repo PostgresOrganizerProvisionRepository) UpdateOrganizerProvision(provision businesslogic.OrganizerProvision) error
Constants ¶
View Source
const ( DAS_ORGANIZER_PROVISION_HISTORY = "DAS.ORGANIZER_PROVISION_HISTORY" DAS_ORGANIZER_PROVISION_HISTORY_COL_ORGANIZER_ID = "ORGANIZER_ID" DAS_ORGANIZER_PROVISION_HISTORY_COL_AMOUNT = "AMOUNT" DAS_ORGANIZER_PROVISION_HISTORY_COL_NOTE = "NOTE" )
View Source
const ( DAS_ORGANIZER_PROVISION = "DAS.ORGANIZER_PROVISION" DAS_ORGANIZER_PROVISION_COL_ORGANIZER_ID = "ORGANIZER_ID" DAS_ORGANIZER_PROVISION_COL_HOSTED = "HOSTED" DAS_ORGANIZER_PROVISION_COL_AVAILABLE = "AVAILABLE" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostgresOrganizerProvisionHistoryRepository ¶
type PostgresOrganizerProvisionHistoryRepository struct { Database *sql.DB SqlBuilder squirrel.StatementBuilderType }
func (PostgresOrganizerProvisionHistoryRepository) CreateOrganizerProvisionHistory ¶
func (repo PostgresOrganizerProvisionHistoryRepository) CreateOrganizerProvisionHistory(history *businesslogic.OrganizerProvisionHistoryEntry) error
func (PostgresOrganizerProvisionHistoryRepository) SearchOrganizerProvisionHistory ¶
func (repo PostgresOrganizerProvisionHistoryRepository) SearchOrganizerProvisionHistory(criteria businesslogic.SearchOrganizerProvisionHistoryCriteria) ([]businesslogic.OrganizerProvisionHistoryEntry, error)
type PostgresOrganizerProvisionRepository ¶
type PostgresOrganizerProvisionRepository struct { Database *sql.DB SqlBuilder squirrel.StatementBuilderType }
func (PostgresOrganizerProvisionRepository) CreateOrganizerProvision ¶
func (repo PostgresOrganizerProvisionRepository) CreateOrganizerProvision(provision *businesslogic.OrganizerProvision) error
func (PostgresOrganizerProvisionRepository) DeleteOrganizerProvision ¶
func (repo PostgresOrganizerProvisionRepository) DeleteOrganizerProvision(provision businesslogic.OrganizerProvision) error
func (PostgresOrganizerProvisionRepository) SearchOrganizerProvision ¶
func (repo PostgresOrganizerProvisionRepository) SearchOrganizerProvision( criteria businesslogic.SearchOrganizerProvisionCriteria) ([]businesslogic.OrganizerProvision, error)
SearchOrganizerProvision get the provision information of an organizer user
func (PostgresOrganizerProvisionRepository) UpdateOrganizerProvision ¶
func (repo PostgresOrganizerProvisionRepository) UpdateOrganizerProvision(provision businesslogic.OrganizerProvision) error
UpdateOrganizerProvision update the provision summary of an organizer. It does not update the provision history record of the organizer.
Click to show internal directories.
Click to hide internal directories.