smartservicerepository

package
v0.0.0-...-f5406f0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth interface {
	Ensure() (token auth.Token, err error)
	ExchangeUserToken(userid string) (token auth.Token, err error)
}

type SmartServiceRepository

type SmartServiceRepository struct {
	// contains filtered or unexported fields
}

func New

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL