|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.camunda.bpm.engine.impl.AbstractDefinitionDeployer<CaseDefinitionEntity>
org.camunda.bpm.engine.impl.cmmn.deployer.CmmnDeployer
public class CmmnDeployer
Deployer responsible to parse CMMN 1.0 XML files and create the
proper CaseDefinitionEntitys.
| Field Summary | |
|---|---|
static String[] |
CMMN_RESOURCE_SUFFIXES
|
protected ExpressionManager |
expressionManager
|
protected CmmnTransformer |
transformer
|
| Fields inherited from class org.camunda.bpm.engine.impl.AbstractDefinitionDeployer |
|---|
DIAGRAM_SUFFIXES, idGenerator |
| Constructor Summary | |
|---|---|
CmmnDeployer()
|
|
| Method Summary | |
|---|---|
protected void |
addDefinitionToDeploymentCache(DeploymentCache deploymentCache,
CaseDefinitionEntity definition)
Add a definition to the deployment cache |
protected CaseDefinitionEntity |
findDefinitionByDeploymentAndKey(String deploymentId,
String definitionKey)
Find a definition entity by deployment id and definition key. |
protected CaseDefinitionEntity |
findLatestDefinitionByKeyAndTenantId(String definitionKey,
String tenantId)
Find the last deployed definition entity by definition key and tenant id. |
protected CaseDefinitionManager |
getCaseDefinitionManager()
|
ExpressionManager |
getExpressionManager()
|
protected String[] |
getResourcesSuffixes()
|
CmmnTransformer |
getTransformer()
|
protected void |
persistDefinition(CaseDefinitionEntity definition)
Persist definition entity into the database. |
void |
setExpressionManager(ExpressionManager expressionManager)
|
void |
setTransformer(CmmnTransformer transformer)
|
protected List<CaseDefinitionEntity> |
transformDefinitions(DeploymentEntity deployment,
ResourceEntity resource,
Properties properties)
Transform the resource entity into definition entities. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String[] CMMN_RESOURCE_SUFFIXES
protected ExpressionManager expressionManager
protected CmmnTransformer transformer
| Constructor Detail |
|---|
public CmmnDeployer()
| Method Detail |
|---|
protected String[] getResourcesSuffixes()
getResourcesSuffixes in class AbstractDefinitionDeployer<CaseDefinitionEntity>
protected List<CaseDefinitionEntity> transformDefinitions(DeploymentEntity deployment,
ResourceEntity resource,
Properties properties)
AbstractDefinitionDeployer
transformDefinitions in class AbstractDefinitionDeployer<CaseDefinitionEntity>deployment - the deployment the resources belongs toresource - the resource to transform
protected CaseDefinitionEntity findDefinitionByDeploymentAndKey(String deploymentId,
String definitionKey)
AbstractDefinitionDeployer
findDefinitionByDeploymentAndKey in class AbstractDefinitionDeployer<CaseDefinitionEntity>deploymentId - the deployment iddefinitionKey - the definition key
protected CaseDefinitionEntity findLatestDefinitionByKeyAndTenantId(String definitionKey,
String tenantId)
AbstractDefinitionDeployer
findLatestDefinitionByKeyAndTenantId in class AbstractDefinitionDeployer<CaseDefinitionEntity>protected void persistDefinition(CaseDefinitionEntity definition)
AbstractDefinitionDeployer
persistDefinition in class AbstractDefinitionDeployer<CaseDefinitionEntity>definition - the definition entity
protected void addDefinitionToDeploymentCache(DeploymentCache deploymentCache,
CaseDefinitionEntity definition)
AbstractDefinitionDeployer
addDefinitionToDeploymentCache in class AbstractDefinitionDeployer<CaseDefinitionEntity>deploymentCache - the deployment cachedefinition - the definition to addprotected CaseDefinitionManager getCaseDefinitionManager()
public ExpressionManager getExpressionManager()
public void setExpressionManager(ExpressionManager expressionManager)
public CmmnTransformer getTransformer()
public void setTransformer(CmmnTransformer transformer)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||