Documentation ¶
Index ¶
- type EntitiesCommandSet
- type EntitiesController
- func (c *EntitiesController) Configure(config *cconf.ConfigParams)
- func (c *EntitiesController) CreateEntity(correlationId string, entity *data1.EntityV1) (*data1.EntityV1, error)
- func (c *EntitiesController) DeleteEntityById(correlationId string, entityId string) (*data1.EntityV1, error)
- func (c *EntitiesController) GetCommandSet() *ccomand.CommandSet
- func (c *EntitiesController) GetEntities(correlationId string, filter *cdata.FilterParams, paging *cdata.PagingParams) (*data1.EntityV1DataPage, error)
- func (c *EntitiesController) GetEntityById(correlationId string, entityId string) (*data1.EntityV1, error)
- func (c *EntitiesController) GetEntityByName(correlationId string, name string) (*data1.EntityV1, error)
- func (c *EntitiesController) SetReferences(references cref.IReferences)
- func (c *EntitiesController) UpdateEntity(correlationId string, entity *data1.EntityV1) (*data1.EntityV1, error)
- type IEntitiesController
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EntitiesCommandSet ¶
type EntitiesCommandSet struct { ccomand.CommandSet // contains filtered or unexported fields }
func NewEntitiesCommandSet ¶
func NewEntitiesCommandSet(controller IEntitiesController) *EntitiesCommandSet
type EntitiesController ¶
type EntitiesController struct {
// contains filtered or unexported fields
}
func NewEntitiesController ¶
func NewEntitiesController() *EntitiesController
func (*EntitiesController) Configure ¶
func (c *EntitiesController) Configure(config *cconf.ConfigParams)
func (*EntitiesController) CreateEntity ¶
func (*EntitiesController) DeleteEntityById ¶
func (*EntitiesController) GetCommandSet ¶
func (c *EntitiesController) GetCommandSet() *ccomand.CommandSet
func (*EntitiesController) GetEntities ¶
func (c *EntitiesController) GetEntities(correlationId string, filter *cdata.FilterParams, paging *cdata.PagingParams) (*data1.EntityV1DataPage, error)
func (*EntitiesController) GetEntityById ¶
func (*EntitiesController) GetEntityByName ¶
func (*EntitiesController) SetReferences ¶
func (c *EntitiesController) SetReferences(references cref.IReferences)
func (*EntitiesController) UpdateEntity ¶
type IEntitiesController ¶
type IEntitiesController interface { GetEntities(correlationId string, filter *cdata.FilterParams, paging *cdata.PagingParams) (page *data1.EntityV1DataPage, err error) GetEntityById(correlationId string, entityId string) (item *data1.EntityV1, err error) GetEntityByName(correlationId string, entityId string) (item *data1.EntityV1, err error) CreateEntity(correlationId string, entity *data1.EntityV1) (item *data1.EntityV1, err error) UpdateEntity(correlationId string, entity *data1.EntityV1) (item *data1.EntityV1, err error) DeleteEntityById(correlationId string, entityId string) (item *data1.EntityV1, err error) }
Click to show internal directories.
Click to hide internal directories.