Documentation ¶
Index ¶
- type Auth
- type SmartServiceRepository
- func (this *SmartServiceRepository) GetInstanceUser(instanceId string) (userId string, err error)
- func (this *SmartServiceRepository) GetModule(userId string, moduleId string) (result model.SmartServiceModule, err error, code int)
- func (this *SmartServiceRepository) GetSmartServiceInstance(processInstanceId string) (result model.SmartServiceInstance, err error)
- func (this *SmartServiceRepository) GetVariables(processId string) (result map[string]interface{}, err error)
- func (this *SmartServiceRepository) ListExistingModules(processInstanceId string, query model.ModulQuery) (result []model.SmartServiceModule, err error)
- func (this *SmartServiceRepository) SendWorkerError(task model.CamundaExternalTask, errMsg error) error
- func (this *SmartServiceRepository) SendWorkerModule(module model.Module) (result model.SmartServiceModule, err error)
- func (this *SmartServiceRepository) SendWorkerModules(modules []model.Module) (result []model.SmartServiceModule, err error)
- func (this *SmartServiceRepository) SetVariables(processId string, variableChanges map[string]interface{}) (err error)
- func (this *SmartServiceRepository) UseModuleDeleteInfo(info model.ModuleDeleteInfo) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SmartServiceRepository ¶
type SmartServiceRepository struct {
// contains filtered or unexported fields
}
func New ¶
func New(config configuration.Config, auth Auth) *SmartServiceRepository
func (*SmartServiceRepository) GetInstanceUser ¶
func (this *SmartServiceRepository) GetInstanceUser(instanceId string) (userId string, err error)
func (*SmartServiceRepository) GetModule ¶
func (this *SmartServiceRepository) GetModule(userId string, moduleId string) (result model.SmartServiceModule, err error, code int)
func (*SmartServiceRepository) GetSmartServiceInstance ¶
func (this *SmartServiceRepository) GetSmartServiceInstance(processInstanceId string) (result model.SmartServiceInstance, err error)
func (*SmartServiceRepository) GetVariables ¶
func (this *SmartServiceRepository) GetVariables(processId string) (result map[string]interface{}, err error)
func (*SmartServiceRepository) ListExistingModules ¶
func (this *SmartServiceRepository) ListExistingModules(processInstanceId string, query model.ModulQuery) (result []model.SmartServiceModule, err error)
func (*SmartServiceRepository) SendWorkerError ¶
func (this *SmartServiceRepository) SendWorkerError(task model.CamundaExternalTask, errMsg error) error
func (*SmartServiceRepository) SendWorkerModule ¶
func (this *SmartServiceRepository) SendWorkerModule(module model.Module) (result model.SmartServiceModule, err error)
func (*SmartServiceRepository) SendWorkerModules ¶
func (this *SmartServiceRepository) SendWorkerModules(modules []model.Module) (result []model.SmartServiceModule, err error)
func (*SmartServiceRepository) SetVariables ¶
func (this *SmartServiceRepository) SetVariables(processId string, variableChanges map[string]interface{}) (err error)
func (*SmartServiceRepository) UseModuleDeleteInfo ¶
func (this *SmartServiceRepository) UseModuleDeleteInfo(info model.ModuleDeleteInfo) error
Click to show internal directories.
Click to hide internal directories.