Class TemplateDeploymentManager
- java.lang.Object
-
- com.flowable.template.engine.impl.deployer.TemplateDeploymentManager
-
public class TemplateDeploymentManager extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<org.flowable.common.engine.impl.EngineDeployer>
deployers
protected TemplateDeploymentEntityManager
deploymentEntityManager
protected TemplateResourceEntityManager
resourceEntityManager
protected org.flowable.common.engine.impl.persistence.deploy.DeploymentCache<TemplateDefinitionCacheEntry>
templateDefinitionCache
protected TemplateDefinitionEntityManager
templateDefinitionEntityManager
protected TemplateEngineConfiguration
templateEngineConfiguration
protected org.flowable.common.engine.impl.persistence.deploy.DeploymentCache<TemplateVariationDefinitionCacheEntry>
templateVariationDefinitionCache
protected TemplateVariationDefinitionEntityManager
templateVariationDefinitionEntityManager
-
Constructor Summary
Constructors Constructor Description TemplateDeploymentManager()
-
Method Summary
-
-
-
Field Detail
-
templateDefinitionCache
protected org.flowable.common.engine.impl.persistence.deploy.DeploymentCache<TemplateDefinitionCacheEntry> templateDefinitionCache
-
templateVariationDefinitionCache
protected org.flowable.common.engine.impl.persistence.deploy.DeploymentCache<TemplateVariationDefinitionCacheEntry> templateVariationDefinitionCache
-
deployers
protected java.util.List<org.flowable.common.engine.impl.EngineDeployer> deployers
-
templateEngineConfiguration
protected TemplateEngineConfiguration templateEngineConfiguration
-
deploymentEntityManager
protected TemplateDeploymentEntityManager deploymentEntityManager
-
resourceEntityManager
protected TemplateResourceEntityManager resourceEntityManager
-
templateDefinitionEntityManager
protected TemplateDefinitionEntityManager templateDefinitionEntityManager
-
templateVariationDefinitionEntityManager
protected TemplateVariationDefinitionEntityManager templateVariationDefinitionEntityManager
-
-
Method Detail
-
deploy
public void deploy(org.flowable.common.engine.api.repository.EngineDeployment deployment)
-
deploy
public void deploy(org.flowable.common.engine.api.repository.EngineDeployment deployment, java.util.Map<java.lang.String,java.lang.Object> deploymentSettings)
-
findDeployedTemplateDefinitionById
public TemplateDefinition findDeployedTemplateDefinitionById(java.lang.String templateDefinitionId)
-
findDeployedTemplateDefinitionByKey
public TemplateDefinition findDeployedTemplateDefinitionByKey(java.lang.String templateDefinitionKey)
-
findDeployedTemplateDefinitionByKeyAndTenantId
public TemplateDefinition findDeployedTemplateDefinitionByKeyAndTenantId(java.lang.String templateDefinitionKey, java.lang.String tenantId)
-
findDeployedTemplateVariationDefinitionById
public TemplateVariationDefinition findDeployedTemplateVariationDefinitionById(java.lang.String templateVariationDefinitionId)
-
findDeployedLatestTemplateVariationDefinitionByKey
public TemplateVariationDefinition findDeployedLatestTemplateVariationDefinitionByKey(java.lang.String templateDefinitionKey, java.lang.String variationKey)
-
findDeployedLatestTemplateVariationDefinitionByKeysAndTenantId
public TemplateVariationDefinition findDeployedLatestTemplateVariationDefinitionByKeysAndTenantId(java.lang.String templateDefinitionKey, java.lang.String variationKey, java.lang.String tenantId)
-
resolveTemplateDefinition
public TemplateDefinitionCacheEntry resolveTemplateDefinition(TemplateDefinition templateDefinition)
-
resolveTemplateVariationDefinition
public TemplateVariationDefinitionCacheEntry resolveTemplateVariationDefinition(TemplateVariationDefinition templateVariationDefinition)
-
removeDeployment
public void removeDeployment(java.lang.String deploymentId)
-
removeDeployment
public void removeDeployment(java.lang.String deploymentId, boolean cascade)
-
getDeployers
public java.util.List<org.flowable.common.engine.impl.EngineDeployer> getDeployers()
-
setDeployers
public void setDeployers(java.util.List<org.flowable.common.engine.impl.EngineDeployer> deployers)
-
getTemplateDefinitionCache
public org.flowable.common.engine.impl.persistence.deploy.DeploymentCache<TemplateDefinitionCacheEntry> getTemplateDefinitionCache()
-
setTemplateDefinitionCache
public void setTemplateDefinitionCache(org.flowable.common.engine.impl.persistence.deploy.DeploymentCache<TemplateDefinitionCacheEntry> templateDefinitionCache)
-
getTemplateVariationDefinitionCache
public org.flowable.common.engine.impl.persistence.deploy.DeploymentCache<TemplateVariationDefinitionCacheEntry> getTemplateVariationDefinitionCache()
-
setTemplateVariationDefinitionCache
public void setTemplateVariationDefinitionCache(org.flowable.common.engine.impl.persistence.deploy.DeploymentCache<TemplateVariationDefinitionCacheEntry> templateVariationDefinitionCache)
-
getTemplateEngineConfiguration
public TemplateEngineConfiguration getTemplateEngineConfiguration()
-
setTemplateEngineConfiguration
public void setTemplateEngineConfiguration(TemplateEngineConfiguration templateEngineConfiguration)
-
getTemplateDefinitionEntityManager
public TemplateDefinitionEntityManager getTemplateDefinitionEntityManager()
-
setTemplateDefinitionEntityManager
public void setTemplateDefinitionEntityManager(TemplateDefinitionEntityManager templateDefinitionEntityManager)
-
getTemplateVariationDefinitionEntityManager
public TemplateVariationDefinitionEntityManager getTemplateVariationDefinitionEntityManager()
-
setTemplateVariationDefinitionEntityManager
public void setTemplateVariationDefinitionEntityManager(TemplateVariationDefinitionEntityManager templateVariationDefinitionEntityManager)
-
getDeploymentEntityManager
public TemplateDeploymentEntityManager getDeploymentEntityManager()
-
setDeploymentEntityManager
public void setDeploymentEntityManager(TemplateDeploymentEntityManager deploymentEntityManager)
-
getResourceEntityManager
public TemplateResourceEntityManager getResourceEntityManager()
-
setResourceEntityManager
public void setResourceEntityManager(TemplateResourceEntityManager resourceEntityManager)
-
-