Documentation ¶
Index ¶
- type NationalOccupationalClassificationController
- type NationalOccupationalClassificationControllerImpl
- func (c *NationalOccupationalClassificationControllerImpl) GetByID(ctx context.Context, id primitive.ObjectID) (*noc_s.NationalOccupationalClassification, error)
- func (c *NationalOccupationalClassificationControllerImpl) ListAndCountByFilter(ctx context.Context, ...) (*t_s.NationalOccupationalClassificationPaginationListAndCountResult, error)
- func (c *NationalOccupationalClassificationControllerImpl) ListAsSelectOptionByFilter(ctx context.Context, ...) ([]*noc_s.NationalOccupationalClassificationAsSelectOption, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NationalOccupationalClassificationController ¶
type NationalOccupationalClassificationController interface { GetByID(ctx context.Context, id primitive.ObjectID) (*noc_s.NationalOccupationalClassification, error) ListAndCountByFilter(ctx context.Context, f *noc_s.NationalOccupationalClassificationPaginationListFilter) (*noc_s.NationalOccupationalClassificationPaginationListAndCountResult, error) ListAsSelectOptionByFilter(ctx context.Context, f *noc_s.NationalOccupationalClassificationPaginationListFilter) ([]*noc_s.NationalOccupationalClassificationAsSelectOption, error) }
NationalOccupationalClassificationController Interface for noc business logic controller.
func NewController ¶
func NewController( appCfg *config.Conf, loggerp *slog.Logger, uuidp uuid.Provider, kmux kmutex.Provider, s3 s3_storage.S3Storager, passwordp password.Provider, client *mongo.Client, temailer templatedemailer.TemplatedEmailer, usr_storer user_s.UserStorer, c_storer c_s.CustomerStorer, a_storer a_s.AssociateStorer, s_storer s_s.StaffStorer, o_storer o_s.OrderStorer, ti_storer ti_s.TaskItemStorer, noc_s noc_s.NationalOccupationalClassificationStorer, ) NationalOccupationalClassificationController
type NationalOccupationalClassificationControllerImpl ¶
type NationalOccupationalClassificationControllerImpl struct { Config *config.Conf Logger *slog.Logger UUID uuid.Provider S3 s3_storage.S3Storager Password password.Provider Kmutex kmutex.Provider DbClient *mongo.Client UserStorer user_s.UserStorer CustomerStorer c_s.CustomerStorer AssociateStorer a_s.AssociateStorer StaffStorer s_s.StaffStorer OrderStorer o_s.OrderStorer TaskItemStorer ti_s.TaskItemStorer NationalOccupationalClassificationStorer noc_s.NationalOccupationalClassificationStorer TemplatedEmailer templatedemailer.TemplatedEmailer }
func (*NationalOccupationalClassificationControllerImpl) GetByID ¶
func (c *NationalOccupationalClassificationControllerImpl) GetByID(ctx context.Context, id primitive.ObjectID) (*noc_s.NationalOccupationalClassification, error)
func (*NationalOccupationalClassificationControllerImpl) ListAndCountByFilter ¶
func (c *NationalOccupationalClassificationControllerImpl) ListAndCountByFilter(ctx context.Context, f *t_s.NationalOccupationalClassificationPaginationListFilter) (*t_s.NationalOccupationalClassificationPaginationListAndCountResult, error)
func (*NationalOccupationalClassificationControllerImpl) ListAsSelectOptionByFilter ¶
func (c *NationalOccupationalClassificationControllerImpl) ListAsSelectOptionByFilter(ctx context.Context, f *noc_s.NationalOccupationalClassificationPaginationListFilter) ([]*noc_s.NationalOccupationalClassificationAsSelectOption, error)
Click to show internal directories.
Click to hide internal directories.