public class ProcessesImpl extends WorkflowRestImpl implements Processes
Modifier and Type | Field and Description |
---|---|
protected org.alfresco.repo.workflow.activiti.ActivitiUtil |
activitiUtil |
protected org.alfresco.repo.security.authority.AuthorityDAO |
authorityDAO |
protected org.alfresco.repo.workflow.WorkflowAuthorityManager |
authorityManager |
protected org.alfresco.repo.workflow.DefaultWorkflowPropertyHandler |
defaultPropertyHandler |
protected org.alfresco.service.namespace.QName |
defaultStartTaskType |
protected String |
engineId |
protected org.alfresco.repo.workflow.WorkflowPropertyHandlerRegistry |
handlerRegistry |
protected org.alfresco.repo.i18n.MessageService |
messageService |
protected org.alfresco.repo.workflow.activiti.ActivitiNodeConverter |
nodeConverter |
protected org.alfresco.service.cmr.security.PersonService |
personService |
protected static Set<String> |
PROCESS_COLLECTION_EQUALS_QUERY_PROPERTIES |
protected static Set<String> |
PROCESS_COLLECTION_GREATERTHAN_QUERY_PROPERTIES |
protected static Set<String> |
PROCESS_COLLECTION_LESSTHAN_QUERY_PROPERTIES |
protected static Set<String> |
PROCESS_COLLECTION_SORT_PROPERTIES |
protected static String |
PROCESS_STATUS_ACTIVE |
protected static String |
PROCESS_STATUS_ANY |
protected static String |
PROCESS_STATUS_COMPLETED |
protected static String |
PROCESS_STATUS_DELETED |
protected static Set<String> |
PROCESS_STATUS_LIST |
protected org.alfresco.repo.workflow.activiti.properties.ActivitiPropertyConverter |
propertyConverter |
protected org.alfresco.repo.workflow.WorkflowQNameConverter |
qNameConverter |
protected org.alfresco.repo.model.Repository |
repositoryHelper |
protected RestVariableHelper |
restVariableHelper |
protected org.alfresco.service.ServiceRegistry |
serviceRegistry |
protected org.alfresco.repo.workflow.WorkflowObjectFactory |
workflowFactory |
protected org.alfresco.repo.workflow.WorkflowPackageImpl |
workflowPackageComponent |
activitiProcessEngine, authorityService, BPM_PACKAGE, deployWorkflowsInTenant, dictionaryService, excludeModelTypes, namespaceService, nodeService, tenantService
Constructor and Description |
---|
ProcessesImpl() |
Modifier and Type | Method and Description |
---|---|
protected Object |
convertAssociationDefinitionValue(org.alfresco.service.cmr.dictionary.AssociationDefinition associationDef,
String variableName,
Object variableValue) |
ProcessInfo |
create(ProcessInfo process) |
Item |
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 org.alfresco.repo.workflow.activiti.ActivitiUtil |
getActivitiUtil() |
protected org.alfresco.repo.workflow.WorkflowAuthorityManager |
getAuthorityManager() |
protected org.alfresco.repo.workflow.DefaultWorkflowPropertyHandler |
getDefaultPropertyHandler() |
protected org.alfresco.repo.workflow.WorkflowPropertyHandlerRegistry |
getHandlerRegistry() |
Item |
getItem(String processId,
String itemId) |
CollectionWithPagingInfo<Item> |
getItems(String processId,
Paging paging) |
protected String |
getLocalProcessDefinitionKey(String key) |
protected org.alfresco.repo.workflow.activiti.ActivitiNodeConverter |
getNodeConverter() |
protected org.alfresco.service.cmr.repository.NodeRef |
getPersonNodeRef(String name) |
ProcessInfo |
getProcess(String processId) |
protected String |
getProcessDefinitionKey(String paramProcessDefinitionKey) |
CollectionWithPagingInfo<ProcessInfo> |
getProcesses(Parameters parameters) |
BinaryResource |
getProcessImage(String processId) |
protected org.alfresco.repo.workflow.activiti.properties.ActivitiPropertyConverter |
getPropertyConverter() |
protected org.alfresco.repo.workflow.WorkflowQNameConverter |
getQNameConverter() |
CollectionWithPagingInfo<Variable> |
getVariables(String processId,
Paging paging) |
protected org.alfresco.repo.workflow.WorkflowObjectFactory |
getWorkflowFactory() |
void |
setAuthorityDAO(org.alfresco.repo.security.authority.AuthorityDAO authorityDAO) |
void |
setEngineId(String engineId) |
void |
setMessageService(org.alfresco.repo.i18n.MessageService messageService) |
void |
setPersonService(org.alfresco.service.cmr.security.PersonService personService) |
void |
setRepositoryHelper(org.alfresco.repo.model.Repository repositoryHelper) |
void |
setRestVariableHelper(RestVariableHelper restVariableHelper) |
void |
setServiceRegistry(org.alfresco.service.ServiceRegistry serviceRegistry) |
void |
setWorkflowPackageComponent(org.alfresco.repo.workflow.WorkflowPackageImpl workflowPackageComponent) |
Variable |
updateVariable(String processId,
Variable variable) |
protected Variable |
updateVariableInProcess(String processId,
String processDefinitionId,
Variable variable) |
List<Variable> |
updateVariables(String processId,
List<Variable> variables) |
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 org.alfresco.repo.workflow.WorkflowPackageImpl workflowPackageComponent
protected org.alfresco.service.ServiceRegistry serviceRegistry
protected org.alfresco.repo.security.authority.AuthorityDAO authorityDAO
protected org.alfresco.service.cmr.security.PersonService personService
protected org.alfresco.repo.i18n.MessageService messageService
protected String engineId
protected org.alfresco.repo.model.Repository repositoryHelper
protected RestVariableHelper restVariableHelper
protected org.alfresco.repo.workflow.activiti.ActivitiNodeConverter nodeConverter
protected org.alfresco.repo.workflow.activiti.ActivitiUtil activitiUtil
protected org.alfresco.repo.workflow.DefaultWorkflowPropertyHandler defaultPropertyHandler
protected org.alfresco.repo.workflow.WorkflowQNameConverter qNameConverter
protected org.alfresco.service.namespace.QName defaultStartTaskType
protected org.alfresco.repo.workflow.WorkflowObjectFactory workflowFactory
protected org.alfresco.repo.workflow.WorkflowPropertyHandlerRegistry handlerRegistry
protected org.alfresco.repo.workflow.WorkflowAuthorityManager authorityManager
protected org.alfresco.repo.workflow.activiti.properties.ActivitiPropertyConverter propertyConverter
public void setAuthorityDAO(org.alfresco.repo.security.authority.AuthorityDAO authorityDAO)
public void setServiceRegistry(org.alfresco.service.ServiceRegistry serviceRegistry)
public void setWorkflowPackageComponent(org.alfresco.repo.workflow.WorkflowPackageImpl workflowPackageComponent)
public void setPersonService(org.alfresco.service.cmr.security.PersonService personService)
public void setRepositoryHelper(org.alfresco.repo.model.Repository repositoryHelper)
public void setMessageService(org.alfresco.repo.i18n.MessageService messageService)
public void setEngineId(String engineId)
public void setRestVariableHelper(RestVariableHelper restVariableHelper)
protected org.alfresco.repo.workflow.activiti.ActivitiNodeConverter getNodeConverter()
protected org.alfresco.repo.workflow.DefaultWorkflowPropertyHandler getDefaultPropertyHandler()
protected org.alfresco.repo.workflow.activiti.ActivitiUtil getActivitiUtil()
protected org.alfresco.repo.workflow.WorkflowQNameConverter getQNameConverter()
protected org.alfresco.repo.workflow.WorkflowObjectFactory getWorkflowFactory()
protected org.alfresco.repo.workflow.WorkflowPropertyHandlerRegistry getHandlerRegistry()
protected org.alfresco.repo.workflow.WorkflowAuthorityManager getAuthorityManager()
protected org.alfresco.repo.workflow.activiti.properties.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.