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 Summary
Fields 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 Summary
Constructors Constructor Description CalledProcessDefinitionImpl(ProcessDefinition definition, java.lang.String callingProcessDefinitionId)
-
Method Summary
All 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
-
id
protected java.lang.String id
-
key
protected java.lang.String key
-
category
protected java.lang.String category
-
description
protected java.lang.String description
-
name
protected java.lang.String name
-
version
protected int version
-
deploymentId
protected java.lang.String deploymentId
-
suspended
protected boolean suspended
-
tenantId
protected java.lang.String tenantId
-
versionTag
protected java.lang.String versionTag
-
historyTimeToLive
protected java.lang.Integer historyTimeToLive
-
isStartableInTasklist
protected boolean isStartableInTasklist
-
hasStartFormKey
protected boolean hasStartFormKey
-
diagramResourceName
protected java.lang.String diagramResourceName
-
resourceName
protected java.lang.String resourceName
-
calledFromActivityIds
protected java.util.List<java.lang.String> calledFromActivityIds
-
callingProcessDefinitionId
protected java.lang.String callingProcessDefinitionId
-
-
Constructor Detail
-
CalledProcessDefinitionImpl
public CalledProcessDefinitionImpl(ProcessDefinition definition, java.lang.String callingProcessDefinitionId)
-
-
Method Detail
-
getCallingProcessDefinitionId
public java.lang.String getCallingProcessDefinitionId()
- Specified by:
getCallingProcessDefinitionIdin interfaceCalledProcessDefinition
-
getCalledFromActivityIds
public java.util.List<java.lang.String> getCalledFromActivityIds()
- Specified by:
getCalledFromActivityIdsin interfaceCalledProcessDefinition
-
addCallingCallActivity
public void addCallingCallActivity(java.lang.String activityId)
-
getId
public java.lang.String getId()
Description copied from interface:ResourceDefinitionunique identifier- Specified by:
getIdin interfaceResourceDefinition
-
getKey
public java.lang.String getKey()
Description copied from interface:ResourceDefinitionunique name for all versions this definition- Specified by:
getKeyin interfaceResourceDefinition
-
getCategory
public java.lang.String getCategory()
Description copied from interface:ResourceDefinitioncategory name which is derived from the targetNamespace attribute in the definitions element- Specified by:
getCategoryin interfaceResourceDefinition
-
getDescription
public java.lang.String getDescription()
Description copied from interface:ProcessDefinitiondescription of this process- Specified by:
getDescriptionin interfaceProcessDefinition
-
hasStartFormKey
public boolean hasStartFormKey()
Description copied from interface:ProcessDefinitionDoes this process definition has astart form key.- Specified by:
hasStartFormKeyin interfaceProcessDefinition
-
getName
public java.lang.String getName()
Description copied from interface:ResourceDefinitionlabel used for display purposes- Specified by:
getNamein interfaceResourceDefinition
-
getVersion
public int getVersion()
Description copied from interface:ResourceDefinitionversion of this definition- Specified by:
getVersionin interfaceResourceDefinition
-
getResourceName
public java.lang.String getResourceName()
Description copied from interface:ResourceDefinitionname ofthe resourceof this definition- Specified by:
getResourceNamein interfaceResourceDefinition
-
getDeploymentId
public java.lang.String getDeploymentId()
Description copied from interface:ResourceDefinitionThe deployment in which this definition is contained.- Specified by:
getDeploymentIdin interfaceResourceDefinition
-
getDiagramResourceName
public java.lang.String getDiagramResourceName()
Description copied from interface:ResourceDefinitionThe diagram resource name for this definition if exist- Specified by:
getDiagramResourceNamein interfaceResourceDefinition
-
isSuspended
public boolean isSuspended()
Description copied from interface:ProcessDefinitionReturns true if the process definition is in suspended state.- Specified by:
isSuspendedin interfaceProcessDefinition
-
getTenantId
public 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 interfaceResourceDefinition
-
getVersionTag
public java.lang.String getVersionTag()
Description copied from interface:ProcessDefinitionVersion tag of the process definition.- Specified by:
getVersionTagin interfaceProcessDefinition
-
getHistoryTimeToLive
public java.lang.Integer getHistoryTimeToLive()
Description copied from interface:ResourceDefinitionHistory time to live. Is taken into account in history cleanup.- Specified by:
getHistoryTimeToLivein interfaceResourceDefinition
-
isStartableInTasklist
public boolean isStartableInTasklist()
Description copied from interface:ProcessDefinitionReturns true if the process definition is startable in Tasklist.- Specified by:
isStartableInTasklistin interfaceProcessDefinition
-
-