entrydal

package
v0.0.0-...-99b79bc Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2019 License: MIT Imports: 13 Imported by: 0

Documentation

Index

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

CreateEntry creates an AdjudicatorCompetitionEntry in a Postgres database

func (PostgresAdjudicatorCompetitionEntryRepository) DeleteEntry

DeleteEntry deletes an AdjudicatorCompetitionEntry from a Postgres database

func (PostgresAdjudicatorCompetitionEntryRepository) SearchEntry

SearchEntry searches AdjudicatorCompetitionEntry in a Postgres database

func (PostgresAdjudicatorCompetitionEntryRepository) UpdateEntry

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

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

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

CreateEntry creates an AthleteCompetitionEntry in a Postgres database

func (PostgresAthleteCompetitionEntryRepository) DeleteEntry

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

SearchEntry searches AthleteCompetitionEntry in a Postgres database

func (PostgresAthleteCompetitionEntryRepository) UpdateEntry

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 (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

DeleteCompetitionLeadTag deletes the tag from a Postgres database by the ID of the tag

func (PostgresCompetitionLeadTagRepository) SearchCompetitionLeadTag

SearchCompetitionLeadTag searches lead tags that meet the requirement of the specified critieria in a Postgres database

func (PostgresCompetitionLeadTagRepository) UpdateCompetitionLeadTag

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

CreateEntry creates a PartnershipCompetitionEntry in a Postgres database

func (PostgresPartnershipCompetitionEntryRepository) DeleteEntry

DeleteEntry deletes a PartnershipCompetitionEntry from a Postgres database

func (PostgresPartnershipCompetitionEntryRepository) SearchEntry

SearchEntry searches PartnershipCompetitionEntry in a Postgres database

func (PostgresPartnershipCompetitionEntryRepository) UpdateEntry

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

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

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

Jump to

Keyboard shortcuts

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