public class ProcessDefinitionManager extends AbstractManager
Constructor and Description |
---|
ProcessDefinitionManager() |
checkAuthorization, close, configureQuery, delete, deleteAuthorizations, deleteDefaultAuthorizations, flush, getAttachmentManager, getAuthorizationManager, getByteArrayManager, getCaseDefinitionManager, getCaseExecutionManager, getCaseInstanceManager, getCommandContext, getCurrentAuthentication, getDbEntityManager, getDbSqlSession, getDeploymentManager, getEventSubscriptionManager, getHistoricActivityInstanceManager, getHistoricCaseActivityInstanceManager, getHistoricCaseInstanceManager, getHistoricDetailManager, getHistoricIncidentManager, getHistoricJobLogManager, getHistoricProcessInstanceManager, getHistoricTaskInstanceManager, getHistoricVariableInstanceManager, getIdentityInfoManager, getIdentityLinkManager, getJobDefinitionManager, getJobManager, getProcessDefinitionManager, getProcessInstanceManager, getResourceAuthorizationProvider, getResourceManager, getSession, getTaskManager, getUserOperationLogManager, getVariableInstanceManager, insert, isAuthorizationEnabled, saveDefaultAuthorizations
public void insertProcessDefinition(ProcessDefinitionEntity processDefinition)
public ProcessDefinitionEntity findLatestProcessDefinitionByKey(String processDefinitionKey)
public ProcessDefinitionEntity findLatestProcessDefinitionById(String processDefinitionId)
public List<ProcessDefinition> findProcessDefinitionsByQueryCriteria(ProcessDefinitionQueryImpl processDefinitionQuery, Page page)
public long findProcessDefinitionCountByQueryCriteria(ProcessDefinitionQueryImpl processDefinitionQuery)
public ProcessDefinitionEntity findProcessDefinitionByDeploymentAndKey(String deploymentId, String processDefinitionKey)
public ProcessDefinition findProcessDefinitionByKeyAndVersion(String processDefinitionKey, Integer processDefinitionVersion)
public List<ProcessDefinition> findProcessDefinitionsByKey(String processDefinitionKey)
public List<ProcessDefinition> findProcessDefinitionsStartableByUser(String user)
public List<User> findProcessDefinitionPotentialStarterUsers()
public List<Group> findProcessDefinitionPotentialStarterGroups()
public List<ProcessDefinition> findProcessDefinitionsByDeploymentId(String deploymentId)
public List<ProcessDefinition> findProcessDefinitionsByKeyIn(String... keys)
public void updateProcessDefinitionSuspensionStateById(String processDefinitionId, SuspensionState suspensionState)
public void updateProcessDefinitionSuspensionStateByKey(String processDefinitionKey, SuspensionState suspensionState)
public void deleteProcessDefinitionsByDeploymentId(String deploymentId)
protected void createDefaultAuthorizations(ProcessDefinition processDefinition)
protected void configureProcessDefinitionQuery(ProcessDefinitionQueryImpl query)
Copyright © 2018. All rights reserved.