Class CalledProcessDefinitionImpl
- java.lang.Object
-
- org.camunda.bpm.engine.impl.repository.CalledProcessDefinitionImpl
-
- All Implemented Interfaces:
CalledProcessDefinition,ProcessDefinition,ResourceDefinition
public class CalledProcessDefinitionImpl extends Object implements CalledProcessDefinition
-
-
Field Summary
Fields Modifier and Type Field Description protected List<String>calledFromActivityIdsprotected StringcallingProcessDefinitionIdprotected Stringcategoryprotected StringdeploymentIdprotected Stringdescriptionprotected StringdiagramResourceNameprotected booleanhasStartFormKeyprotected IntegerhistoryTimeToLiveprotected Stringidprotected booleanisStartableInTasklistprotected Stringkeyprotected Stringnameprotected StringresourceNameprotected booleansuspendedprotected StringtenantIdprotected intversionprotected StringversionTag
-
Constructor Summary
Constructors Constructor Description CalledProcessDefinitionImpl(ProcessDefinition definition, String callingProcessDefinitionId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCallingCallActivity(String activityId)List<String>getCalledFromActivityIds()StringgetCallingProcessDefinitionId()StringgetCategory()category name which is derived from the targetNamespace attribute in the definitions elementStringgetDeploymentId()The deployment in which this definition is contained.StringgetDescription()description of this processStringgetDiagramResourceName()The diagram resource name for this definition if existIntegergetHistoryTimeToLive()History time to live.StringgetId()unique identifierStringgetKey()unique name for all versions this definitionStringgetName()label used for display purposesStringgetResourceName()name ofthe resourceof this definitionStringgetTenantId()The id of the tenant this definition belongs to.intgetVersion()version of this definitionStringgetVersionTag()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 String id
-
key
protected String key
-
category
protected String category
-
description
protected String description
-
name
protected String name
-
version
protected int version
-
deploymentId
protected String deploymentId
-
suspended
protected boolean suspended
-
tenantId
protected String tenantId
-
versionTag
protected String versionTag
-
historyTimeToLive
protected Integer historyTimeToLive
-
isStartableInTasklist
protected boolean isStartableInTasklist
-
hasStartFormKey
protected boolean hasStartFormKey
-
diagramResourceName
protected String diagramResourceName
-
resourceName
protected String resourceName
-
callingProcessDefinitionId
protected String callingProcessDefinitionId
-
-
Constructor Detail
-
CalledProcessDefinitionImpl
public CalledProcessDefinitionImpl(ProcessDefinition definition, String callingProcessDefinitionId)
-
-
Method Detail
-
getCallingProcessDefinitionId
public String getCallingProcessDefinitionId()
- Specified by:
getCallingProcessDefinitionIdin interfaceCalledProcessDefinition
-
getCalledFromActivityIds
public List<String> getCalledFromActivityIds()
- Specified by:
getCalledFromActivityIdsin interfaceCalledProcessDefinition
-
addCallingCallActivity
public void addCallingCallActivity(String activityId)
-
getId
public String getId()
Description copied from interface:ResourceDefinitionunique identifier- Specified by:
getIdin interfaceResourceDefinition
-
getKey
public String getKey()
Description copied from interface:ResourceDefinitionunique name for all versions this definition- Specified by:
getKeyin interfaceResourceDefinition
-
getCategory
public 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 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 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 String getResourceName()
Description copied from interface:ResourceDefinitionname ofthe resourceof this definition- Specified by:
getResourceNamein interfaceResourceDefinition
-
getDeploymentId
public String getDeploymentId()
Description copied from interface:ResourceDefinitionThe deployment in which this definition is contained.- Specified by:
getDeploymentIdin interfaceResourceDefinition
-
getDiagramResourceName
public 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 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 String getVersionTag()
Description copied from interface:ProcessDefinitionVersion tag of the process definition.- Specified by:
getVersionTagin interfaceProcessDefinition
-
getHistoryTimeToLive
public 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
-
-