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, setAuthorityService, setDeployWorkflowsInTenant, setDictionaryService, setNamespaceService, setNodeService, setTenantService, validateIfUserAllowedToWorkWithProcessprotected 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
protected ActivitiTypeConverter typeConverter
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()
protected ActivitiTypeConverter getTypeConverter()
public CollectionWithPagingInfo<ProcessInfo> getProcesses(Parameters parameters)
getProcesses in interface Processespublic ProcessInfo getProcess(String processId)
getProcess in interface Processespublic ProcessInfo create(ProcessInfo process)
public void deleteProcess(String id)
deleteProcess in interface Processespublic CollectionWithPagingInfo<Item> getItems(String processId, Paging paging)
public Item createItem(String processId, Item item)
createItem in interface Processespublic void deleteItem(String processId, String itemId)
deleteItem in interface Processespublic CollectionWithPagingInfo<Variable> getVariables(String processId, Paging paging)
getVariables in interface Processespublic Variable updateVariable(String processId, Variable variable)
updateVariable in interface Processespublic List<Variable> updateVariables(String processId, List<Variable> variables)
updateVariables in interface Processesprotected Variable updateVariableInProcess(String processId, String processDefinitionId, Variable variable)
public void deleteVariable(String processId, String variableName)
deleteVariable in interface Processespublic BinaryResource getProcessImage(String processId)
getProcessImage in interface Processesprotected Object convertAssociationDefinitionValue(org.alfresco.service.cmr.dictionary.AssociationDefinition associationDef, String variableName, Object variableValue)
protected ProcessInfo createProcessInfo(org.activiti.engine.history.HistoricProcessInstance processInstance)
Copyright © 2005–2014 Alfresco Software. All rights reserved.