Class DeploymentManager
- java.lang.Object
-
- org.camunda.bpm.engine.impl.persistence.AbstractManager
-
- org.camunda.bpm.engine.impl.persistence.entity.DeploymentManager
-
- All Implemented Interfaces:
Session
public class DeploymentManager extends AbstractManager
- Author:
- Tom Baeyens, Deivarayan Azhagappan, Christopher Zell
-
-
Constructor Summary
Constructors Constructor Description DeploymentManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
protected void
configureQuery(DeploymentQueryImpl query)
protected void
createDefaultAuthorizations(DeploymentEntity deployment)
protected void
deleteCamundaFormDefinitionDeployment(java.lang.String deploymentId)
protected void
deleteCaseDeployment(java.lang.String deploymentId, boolean cascade)
protected void
deleteDecisionDeployment(java.lang.String deploymentId, boolean cascade)
protected void
deleteDecisionRequirementDeployment(java.lang.String deploymentId)
void
deleteDeployment(java.lang.String deploymentId, boolean cascade)
void
deleteDeployment(java.lang.String deploymentId, boolean cascade, boolean skipCustomListeners, boolean skipIoMappings)
DeploymentEntity
findDeploymentById(java.lang.String deploymentId)
long
findDeploymentCountByQueryCriteria(DeploymentQueryImpl deploymentQuery)
java.util.List<java.lang.String>
findDeploymentIdsByProcessInstances(java.util.List<java.lang.String> processInstanceIds)
java.util.List<DeploymentEntity>
findDeploymentsByIds(java.lang.String... deploymentsIds)
java.util.List<Deployment>
findDeploymentsByQueryCriteria(DeploymentQueryImpl deploymentQuery, Page page)
DeploymentEntity
findLatestDeploymentByName(java.lang.String deploymentName)
void
flush()
java.util.List<java.lang.String>
getDeploymentResourceNames(java.lang.String deploymentId)
void
insertDeployment(DeploymentEntity deployment)
-
Methods inherited from class org.camunda.bpm.engine.impl.persistence.AbstractManager
checkAuthorization, configureQuery, delete, deleteAuthorizations, deleteAuthorizationsForGroup, deleteAuthorizationsForUser, deleteDefaultAuthorizations, getAttachmentManager, getAuthorizationManager, getBatchManager, getByteArrayManager, getCamundaFormDefinitionManager, getCaseDefinitionManager, getCaseExecutionManager, getCaseInstanceManager, getCommandContext, getCurrentAuthentication, getDbEntityManager, getDbSqlSession, getDecisionDefinitionManager, getDecisionRequirementsDefinitionManager, getDeploymentManager, getEventSubscriptionManager, getHistoricActivityInstanceManager, getHistoricBatchManager, getHistoricCaseActivityInstanceManager, getHistoricCaseInstanceManager, getHistoricDecisionInstanceManager, getHistoricDetailManager, getHistoricExternalTaskLogManager, getHistoricIdentityLinkManager, getHistoricIncidentManager, getHistoricJobLogManager, getHistoricProcessInstanceManager, getHistoricReportManager, getHistoricTaskInstanceManager, getHistoricVariableInstanceManager, getIdentityInfoManager, getIdentityLinkManager, getJobDefinitionManager, getJobManager, getProcessDefinitionManager, getProcessInstanceManager, getResourceAuthorizationProvider, getResourceManager, getSession, getTaskManager, getTaskReportManager, getTenantManager, getUserOperationLogManager, getVariableInstanceManager, insert, isAuthorizationEnabled, saveDefaultAuthorizations
-
-
-
-
Method Detail
-
insertDeployment
public void insertDeployment(DeploymentEntity deployment)
-
deleteDeployment
public void deleteDeployment(java.lang.String deploymentId, boolean cascade)
-
deleteDeployment
public void deleteDeployment(java.lang.String deploymentId, boolean cascade, boolean skipCustomListeners, boolean skipIoMappings)
-
deleteCaseDeployment
protected void deleteCaseDeployment(java.lang.String deploymentId, boolean cascade)
-
deleteDecisionDeployment
protected void deleteDecisionDeployment(java.lang.String deploymentId, boolean cascade)
-
deleteDecisionRequirementDeployment
protected void deleteDecisionRequirementDeployment(java.lang.String deploymentId)
-
deleteCamundaFormDefinitionDeployment
protected void deleteCamundaFormDefinitionDeployment(java.lang.String deploymentId)
-
findLatestDeploymentByName
public DeploymentEntity findLatestDeploymentByName(java.lang.String deploymentName)
-
findDeploymentById
public DeploymentEntity findDeploymentById(java.lang.String deploymentId)
-
findDeploymentsByIds
public java.util.List<DeploymentEntity> findDeploymentsByIds(java.lang.String... deploymentsIds)
-
findDeploymentCountByQueryCriteria
public long findDeploymentCountByQueryCriteria(DeploymentQueryImpl deploymentQuery)
-
findDeploymentsByQueryCriteria
public java.util.List<Deployment> findDeploymentsByQueryCriteria(DeploymentQueryImpl deploymentQuery, Page page)
-
getDeploymentResourceNames
public java.util.List<java.lang.String> getDeploymentResourceNames(java.lang.String deploymentId)
-
findDeploymentIdsByProcessInstances
public java.util.List<java.lang.String> findDeploymentIdsByProcessInstances(java.util.List<java.lang.String> processInstanceIds)
-
close
public void close()
- Specified by:
close
in interfaceSession
- Overrides:
close
in classAbstractManager
-
flush
public void flush()
- Specified by:
flush
in interfaceSession
- Overrides:
flush
in classAbstractManager
-
createDefaultAuthorizations
protected void createDefaultAuthorizations(DeploymentEntity deployment)
-
configureQuery
protected void configureQuery(DeploymentQueryImpl query)
-
-