Documentation ¶
Index ¶
- type PostgresAdjudicatorCompetitionEntryRepository
- func (repo PostgresAdjudicatorCompetitionEntryRepository) CreateEntry(entry *businesslogic.AdjudicatorCompetitionEntry) error
- func (repo PostgresAdjudicatorCompetitionEntryRepository) DeleteEntry(entry businesslogic.AdjudicatorCompetitionEntry) error
- func (repo PostgresAdjudicatorCompetitionEntryRepository) SearchEntry(criteria businesslogic.SearchAdjudicatorCompetitionEntryCriteria) ([]businesslogic.AdjudicatorCompetitionEntry, error)
- func (repo PostgresAdjudicatorCompetitionEntryRepository) UpdateEntry(entry businesslogic.AdjudicatorCompetitionEntry) error
- type PostgresAdjudicatorEventEntryRepository
- func (repo PostgresAdjudicatorEventEntryRepository) CreateAdjudicatorEventEntry(entry *businesslogic.AdjudicatorEventEntry) error
- func (repo PostgresAdjudicatorEventEntryRepository) DeleteAdjudicatorEventEntry(entry businesslogic.AdjudicatorEventEntry) error
- func (repo PostgresAdjudicatorEventEntryRepository) SearchAdjudicatorEventEntry(criteria businesslogic.SearchAdjudicatorEventEntryCriteria) ([]businesslogic.AdjudicatorEventEntry, error)
- func (repo PostgresAdjudicatorEventEntryRepository) UpdateAdjudicatorEventEntry(entry businesslogic.AdjudicatorEventEntry) error
- type PostgresAdjudicatorRoundEntryRepository
- func (repo PostgresAdjudicatorRoundEntryRepository) CreateAdjudicatorRoundEntry(entry *businesslogic.AdjudicatorRoundEntry) error
- func (repo PostgresAdjudicatorRoundEntryRepository) DeleteAdjudicatorRoundEntry(entry businesslogic.AdjudicatorRoundEntry) error
- func (repo PostgresAdjudicatorRoundEntryRepository) SearchAdjudicatorRoundEntry(criteria businesslogic.SearchAdjudicatorRoundEntryCriteria) ([]businesslogic.AdjudicatorRoundEntry, error)
- func (repo PostgresAdjudicatorRoundEntryRepository) UpdateAdjudicatorRoundEntry(entry businesslogic.AdjudicatorRoundEntry) error
- type PostgresAthleteCompetitionEntryRepository
- func (repo PostgresAthleteCompetitionEntryRepository) CreateEntry(entry *businesslogic.AthleteCompetitionEntry) error
- func (repo PostgresAthleteCompetitionEntryRepository) DeleteEntry(entry businesslogic.AthleteCompetitionEntry) error
- func (repo PostgresAthleteCompetitionEntryRepository) GetEntriesByCompetition(competitionId int) ([]businesslogic.AthleteCompetitionEntry, error)
- func (repo PostgresAthleteCompetitionEntryRepository) NextAvailableLeadTag(competition businesslogic.Competition) (int, error)
- func (repo PostgresAthleteCompetitionEntryRepository) SearchEntry(criteria businesslogic.SearchAthleteCompetitionEntryCriteria) ([]businesslogic.AthleteCompetitionEntry, error)
- func (repo PostgresAthleteCompetitionEntryRepository) UpdateEntry(entry businesslogic.AthleteCompetitionEntry) error
- type PostgresAthleteEventEntryRepository
- func (repo PostgresAthleteEventEntryRepository) CreateAthleteEventEntry(entry *businesslogic.AthleteEventEntry) error
- func (repo PostgresAthleteEventEntryRepository) DeleteAthleteEventEntry(entry businesslogic.AthleteEventEntry) error
- func (repo PostgresAthleteEventEntryRepository) SearchAthleteEventEntry(criteria businesslogic.SearchAthleteEventEntryCriteria) ([]businesslogic.AthleteEventEntry, error)
- func (repo PostgresAthleteEventEntryRepository) UpdateAthleteEventEntry(entry businesslogic.AthleteEventEntry) error
- type PostgresCompetitionLeadTagRepository
- func (repo PostgresCompetitionLeadTagRepository) CreateCompetitionLeadTag(tag *businesslogic.CompetitionLeadTag) error
- func (repo PostgresCompetitionLeadTagRepository) DeleteCompetitionLeadTag(tag businesslogic.CompetitionLeadTag) error
- func (repo PostgresCompetitionLeadTagRepository) SearchCompetitionLeadTag(criteria businesslogic.SearchCompetitionLeadTagCriteria) (businesslogic.CompetitionLeadTagCollection, error)
- func (repo PostgresCompetitionLeadTagRepository) UpdateCompetitionLeadTag(tag businesslogic.CompetitionLeadTag) error
- type PostgresPartnershipCompetitionEntryRepository
- func (repo PostgresPartnershipCompetitionEntryRepository) CreateEntry(entry *businesslogic.PartnershipCompetitionEntry) error
- func (repo PostgresPartnershipCompetitionEntryRepository) DeleteEntry(entry businesslogic.PartnershipCompetitionEntry) error
- func (repo PostgresPartnershipCompetitionEntryRepository) SearchEntry(criteria businesslogic.SearchPartnershipCompetitionEntryCriteria) ([]businesslogic.PartnershipCompetitionEntry, error)
- func (repo PostgresPartnershipCompetitionEntryRepository) UpdateEntry(entry businesslogic.PartnershipCompetitionEntry) error
- type PostgresPartnershipCompetitionRepresentationRepository
- type PostgresPartnershipEventEntryRepository
- func (repo PostgresPartnershipEventEntryRepository) CreatePartnershipEventEntry(entry *businesslogic.PartnershipEventEntry) error
- func (repo PostgresPartnershipEventEntryRepository) DeletePartnershipEventEntry(entry businesslogic.PartnershipEventEntry) error
- func (repo PostgresPartnershipEventEntryRepository) SearchPartnershipEventEntry(criteria businesslogic.SearchPartnershipEventEntryCriteria) ([]businesslogic.PartnershipEventEntry, error)
- func (repo PostgresPartnershipEventEntryRepository) UpdatePartnershipEventEntry(entry businesslogic.PartnershipEventEntry) error
- type PostgresPartnershipRoundEntryRepository
- func (repo PostgresPartnershipRoundEntryRepository) CreatePartnershipRoundEntry(entry *businesslogic.PartnershipRoundEntry) error
- func (repo PostgresPartnershipRoundEntryRepository) DeletePartnershipRoundEntry(entry businesslogic.PartnershipRoundEntry) error
- func (repo PostgresPartnershipRoundEntryRepository) SearchPartnershipRoundEntry(criteria businesslogic.SearchPartnershipRoundEntryCriteria) ([]businesslogic.PartnershipRoundEntry, error)
- func (repo PostgresPartnershipRoundEntryRepository) UpdatePartnershipRoundEntry(entry businesslogic.PartnershipRoundEntry) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostgresAdjudicatorCompetitionEntryRepository ¶
type PostgresAdjudicatorCompetitionEntryRepository struct { Database *sql.DB SQLBuilder squirrel.StatementBuilderType }
PostgresAdjudicatorCompetitionEntryRepository implements the IAdjudicatorCompetitionEntryRepository with a Postgres database
func (PostgresAdjudicatorCompetitionEntryRepository) CreateEntry ¶
func (repo PostgresAdjudicatorCompetitionEntryRepository) CreateEntry(entry *businesslogic.AdjudicatorCompetitionEntry) error
CreateEntry creates an AdjudicatorCompetitionEntry in a Postgres database
func (PostgresAdjudicatorCompetitionEntryRepository) DeleteEntry ¶
func (repo PostgresAdjudicatorCompetitionEntryRepository) DeleteEntry(entry businesslogic.AdjudicatorCompetitionEntry) error
DeleteEntry deletes an AdjudicatorCompetitionEntry from a Postgres database
func (PostgresAdjudicatorCompetitionEntryRepository) SearchEntry ¶
func (repo PostgresAdjudicatorCompetitionEntryRepository) SearchEntry(criteria businesslogic.SearchAdjudicatorCompetitionEntryCriteria) ([]businesslogic.AdjudicatorCompetitionEntry, error)
SearchEntry searches AdjudicatorCompetitionEntry in a Postgres database
func (PostgresAdjudicatorCompetitionEntryRepository) UpdateEntry ¶
func (repo PostgresAdjudicatorCompetitionEntryRepository) UpdateEntry(entry businesslogic.AdjudicatorCompetitionEntry) error
UpdateEntry updates an AdjudicatorCompetitionEntry in a Postgres database
type PostgresAdjudicatorEventEntryRepository ¶
type PostgresAdjudicatorEventEntryRepository struct { Database *sql.DB SQLBuilder squirrel.StatementBuilderType }
PostgresAdjudicatorEventEntryRepository implements IAdjudicatorEventEntryRepository with a Postgres database
func (PostgresAdjudicatorEventEntryRepository) CreateAdjudicatorEventEntry ¶
func (repo PostgresAdjudicatorEventEntryRepository) CreateAdjudicatorEventEntry(entry *businesslogic.AdjudicatorEventEntry) error
CreateAdjudicatorEventEntry creates an Adjudicator Event Entry in a Postgres database
func (PostgresAdjudicatorEventEntryRepository) DeleteAdjudicatorEventEntry ¶
func (repo PostgresAdjudicatorEventEntryRepository) DeleteAdjudicatorEventEntry(entry businesslogic.AdjudicatorEventEntry) error
DeleteAdjudicatorEventEntry deletes an Adjudicator Event Entry from a Postgres database
func (PostgresAdjudicatorEventEntryRepository) SearchAdjudicatorEventEntry ¶
func (repo PostgresAdjudicatorEventEntryRepository) SearchAdjudicatorEventEntry(criteria businesslogic.SearchAdjudicatorEventEntryCriteria) ([]businesslogic.AdjudicatorEventEntry, error)
SearchAdjudicatorEventEntry searches Adjudicator Event Entries in a Postgres database
func (PostgresAdjudicatorEventEntryRepository) UpdateAdjudicatorEventEntry ¶
func (repo PostgresAdjudicatorEventEntryRepository) UpdateAdjudicatorEventEntry(entry businesslogic.AdjudicatorEventEntry) error
UpdateAdjudicatorEventEntry updates an Adjudicator Event Entry in a Postgres database
type PostgresAdjudicatorRoundEntryRepository ¶
type PostgresAdjudicatorRoundEntryRepository struct { Database *sql.DB SQLBuilder squirrel.StatementBuilderType }
PostgresAdjudicatorRoundEntryRepository implements IAdjudicatorRoundEntryRepository with a Postgres database
func (PostgresAdjudicatorRoundEntryRepository) CreateAdjudicatorRoundEntry ¶
func (repo PostgresAdjudicatorRoundEntryRepository) CreateAdjudicatorRoundEntry(entry *businesslogic.AdjudicatorRoundEntry) error
CreateAdjudicatorRoundEntry creates an AdjudicatorRoundEntry in a Postgres database
func (PostgresAdjudicatorRoundEntryRepository) DeleteAdjudicatorRoundEntry ¶
func (repo PostgresAdjudicatorRoundEntryRepository) DeleteAdjudicatorRoundEntry(entry businesslogic.AdjudicatorRoundEntry) error
DeleteAdjudicatorRoundEntry deletes an AdjudicatorRoundEntry from a Postgres database
func (PostgresAdjudicatorRoundEntryRepository) SearchAdjudicatorRoundEntry ¶
func (repo PostgresAdjudicatorRoundEntryRepository) SearchAdjudicatorRoundEntry(criteria businesslogic.SearchAdjudicatorRoundEntryCriteria) ([]businesslogic.AdjudicatorRoundEntry, error)
SearchAdjudicatorRoundEntry searches AdjudicatorRoundEntry from a Postgres database
func (PostgresAdjudicatorRoundEntryRepository) UpdateAdjudicatorRoundEntry ¶
func (repo PostgresAdjudicatorRoundEntryRepository) UpdateAdjudicatorRoundEntry(entry businesslogic.AdjudicatorRoundEntry) error
UpdateAdjudicatorRoundEntry updates an AdjudicatorRoundEntry from a Postgres database
type PostgresAthleteCompetitionEntryRepository ¶
type PostgresAthleteCompetitionEntryRepository struct { Database *sql.DB SQLBuilder squirrel.StatementBuilderType }
PostgresAthleteCompetitionEntryRepository is a Postgres-based Athlete Competition Entry Repository
func (PostgresAthleteCompetitionEntryRepository) CreateEntry ¶
func (repo PostgresAthleteCompetitionEntryRepository) CreateEntry(entry *businesslogic.AthleteCompetitionEntry) error
CreateEntry creates an AthleteCompetitionEntry in a Postgres database
func (PostgresAthleteCompetitionEntryRepository) DeleteEntry ¶
func (repo PostgresAthleteCompetitionEntryRepository) DeleteEntry(entry businesslogic.AthleteCompetitionEntry) error
DeleteEntry deletes an AthleteCompetitionEntry from a Postgres database
func (PostgresAthleteCompetitionEntryRepository) GetEntriesByCompetition ¶
func (repo PostgresAthleteCompetitionEntryRepository) GetEntriesByCompetition(competitionId int) ([]businesslogic.AthleteCompetitionEntry, error)
func (PostgresAthleteCompetitionEntryRepository) NextAvailableLeadTag ¶
func (repo PostgresAthleteCompetitionEntryRepository) NextAvailableLeadTag(competition businesslogic.Competition) (int, error)
func (PostgresAthleteCompetitionEntryRepository) SearchEntry ¶
func (repo PostgresAthleteCompetitionEntryRepository) SearchEntry(criteria businesslogic.SearchAthleteCompetitionEntryCriteria) ([]businesslogic.AthleteCompetitionEntry, error)
SearchEntry searches AthleteCompetitionEntry in a Postgres database
func (PostgresAthleteCompetitionEntryRepository) UpdateEntry ¶
func (repo PostgresAthleteCompetitionEntryRepository) UpdateEntry(entry businesslogic.AthleteCompetitionEntry) error
UpdateEntry updates an AthleteCompetitionEntry from a Postgres database
type PostgresAthleteEventEntryRepository ¶
type PostgresAthleteEventEntryRepository struct { Database *sql.DB SQLBuilder squirrel.StatementBuilderType }
func (PostgresAthleteEventEntryRepository) CreateAthleteEventEntry ¶
func (repo PostgresAthleteEventEntryRepository) CreateAthleteEventEntry(entry *businesslogic.AthleteEventEntry) error
func (PostgresAthleteEventEntryRepository) DeleteAthleteEventEntry ¶
func (repo PostgresAthleteEventEntryRepository) DeleteAthleteEventEntry(entry businesslogic.AthleteEventEntry) error
func (PostgresAthleteEventEntryRepository) SearchAthleteEventEntry ¶
func (repo PostgresAthleteEventEntryRepository) SearchAthleteEventEntry(criteria businesslogic.SearchAthleteEventEntryCriteria) ([]businesslogic.AthleteEventEntry, error)
func (PostgresAthleteEventEntryRepository) UpdateAthleteEventEntry ¶
func (repo PostgresAthleteEventEntryRepository) UpdateAthleteEventEntry(entry businesslogic.AthleteEventEntry) error
type PostgresCompetitionLeadTagRepository ¶
type PostgresCompetitionLeadTagRepository struct { Database *sql.DB SQLBuilder squirrel.StatementBuilderType }
func (PostgresCompetitionLeadTagRepository) CreateCompetitionLeadTag ¶
func (repo PostgresCompetitionLeadTagRepository) CreateCompetitionLeadTag(tag *businesslogic.CompetitionLeadTag) error
CreateCompetitionLeadTag creates the provided tag in a Postgres database.
func (PostgresCompetitionLeadTagRepository) DeleteCompetitionLeadTag ¶
func (repo PostgresCompetitionLeadTagRepository) DeleteCompetitionLeadTag(tag businesslogic.CompetitionLeadTag) error
DeleteCompetitionLeadTag deletes the tag from a Postgres database by the ID of the tag
func (PostgresCompetitionLeadTagRepository) SearchCompetitionLeadTag ¶
func (repo PostgresCompetitionLeadTagRepository) SearchCompetitionLeadTag(criteria businesslogic.SearchCompetitionLeadTagCriteria) (businesslogic.CompetitionLeadTagCollection, error)
SearchCompetitionLeadTag searches lead tags that meet the requirement of the specified critieria in a Postgres database
func (PostgresCompetitionLeadTagRepository) UpdateCompetitionLeadTag ¶
func (repo PostgresCompetitionLeadTagRepository) UpdateCompetitionLeadTag(tag businesslogic.CompetitionLeadTag) error
UpdateCompetitionLeadTag updates the tag of the provided ID to the new tag property in Postgres database
type PostgresPartnershipCompetitionEntryRepository ¶
type PostgresPartnershipCompetitionEntryRepository struct { Database *sql.DB SQLBuilder squirrel.StatementBuilderType }
PostgresPartnershipCompetitionEntryRepository implements a IPartnershipCompetitionEntryRepository with Postgres database
func (PostgresPartnershipCompetitionEntryRepository) CreateEntry ¶
func (repo PostgresPartnershipCompetitionEntryRepository) CreateEntry(entry *businesslogic.PartnershipCompetitionEntry) error
CreateEntry creates a PartnershipCompetitionEntry in a Postgres database
func (PostgresPartnershipCompetitionEntryRepository) DeleteEntry ¶
func (repo PostgresPartnershipCompetitionEntryRepository) DeleteEntry(entry businesslogic.PartnershipCompetitionEntry) error
DeleteEntry deletes a PartnershipCompetitionEntry from a Postgres database
func (PostgresPartnershipCompetitionEntryRepository) SearchEntry ¶
func (repo PostgresPartnershipCompetitionEntryRepository) SearchEntry(criteria businesslogic.SearchPartnershipCompetitionEntryCriteria) ([]businesslogic.PartnershipCompetitionEntry, error)
SearchEntry searches PartnershipCompetitionEntry in a Postgres database
func (PostgresPartnershipCompetitionEntryRepository) UpdateEntry ¶
func (repo PostgresPartnershipCompetitionEntryRepository) UpdateEntry(entry businesslogic.PartnershipCompetitionEntry) error
UpdateEntry updates a PartnershipCompetitionEntry in a Postgres database
type PostgresPartnershipCompetitionRepresentationRepository ¶
type PostgresPartnershipCompetitionRepresentationRepository struct { Database *sql.DB SQLBuilder squirrel.StatementBuilderType }
PostgresPartnershipCompetitionRepresentationRepository implements IPartnershipCompetitionRepresentationRepository with a Postgres database
func (PostgresPartnershipCompetitionRepresentationRepository) CreateCompetitionRepresentation ¶
func (repo PostgresPartnershipCompetitionRepresentationRepository) CreateCompetitionRepresentation()
CreateCompetitionRepresentation creates a PartnershipCompetitionRepresentation in a Postgres database
func (PostgresPartnershipCompetitionRepresentationRepository) SearchCompetitionRepresentation ¶
func (repo PostgresPartnershipCompetitionRepresentationRepository) SearchCompetitionRepresentation()
SearchCompetitionRepresentation searches PartnershipCompetitionRepresentation in a Postgres database
type PostgresPartnershipEventEntryRepository ¶
type PostgresPartnershipEventEntryRepository struct { Database *sql.DB SQLBuilder squirrel.StatementBuilderType }
PostgresPartnershipEventEntryRepository is a Postgres-based implementation of IPartnershipEventEntryRepository
func (PostgresPartnershipEventEntryRepository) CreatePartnershipEventEntry ¶
func (repo PostgresPartnershipEventEntryRepository) CreatePartnershipEventEntry(entry *businesslogic.PartnershipEventEntry) error
CreatePartnershipEventEntry creates a Partnership Event Entry in a Postgres database
func (PostgresPartnershipEventEntryRepository) DeletePartnershipEventEntry ¶
func (repo PostgresPartnershipEventEntryRepository) DeletePartnershipEventEntry(entry businesslogic.PartnershipEventEntry) error
DeletePartnershipEventEntry deletes a Partnership Event Entry from a Postgres database
func (PostgresPartnershipEventEntryRepository) SearchPartnershipEventEntry ¶
func (repo PostgresPartnershipEventEntryRepository) SearchPartnershipEventEntry(criteria businesslogic.SearchPartnershipEventEntryCriteria) ([]businesslogic.PartnershipEventEntry, error)
SearchPartnershipEventEntry returns CompetitiveBallroomEventEntry, which is supposed to be used by competitor only
func (PostgresPartnershipEventEntryRepository) UpdatePartnershipEventEntry ¶
func (repo PostgresPartnershipEventEntryRepository) UpdatePartnershipEventEntry(entry businesslogic.PartnershipEventEntry) error
UpdatePartnershipEventEntry makes changes to a Partnership Event Entry in a Postgres database
type PostgresPartnershipRoundEntryRepository ¶
type PostgresPartnershipRoundEntryRepository struct { Database *sql.DB SQLBuilder squirrel.StatementBuilderType }
PostgresPartnershipRoundEntryRepository implements the IPartnershipRoundEntryRepository with a Postgres database
func (PostgresPartnershipRoundEntryRepository) CreatePartnershipRoundEntry ¶
func (repo PostgresPartnershipRoundEntryRepository) CreatePartnershipRoundEntry(entry *businesslogic.PartnershipRoundEntry) error
CreatePartnershipRoundEntry creates a PartnershipRoundEntry in a Postgres database
func (PostgresPartnershipRoundEntryRepository) DeletePartnershipRoundEntry ¶
func (repo PostgresPartnershipRoundEntryRepository) DeletePartnershipRoundEntry(entry businesslogic.PartnershipRoundEntry) error
DeletePartnershipRoundEntry deletes a PartnershipRoundEntry from a Postgres database
func (PostgresPartnershipRoundEntryRepository) SearchPartnershipRoundEntry ¶
func (repo PostgresPartnershipRoundEntryRepository) SearchPartnershipRoundEntry(criteria businesslogic.SearchPartnershipRoundEntryCriteria) ([]businesslogic.PartnershipRoundEntry, error)
SearchPartnershipRoundEntry searches PartnershipRoundEntry in a Postgres database
func (PostgresPartnershipRoundEntryRepository) UpdatePartnershipRoundEntry ¶
func (repo PostgresPartnershipRoundEntryRepository) UpdatePartnershipRoundEntry(entry businesslogic.PartnershipRoundEntry) error
UpdatePartnershipRoundEntry updates a PartnershipRoundEntry in a Postgres database