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 java.lang.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 java.util.Set |
PROCESS_COLLECTION_EQUALS_QUERY_PROPERTIES |
protected static java.util.Set |
PROCESS_COLLECTION_GREATERTHAN_QUERY_PROPERTIES |
protected static java.util.Set |
PROCESS_COLLECTION_LESSTHAN_QUERY_PROPERTIES |
protected static java.util.Set |
PROCESS_COLLECTION_SORT_PROPERTIES |
protected static java.lang.String |
PROCESS_STATUS_ACTIVE |
protected static java.lang.String |
PROCESS_STATUS_ANY |
protected static java.lang.String |
PROCESS_STATUS_COMPLETED |
protected static java.lang.String |
PROCESS_STATUS_DELETED |
protected static java.util.Set |
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.activiti.ActivitiTypeConverter |
typeConverter |
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 java.lang.Object |
convertAssociationDefinitionValue(org.alfresco.service.cmr.dictionary.AssociationDefinition associationDef,
java.lang.String variableName,
java.lang.Object variableValue) |
ProcessInfo |
create(ProcessInfo process) |
Item |
createItem(java.lang.String processId,
Item item) |
protected ProcessInfo |
createProcessInfo(org.activiti.engine.history.HistoricProcessInstance processInstance) |
void |
deleteItem(java.lang.String processId,
java.lang.String itemId) |
void |
deleteProcess(java.lang.String id) |
void |
deleteVariable(java.lang.String processId,
java.lang.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(java.lang.String processId,
java.lang.String itemId) |
CollectionWithPagingInfo |
getItems(java.lang.String processId,
Paging paging) |
protected java.lang.String |
getLocalProcessDefinitionKey(java.lang.String key) |
protected org.alfresco.repo.workflow.activiti.ActivitiNodeConverter |
getNodeConverter() |
protected org.alfresco.service.cmr.repository.NodeRef |
getPersonNodeRef(java.lang.String name) |
ProcessInfo |
getProcess(java.lang.String processId) |
protected java.lang.String |
getProcessDefinitionKey(java.lang.String paramProcessDefinitionKey) |
CollectionWithPagingInfo |
getProcesses(Parameters parameters) |
BinaryResource |
getProcessImage(java.lang.String processId) |
protected org.alfresco.repo.workflow.activiti.properties.ActivitiPropertyConverter |
getPropertyConverter() |
protected org.alfresco.repo.workflow.WorkflowQNameConverter |
getQNameConverter() |
protected org.alfresco.repo.workflow.activiti.ActivitiTypeConverter |
getTypeConverter() |
CollectionWithPagingInfo |
getVariables(java.lang.String processId,
Paging paging) |
protected org.alfresco.repo.workflow.WorkflowObjectFactory |
getWorkflowFactory() |
void |
setAuthorityDAO(org.alfresco.repo.security.authority.AuthorityDAO authorityDAO) |
void |
setEngineId(java.lang.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(java.lang.String processId,
Variable variable) |
protected Variable |
updateVariableInProcess(java.lang.String processId,
java.lang.String processDefinitionId,
Variable variable) |
java.util.List |
updateVariables(java.lang.String processId,
java.util.List variables) |
createItemForNodeRef, createItemInProcess, deleteItemFromProcess, getFormModelElements, getItemFromProcess, getItemsFromProcess, getNodeRef, getParameter, getTypesToExclude, setActivitiProcessEngine, setAuthorityService, setDeployWorkflowsInTenant, setDictionaryService, setNamespaceService, setNodeService, setTenantService, validateIfUserAllowedToWorkWithProcessprotected static java.lang.String PROCESS_STATUS_ANY
protected static java.lang.String PROCESS_STATUS_ACTIVE
protected static java.lang.String PROCESS_STATUS_COMPLETED
protected static java.lang.String PROCESS_STATUS_DELETED
protected static final java.util.Set PROCESS_STATUS_LIST
protected static final java.util.Set PROCESS_COLLECTION_EQUALS_QUERY_PROPERTIES
protected static final java.util.Set PROCESS_COLLECTION_GREATERTHAN_QUERY_PROPERTIES
protected static final java.util.Set PROCESS_COLLECTION_LESSTHAN_QUERY_PROPERTIES
protected static final java.util.Set 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 java.lang.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
protected org.alfresco.repo.workflow.activiti.ActivitiTypeConverter typeConverter
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(java.lang.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()
protected org.alfresco.repo.workflow.activiti.ActivitiTypeConverter getTypeConverter()
public CollectionWithPagingInfo getProcesses(Parameters parameters)
getProcesses in interface Processespublic ProcessInfo getProcess(java.lang.String processId)
getProcess in interface Processespublic ProcessInfo create(ProcessInfo process)
public void deleteProcess(java.lang.String id)
deleteProcess in interface Processespublic CollectionWithPagingInfo getItems(java.lang.String processId, Paging paging)
public Item getItem(java.lang.String processId, java.lang.String itemId)
public Item createItem(java.lang.String processId, Item item)
createItem in interface Processespublic void deleteItem(java.lang.String processId,
java.lang.String itemId)
deleteItem in interface Processespublic CollectionWithPagingInfo getVariables(java.lang.String processId, Paging paging)
getVariables in interface Processespublic Variable updateVariable(java.lang.String processId, Variable variable)
updateVariable in interface Processespublic java.util.List updateVariables(java.lang.String processId,
java.util.List variables)
updateVariables in interface Processesprotected Variable updateVariableInProcess(java.lang.String processId, java.lang.String processDefinitionId, Variable variable)
public void deleteVariable(java.lang.String processId,
java.lang.String variableName)
deleteVariable in interface Processespublic BinaryResource getProcessImage(java.lang.String processId)
getProcessImage in interface Processesprotected java.lang.Object convertAssociationDefinitionValue(org.alfresco.service.cmr.dictionary.AssociationDefinition associationDef,
java.lang.String variableName,
java.lang.Object variableValue)
protected java.lang.String getProcessDefinitionKey(java.lang.String paramProcessDefinitionKey)
protected java.lang.String getLocalProcessDefinitionKey(java.lang.String key)
protected org.alfresco.service.cmr.repository.NodeRef getPersonNodeRef(java.lang.String name)
protected ProcessInfo createProcessInfo(org.activiti.engine.history.HistoricProcessInstance processInstance)
Copyright © 2005 - 2013 Alfresco Software, Inc. All Rights Reserved.