Class ProcessesImpl
java.lang.Object
org.alfresco.rest.workflow.api.impl.WorkflowRestImpl
org.alfresco.rest.workflow.api.impl.ProcessesImpl
- All Implemented Interfaces:
Processes
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ActivitiUtil
protected AuthorityDAO
protected WorkflowAuthorityManager
protected DefaultWorkflowPropertyHandler
protected org.alfresco.service.namespace.QName
protected String
protected WorkflowPropertyHandlerRegistry
protected MessageService
protected ActivitiNodeConverter
protected PersonService
protected static String
protected static String
protected static String
protected static String
protected ActivitiPropertyConverter
protected WorkflowQNameConverter
protected Repository
protected RestVariableHelper
protected ServiceRegistry
protected WorkflowObjectFactory
protected WorkflowPackageImpl
Fields inherited from class org.alfresco.rest.workflow.api.impl.WorkflowRestImpl
activitiProcessEngine, authorityService, BPM_PACKAGE, deployWorkflowsInTenant, dictionaryService, excludeModelTypes, namespaceService, nodeService, tenantService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Object
convertAssociationDefinitionValue
(org.alfresco.service.cmr.dictionary.AssociationDefinition associationDef, String variableName, Object variableValue) create
(ProcessInfo process) createItem
(String processId, Item item) protected ProcessInfo
createProcessInfo
(org.activiti.engine.history.HistoricProcessInstance processInstance) void
deleteItem
(String processId, String itemId) void
deleteProcess
(String id) void
deleteVariable
(String processId, String variableName) protected ActivitiUtil
protected WorkflowAuthorityManager
protected DefaultWorkflowPropertyHandler
protected WorkflowPropertyHandlerRegistry
protected String
protected ActivitiNodeConverter
protected NodeRef
getPersonNodeRef
(String name) getProcess
(String processId) protected String
getProcessDefinitionKey
(String paramProcessDefinitionKey) getProcesses
(Parameters parameters) getProcessImage
(String processId) protected ActivitiPropertyConverter
protected WorkflowQNameConverter
getVariables
(String processId, Paging paging) protected WorkflowObjectFactory
void
setAuthorityDAO
(AuthorityDAO authorityDAO) void
setEngineId
(String engineId) void
setMessageService
(MessageService messageService) void
setPersonService
(PersonService personService) void
setRepositoryHelper
(Repository repositoryHelper) void
setRestVariableHelper
(RestVariableHelper restVariableHelper) void
setServiceRegistry
(ServiceRegistry serviceRegistry) void
setWorkflowPackageComponent
(WorkflowPackageImpl workflowPackageComponent) updateVariable
(String processId, Variable variable) protected Variable
updateVariableInProcess
(String processId, String processDefinitionId, Variable variable) updateVariables
(String processId, List<Variable> variables) Methods inherited from class org.alfresco.rest.workflow.api.impl.WorkflowRestImpl
createItemForNodeRef, createItemInProcess, deleteItemFromProcess, getFormModelElements, getItemFromProcess, getItemsFromProcess, getNodeRef, getParameter, getTypesToExclude, setActivitiProcessEngine, setActivitiWorkflowEngine, setAuthorityService, setDeployWorkflowsInTenant, setDictionaryService, setNamespaceService, setNodeService, setTenantService, validateIfUserAllowedToWorkWithProcess
-
Field Details
-
PROCESS_STATUS_ANY
-
PROCESS_STATUS_ACTIVE
-
PROCESS_STATUS_COMPLETED
-
PROCESS_STATUS_DELETED
-
PROCESS_STATUS_LIST
-
PROCESS_COLLECTION_EQUALS_QUERY_PROPERTIES
-
PROCESS_COLLECTION_GREATERTHAN_QUERY_PROPERTIES
-
PROCESS_COLLECTION_LESSTHAN_QUERY_PROPERTIES
-
PROCESS_COLLECTION_SORT_PROPERTIES
-
workflowPackageComponent
-
serviceRegistry
-
authorityDAO
-
personService
-
messageService
-
engineId
-
repositoryHelper
-
restVariableHelper
-
nodeConverter
-
activitiUtil
-
defaultPropertyHandler
-
qNameConverter
-
defaultStartTaskType
protected org.alfresco.service.namespace.QName defaultStartTaskType -
workflowFactory
-
handlerRegistry
-
authorityManager
-
propertyConverter
-
-
Constructor Details
-
ProcessesImpl
public ProcessesImpl()
-
-
Method Details
-
setAuthorityDAO
-
setServiceRegistry
-
setWorkflowPackageComponent
-
setPersonService
-
setRepositoryHelper
-
setMessageService
-
setEngineId
-
setRestVariableHelper
-
getNodeConverter
-
getDefaultPropertyHandler
-
getActivitiUtil
-
getQNameConverter
-
getWorkflowFactory
-
getHandlerRegistry
-
getAuthorityManager
-
getPropertyConverter
-
getProcesses
- Specified by:
getProcesses
in interfaceProcesses
-
getProcess
- Specified by:
getProcess
in interfaceProcesses
-
create
-
deleteProcess
- Specified by:
deleteProcess
in interfaceProcesses
-
getItems
-
getItem
-
createItem
- Specified by:
createItem
in interfaceProcesses
-
deleteItem
- Specified by:
deleteItem
in interfaceProcesses
-
getVariables
- Specified by:
getVariables
in interfaceProcesses
-
updateVariable
- Specified by:
updateVariable
in interfaceProcesses
-
updateVariables
- Specified by:
updateVariables
in interfaceProcesses
-
updateVariableInProcess
-
deleteVariable
- Specified by:
deleteVariable
in interfaceProcesses
-
getProcessImage
- Specified by:
getProcessImage
in interfaceProcesses
-
convertAssociationDefinitionValue
-
getProcessDefinitionKey
-
getLocalProcessDefinitionKey
-
getPersonNodeRef
-
createProcessInfo
protected ProcessInfo createProcessInfo(org.activiti.engine.history.HistoricProcessInstance processInstance)
-