Class CalledProcessDefinitionImpl
- java.lang.Object
- 
- org.camunda.bpm.engine.impl.repository.CalledProcessDefinitionImpl
 
- 
- All Implemented Interfaces:
- CalledProcessDefinition,- ProcessDefinition,- ResourceDefinition
 
 public class CalledProcessDefinitionImpl extends java.lang.Object implements CalledProcessDefinition 
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.util.List<java.lang.String>calledFromActivityIdsprotected java.lang.StringcallingProcessDefinitionIdprotected java.lang.Stringcategoryprotected java.lang.StringdeploymentIdprotected java.lang.Stringdescriptionprotected java.lang.StringdiagramResourceNameprotected booleanhasStartFormKeyprotected java.lang.IntegerhistoryTimeToLiveprotected java.lang.Stringidprotected booleanisStartableInTasklistprotected java.lang.Stringkeyprotected java.lang.Stringnameprotected java.lang.StringresourceNameprotected booleansuspendedprotected java.lang.StringtenantIdprotected intversionprotected java.lang.StringversionTag
 - 
Constructor SummaryConstructors Constructor Description CalledProcessDefinitionImpl(ProcessDefinition definition, java.lang.String callingProcessDefinitionId)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCallingCallActivity(java.lang.String activityId)java.util.List<java.lang.String>getCalledFromActivityIds()java.lang.StringgetCallingProcessDefinitionId()java.lang.StringgetCategory()category name which is derived from the targetNamespace attribute in the definitions elementjava.lang.StringgetDeploymentId()The deployment in which this definition is contained.java.lang.StringgetDescription()description of this processjava.lang.StringgetDiagramResourceName()The diagram resource name for this definition if existjava.lang.IntegergetHistoryTimeToLive()History time to live.java.lang.StringgetId()unique identifierjava.lang.StringgetKey()unique name for all versions this definitionjava.lang.StringgetName()label used for display purposesjava.lang.StringgetResourceName()name ofthe resourceof this definitionjava.lang.StringgetTenantId()The id of the tenant this definition belongs to.intgetVersion()version of this definitionjava.lang.StringgetVersionTag()Version tag of the process definition.booleanhasStartFormKey()Does this process definition has astart form key.booleanisStartableInTasklist()Returns true if the process definition is startable in Tasklist.booleanisSuspended()Returns true if the process definition is in suspended state.
 
- 
- 
- 
Field Detail- 
idprotected java.lang.String id 
 - 
keyprotected java.lang.String key 
 - 
categoryprotected java.lang.String category 
 - 
descriptionprotected java.lang.String description 
 - 
nameprotected java.lang.String name 
 - 
versionprotected int version 
 - 
deploymentIdprotected java.lang.String deploymentId 
 - 
suspendedprotected boolean suspended 
 - 
tenantIdprotected java.lang.String tenantId 
 - 
versionTagprotected java.lang.String versionTag 
 - 
historyTimeToLiveprotected java.lang.Integer historyTimeToLive 
 - 
isStartableInTasklistprotected boolean isStartableInTasklist 
 - 
hasStartFormKeyprotected boolean hasStartFormKey 
 - 
diagramResourceNameprotected java.lang.String diagramResourceName 
 - 
resourceNameprotected java.lang.String resourceName 
 - 
calledFromActivityIdsprotected java.util.List<java.lang.String> calledFromActivityIds 
 - 
callingProcessDefinitionIdprotected java.lang.String callingProcessDefinitionId 
 
- 
 - 
Constructor Detail- 
CalledProcessDefinitionImplpublic CalledProcessDefinitionImpl(ProcessDefinition definition, java.lang.String callingProcessDefinitionId) 
 
- 
 - 
Method Detail- 
getCallingProcessDefinitionIdpublic java.lang.String getCallingProcessDefinitionId() - Specified by:
- getCallingProcessDefinitionIdin interface- CalledProcessDefinition
 
 - 
getCalledFromActivityIdspublic java.util.List<java.lang.String> getCalledFromActivityIds() - Specified by:
- getCalledFromActivityIdsin interface- CalledProcessDefinition
 
 - 
addCallingCallActivitypublic void addCallingCallActivity(java.lang.String activityId) 
 - 
getIdpublic java.lang.String getId() Description copied from interface:ResourceDefinitionunique identifier- Specified by:
- getIdin interface- ResourceDefinition
 
 - 
getKeypublic java.lang.String getKey() Description copied from interface:ResourceDefinitionunique name for all versions this definition- Specified by:
- getKeyin interface- ResourceDefinition
 
 - 
getCategorypublic java.lang.String getCategory() Description copied from interface:ResourceDefinitioncategory name which is derived from the targetNamespace attribute in the definitions element- Specified by:
- getCategoryin interface- ResourceDefinition
 
 - 
getDescriptionpublic java.lang.String getDescription() Description copied from interface:ProcessDefinitiondescription of this process- Specified by:
- getDescriptionin interface- ProcessDefinition
 
 - 
hasStartFormKeypublic boolean hasStartFormKey() Description copied from interface:ProcessDefinitionDoes this process definition has astart form key.- Specified by:
- hasStartFormKeyin interface- ProcessDefinition
 
 - 
getNamepublic java.lang.String getName() Description copied from interface:ResourceDefinitionlabel used for display purposes- Specified by:
- getNamein interface- ResourceDefinition
 
 - 
getVersionpublic int getVersion() Description copied from interface:ResourceDefinitionversion of this definition- Specified by:
- getVersionin interface- ResourceDefinition
 
 - 
getResourceNamepublic java.lang.String getResourceName() Description copied from interface:ResourceDefinitionname ofthe resourceof this definition- Specified by:
- getResourceNamein interface- ResourceDefinition
 
 - 
getDeploymentIdpublic java.lang.String getDeploymentId() Description copied from interface:ResourceDefinitionThe deployment in which this definition is contained.- Specified by:
- getDeploymentIdin interface- ResourceDefinition
 
 - 
getDiagramResourceNamepublic java.lang.String getDiagramResourceName() Description copied from interface:ResourceDefinitionThe diagram resource name for this definition if exist- Specified by:
- getDiagramResourceNamein interface- ResourceDefinition
 
 - 
isSuspendedpublic boolean isSuspended() Description copied from interface:ProcessDefinitionReturns true if the process definition is in suspended state.- Specified by:
- isSuspendedin interface- ProcessDefinition
 
 - 
getTenantIdpublic java.lang.String getTenantId() Description copied from interface:ResourceDefinitionThe id of the tenant this definition belongs to. Can benullif the definition belongs to no single tenant.- Specified by:
- getTenantIdin interface- ResourceDefinition
 
 - 
getVersionTagpublic java.lang.String getVersionTag() Description copied from interface:ProcessDefinitionVersion tag of the process definition.- Specified by:
- getVersionTagin interface- ProcessDefinition
 
 - 
getHistoryTimeToLivepublic java.lang.Integer getHistoryTimeToLive() Description copied from interface:ResourceDefinitionHistory time to live. Is taken into account in history cleanup.- Specified by:
- getHistoryTimeToLivein interface- ResourceDefinition
 
 - 
isStartableInTasklistpublic boolean isStartableInTasklist() Description copied from interface:ProcessDefinitionReturns true if the process definition is startable in Tasklist.- Specified by:
- isStartableInTasklistin interface- ProcessDefinition
 
 
- 
 
-