public class ProcessesImpl extends WorkflowRestImpl implements Processes
activitiProcessEngine, authorityService, BPM_PACKAGE, deployWorkflowsInTenant, dictionaryService, excludeModelTypes, namespaceService, nodeService, tenantService
Constructor and Description |
---|
ProcessesImpl() |
createItemForNodeRef, createItemInProcess, deleteItemFromProcess, getFormModelElements, getItemFromProcess, getItemsFromProcess, getNodeRef, getParameter, getTypesToExclude, setActivitiProcessEngine, setActivitiWorkflowEngine, setAuthorityService, setDeployWorkflowsInTenant, setDictionaryService, setNamespaceService, setNodeService, setTenantService, validateIfUserAllowedToWorkWithProcess
protected static String PROCESS_STATUS_ANY
protected static String PROCESS_STATUS_ACTIVE
protected static String PROCESS_STATUS_COMPLETED
protected static String PROCESS_STATUS_DELETED
protected static final Set<String> PROCESS_COLLECTION_EQUALS_QUERY_PROPERTIES
protected static final Set<String> PROCESS_COLLECTION_GREATERTHAN_QUERY_PROPERTIES
protected static final Set<String> PROCESS_COLLECTION_LESSTHAN_QUERY_PROPERTIES
protected static final Set<String> PROCESS_COLLECTION_SORT_PROPERTIES
protected WorkflowPackageImpl workflowPackageComponent
protected ServiceRegistry serviceRegistry
protected AuthorityDAO authorityDAO
protected PersonService personService
protected MessageService messageService
protected String engineId
protected Repository repositoryHelper
protected RestVariableHelper restVariableHelper
protected ActivitiNodeConverter nodeConverter
protected ActivitiUtil activitiUtil
protected DefaultWorkflowPropertyHandler defaultPropertyHandler
protected WorkflowQNameConverter qNameConverter
protected org.alfresco.service.namespace.QName defaultStartTaskType
protected WorkflowObjectFactory workflowFactory
protected WorkflowPropertyHandlerRegistry handlerRegistry
protected WorkflowAuthorityManager authorityManager
protected ActivitiPropertyConverter propertyConverter
public void setAuthorityDAO(AuthorityDAO authorityDAO)
public void setServiceRegistry(ServiceRegistry serviceRegistry)
public void setWorkflowPackageComponent(WorkflowPackageImpl workflowPackageComponent)
public void setPersonService(PersonService personService)
public void setRepositoryHelper(Repository repositoryHelper)
public void setMessageService(MessageService messageService)
public void setEngineId(String engineId)
public void setRestVariableHelper(RestVariableHelper restVariableHelper)
protected ActivitiNodeConverter getNodeConverter()
protected DefaultWorkflowPropertyHandler getDefaultPropertyHandler()
protected ActivitiUtil getActivitiUtil()
protected WorkflowQNameConverter getQNameConverter()
protected WorkflowObjectFactory getWorkflowFactory()
protected WorkflowPropertyHandlerRegistry getHandlerRegistry()
protected WorkflowAuthorityManager getAuthorityManager()
protected ActivitiPropertyConverter getPropertyConverter()
public CollectionWithPagingInfo<ProcessInfo> getProcesses(Parameters parameters)
getProcesses
in interface Processes
public ProcessInfo getProcess(String processId)
getProcess
in interface Processes
public ProcessInfo create(ProcessInfo process)
public void deleteProcess(String id)
deleteProcess
in interface Processes
public CollectionWithPagingInfo<Item> getItems(String processId, Paging paging)
public Item createItem(String processId, Item item)
createItem
in interface Processes
public void deleteItem(String processId, String itemId)
deleteItem
in interface Processes
public CollectionWithPagingInfo<Variable> getVariables(String processId, Paging paging)
getVariables
in interface Processes
public Variable updateVariable(String processId, Variable variable)
updateVariable
in interface Processes
public List<Variable> updateVariables(String processId, List<Variable> variables)
updateVariables
in interface Processes
protected Variable updateVariableInProcess(String processId, String processDefinitionId, Variable variable)
public void deleteVariable(String processId, String variableName)
deleteVariable
in interface Processes
public BinaryResource getProcessImage(String processId)
getProcessImage
in interface Processes
protected Object convertAssociationDefinitionValue(org.alfresco.service.cmr.dictionary.AssociationDefinition associationDef, String variableName, Object variableValue)
protected org.alfresco.service.cmr.repository.NodeRef getPersonNodeRef(String name)
protected ProcessInfo createProcessInfo(org.activiti.engine.history.HistoricProcessInstance processInstance)
Copyright © 2005–2017 Alfresco Software. All rights reserved.