camunda

package
v1.0.12 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AccessDenied = errors.New("access denied")
View Source
var CamundaDeploymentUnknown = errors.New("deployment unknown in camunda")
View Source
var UnknownVid = errors.New("unknown vid")

Functions

func CreateBlankProcess

func CreateBlankProcess() string

func CreateBlankSvg

func CreateBlankSvg() string

Types

type Camunda

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

func New

func New(config configuration.Config, shards shards.Shards) *Camunda

func (*Camunda) CheckDeploymentAccess

func (this *Camunda) CheckDeploymentAccess(id string, userId string) (err error)

func (*Camunda) CheckHistoryAccess

func (this *Camunda) CheckHistoryAccess(id string, userId string) (definitionId string, err error)

func (*Camunda) CheckProcessDefinitionAccess

func (this *Camunda) CheckProcessDefinitionAccess(id string, userId string) (err error)

func (*Camunda) CheckProcessInstanceAccess

func (this *Camunda) CheckProcessInstanceAccess(id string, userId string) (err error)

func (*Camunda) DeployProcess

func (this *Camunda) DeployProcess(name string, xml string, svg string, owner string, source string) (deploymentId string, err error)

returns original deploymentId (not vid)

func (*Camunda) GetDefinitionByDeploymentVid

func (this *Camunda) GetDefinitionByDeploymentVid(id string, userId string) (result model.ProcessDefinitions, err error)

func (*Camunda) GetDeployment

func (this *Camunda) GetDeployment(deploymentId string, userId string) (result model.Deployment, err error)

func (*Camunda) GetDeploymentCountByShard

func (this *Camunda) GetDeploymentCountByShard(deploymentId string, shard string) (result model.Count, err error)

func (*Camunda) GetDeploymentList

func (this *Camunda) GetDeploymentList(userId string, params url.Values) (result model.Deployments, err error)

func (*Camunda) GetExtendedDeployment

func (this *Camunda) GetExtendedDeployment(deployment model.Deployment, userId string) (result model.ExtendedDeployment, err error)

func (*Camunda) GetExtendedDeploymentList

func (this *Camunda) GetExtendedDeploymentList(userId string, params url.Values) (result []model.ExtendedDeployment, err error)

func (*Camunda) GetFilteredProcessInstanceHistoryList

func (this *Camunda) GetFilteredProcessInstanceHistoryList(userId string, query url.Values) (result model.HistoricProcessInstances, err error)

func (*Camunda) GetProcessDefinition

func (this *Camunda) GetProcessDefinition(id string, userId string) (result model.ProcessDefinition, err error)

func (*Camunda) GetProcessDefinitionDiagram

func (this *Camunda) GetProcessDefinitionDiagram(id string, userId string) (resp *http.Response, err error)

func (*Camunda) GetProcessDefinitionList

func (this *Camunda) GetProcessDefinitionList(userId string) (result model.ProcessDefinitions, err error)

func (*Camunda) GetProcessInstanceCount

func (this *Camunda) GetProcessInstanceCount(userId string) (result model.Count, err error)

func (*Camunda) GetProcessInstanceHistoryByProcessDefinition

func (this *Camunda) GetProcessInstanceHistoryByProcessDefinition(id string, userId string) (result model.HistoricProcessInstances, err error)

func (*Camunda) GetProcessInstanceHistoryByProcessDefinitionFinished

func (this *Camunda) GetProcessInstanceHistoryByProcessDefinitionFinished(id string, userId string) (result model.HistoricProcessInstances, err error)

func (*Camunda) GetProcessInstanceHistoryByProcessDefinitionUnfinished

func (this *Camunda) GetProcessInstanceHistoryByProcessDefinitionUnfinished(id string, userId string) (result model.HistoricProcessInstances, err error)

func (*Camunda) GetProcessInstanceHistoryList

func (this *Camunda) GetProcessInstanceHistoryList(userId string) (result model.HistoricProcessInstances, err error)

func (*Camunda) GetProcessInstanceHistoryListFinished

func (this *Camunda) GetProcessInstanceHistoryListFinished(userId string) (result model.HistoricProcessInstances, err error)

func (*Camunda) GetProcessInstanceHistoryListUnfinished

func (this *Camunda) GetProcessInstanceHistoryListUnfinished(userId string) (result model.HistoricProcessInstances, err error)

func (*Camunda) GetProcessInstanceHistoryListWithTotal

func (this *Camunda) GetProcessInstanceHistoryListWithTotal(userId string, searchtype string, searchvalue string, limit string, offset string, sortby string, sortdirection string, finished bool) (result model.HistoricProcessInstancesWithTotal, err error)

func (*Camunda) GetProcessInstanceList

func (this *Camunda) GetProcessInstanceList(userId string) (result model.ProcessInstances, err error)

func (*Camunda) GetProcessParameters

func (this *Camunda) GetProcessParameters(processDefinitionId string, userId string) (result map[string]model.Variable, err error)

func (*Camunda) GetRawDefinitionsByDeployment

func (this *Camunda) GetRawDefinitionsByDeployment(deploymentId string, userId string) (result model.ProcessDefinitions, err error)

func (*Camunda) RemoveProcess

func (this *Camunda) RemoveProcess(deploymentId string, userId string) (err error)

uses original deploymentId (not vid)

func (*Camunda) RemoveProcessForShard

func (this *Camunda) RemoveProcessForShard(deploymentId string, shard string) (err error)

func (*Camunda) RemoveProcessFromAllShards

func (this *Camunda) RemoveProcessFromAllShards(deploymentId string) (err error)

func (*Camunda) RemoveProcessInstance

func (this *Camunda) RemoveProcessInstance(id string, userId string) (err error)

func (*Camunda) RemoveProcessInstanceHistory

func (this *Camunda) RemoveProcessInstanceHistory(id string, userId string) (err error)

func (*Camunda) StartProcess

func (this *Camunda) StartProcess(processDefinitionId string, userId string, parameter map[string]interface{}) (err error)

func (*Camunda) StartProcessGetId

func (this *Camunda) StartProcessGetId(processDefinitionId string, userId string, parameter map[string]interface{}) (result model.ProcessInstance, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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