Documentation ¶
Index ¶
- type Logic
- func (lgc *Logic) CreateProcessInstance(kit *rest.Kit, processData map[string]interface{}) (int64, errors.CCErrorCoder)
- func (lgc *Logic) DeleteProcessInstance(kit *rest.Kit, procID int64) errors.CCErrorCoder
- func (lgc *Logic) DeleteProcessInstanceBatch(kit *rest.Kit, procIDs []int64) errors.CCErrorCoder
- func (lgc *Logic) DiffWithProcessTemplate(t *metadata.ProcessProperty, i *metadata.Process, host map[string]interface{}, ...) []metadata.ProcessChangedAttribute
- func (lgc *Logic) GetProcessInstanceWithID(kit *rest.Kit, procID int64) (*metadata.Process, errors.CCErrorCoder)
- func (lgc *Logic) ListProcessInstanceWithIDs(kit *rest.Kit, procIDs []int64) ([]metadata.Process, errors.CCErrorCoder)
- func (lgc *Logic) UpdateProcessInstance(kit *rest.Kit, procID int64, info mapstr.MapStr) errors.CCErrorCoder
- type Logics
- type ProcHostInstConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logic ¶
func (*Logic) CreateProcessInstance ¶
func (*Logic) DeleteProcessInstance ¶
func (*Logic) DeleteProcessInstanceBatch ¶
func (*Logic) DiffWithProcessTemplate ¶
func (lgc *Logic) DiffWithProcessTemplate(t *metadata.ProcessProperty, i *metadata.Process, host map[string]interface{}, attrMap map[string]metadata.Attribute) []metadata.ProcessChangedAttribute
it works to find the different attribute value between the process instance and it's bounded process template. return with the changed attribute's details.
func (*Logic) GetProcessInstanceWithID ¶
func (*Logic) ListProcessInstanceWithIDs ¶
func (*Logic) UpdateProcessInstance ¶
type Logics ¶
type Logics struct { *backbone.Engine ErrHandle errors.DefaultCCErrorIf // contains filtered or unexported fields }
func NewLogics ¶
func NewLogics(b *backbone.Engine, header http.Header, esbServ esbserver.EsbClientInterface, procHostInst *ProcHostInstConfig) *Logics
NewLogics get logic handle
Click to show internal directories.
Click to hide internal directories.