public class ProcessDefinitionManager extends AbstractManager
Modifier and Type | Field and Description |
---|---|
protected static EnginePersistenceLogger |
LOG |
Constructor and Description |
---|
ProcessDefinitionManager() |
checkAuthorization, close, configureQuery, delete, deleteAuthorizations, deleteDefaultAuthorizations, flush, getAttachmentManager, getAuthorizationManager, getByteArrayManager, getCaseDefinitionManager, getCaseExecutionManager, getCaseInstanceManager, getCommandContext, getCurrentAuthentication, getDbEntityManager, getDbSqlSession, getDecisionDefinitionManager, getDeploymentManager, getEventSubscriptionManager, getHistoricActivityInstanceManager, getHistoricCaseActivityInstanceManager, getHistoricCaseInstanceManager, getHistoricDecisionInstanceManager, getHistoricDetailManager, getHistoricIncidentManager, getHistoricJobLogManager, getHistoricProcessInstanceManager, getHistoricTaskInstanceManager, getHistoricVariableInstanceManager, getIdentityInfoManager, getIdentityLinkManager, getJobDefinitionManager, getJobManager, getProcessDefinitionManager, getProcessInstanceManager, getResourceAuthorizationProvider, getResourceManager, getSession, getTaskManager, getUserOperationLogManager, getVariableInstanceManager, insert, isAuthorizationEnabled, saveDefaultAuthorizations
protected static final EnginePersistenceLogger LOG
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 String findPreviousProcessDefinitionIdByKeyAndVersion(String processDefinitionKey, Integer version)
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.