Documentation ¶
Index ¶
- type InsuranceRequirementController
- type InsuranceRequirementControllerImpl
- func (impl *InsuranceRequirementControllerImpl) ArchiveByID(ctx context.Context, id primitive.ObjectID) (*insurancerequirement_s.InsuranceRequirement, error)
- func (impl *InsuranceRequirementControllerImpl) Create(ctx context.Context, requestData *InsuranceRequirementCreateRequestIDO) (*insurancerequirement_s.InsuranceRequirement, error)
- func (impl *InsuranceRequirementControllerImpl) DeleteByID(ctx context.Context, id primitive.ObjectID) error
- func (c *InsuranceRequirementControllerImpl) GetByID(ctx context.Context, id primitive.ObjectID) (*insurancerequirement_s.InsuranceRequirement, error)
- func (c *InsuranceRequirementControllerImpl) ListAndCountByFilter(ctx context.Context, f *t_s.InsuranceRequirementPaginationListFilter) (*t_s.InsuranceRequirementPaginationListAndCountResult, error)
- func (c *InsuranceRequirementControllerImpl) ListAsSelectOptionByFilter(ctx context.Context, ...) ([]*insurancerequirement_s.InsuranceRequirementAsSelectOption, error)
- func (impl *InsuranceRequirementControllerImpl) UpdateByID(ctx context.Context, requestData *InsuranceRequirementUpdateRequestIDO) (*insurancerequirement_s.InsuranceRequirement, error)
- type InsuranceRequirementCreateRequestIDO
- type InsuranceRequirementUpdateRequestIDO
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InsuranceRequirementController ¶
type InsuranceRequirementController interface { Create(ctx context.Context, requestData *InsuranceRequirementCreateRequestIDO) (*insurancerequirement_s.InsuranceRequirement, error) GetByID(ctx context.Context, id primitive.ObjectID) (*insurancerequirement_s.InsuranceRequirement, error) UpdateByID(ctx context.Context, requestData *InsuranceRequirementUpdateRequestIDO) (*insurancerequirement_s.InsuranceRequirement, error) ListAndCountByFilter(ctx context.Context, f *insurancerequirement_s.InsuranceRequirementPaginationListFilter) (*insurancerequirement_s.InsuranceRequirementPaginationListAndCountResult, error) ListAsSelectOptionByFilter(ctx context.Context, f *insurancerequirement_s.InsuranceRequirementPaginationListFilter) ([]*insurancerequirement_s.InsuranceRequirementAsSelectOption, error) ArchiveByID(ctx context.Context, id primitive.ObjectID) (*insurancerequirement_s.InsuranceRequirement, error) DeleteByID(ctx context.Context, id primitive.ObjectID) error }
InsuranceRequirementController Interface for insurancerequirement business logic controller.
func NewController ¶
func NewController( appCfg *config.Conf, loggerp *slog.Logger, uuidp uuid.Provider, s3 s3_storage.S3Storager, kmux kmutex.Provider, passwordp password.Provider, temailer templatedemailer.TemplatedEmailer, client *mongo.Client, usr_storer user_s.UserStorer, a_ctorer a_c.AssociateStorer, o_storer o_s.OrderStorer, ti_storer ti_s.TaskItemStorer, insurancerequirement_s insurancerequirement_s.InsuranceRequirementStorer, ) InsuranceRequirementController
type InsuranceRequirementControllerImpl ¶
type InsuranceRequirementControllerImpl 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 AssociateStorer a_c.AssociateStorer OrderStorer o_s.OrderStorer TaskItemStorer ti_s.TaskItemStorer InsuranceRequirementStorer insurancerequirement_s.InsuranceRequirementStorer TemplatedEmailer templatedemailer.TemplatedEmailer }
func (*InsuranceRequirementControllerImpl) ArchiveByID ¶
func (impl *InsuranceRequirementControllerImpl) ArchiveByID(ctx context.Context, id primitive.ObjectID) (*insurancerequirement_s.InsuranceRequirement, error)
func (*InsuranceRequirementControllerImpl) Create ¶
func (impl *InsuranceRequirementControllerImpl) Create(ctx context.Context, requestData *InsuranceRequirementCreateRequestIDO) (*insurancerequirement_s.InsuranceRequirement, error)
func (*InsuranceRequirementControllerImpl) DeleteByID ¶
func (*InsuranceRequirementControllerImpl) GetByID ¶
func (c *InsuranceRequirementControllerImpl) GetByID(ctx context.Context, id primitive.ObjectID) (*insurancerequirement_s.InsuranceRequirement, error)
func (*InsuranceRequirementControllerImpl) ListAndCountByFilter ¶
func (c *InsuranceRequirementControllerImpl) ListAndCountByFilter(ctx context.Context, f *t_s.InsuranceRequirementPaginationListFilter) (*t_s.InsuranceRequirementPaginationListAndCountResult, error)
func (*InsuranceRequirementControllerImpl) ListAsSelectOptionByFilter ¶
func (c *InsuranceRequirementControllerImpl) ListAsSelectOptionByFilter(ctx context.Context, f *insurancerequirement_s.InsuranceRequirementPaginationListFilter) ([]*insurancerequirement_s.InsuranceRequirementAsSelectOption, error)
func (*InsuranceRequirementControllerImpl) UpdateByID ¶
func (impl *InsuranceRequirementControllerImpl) UpdateByID(ctx context.Context, requestData *InsuranceRequirementUpdateRequestIDO) (*insurancerequirement_s.InsuranceRequirement, error)
Click to show internal directories.
Click to hide internal directories.