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>
calledFromActivityIds
protected java.lang.String
callingProcessDefinitionId
protected java.lang.String
category
protected java.lang.String
deploymentId
protected java.lang.String
description
protected java.lang.String
diagramResourceName
protected boolean
hasStartFormKey
protected java.lang.Integer
historyTimeToLive
protected java.lang.String
id
protected boolean
isStartableInTasklist
protected java.lang.String
key
protected java.lang.String
name
protected java.lang.String
resourceName
protected boolean
suspended
protected java.lang.String
tenantId
protected int
version
protected java.lang.String
versionTag
-
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 void
addCallingCallActivity(java.lang.String activityId)
java.util.List<java.lang.String>
getCalledFromActivityIds()
java.lang.String
getCallingProcessDefinitionId()
java.lang.String
getCategory()
category name which is derived from the targetNamespace attribute in the definitions elementjava.lang.String
getDeploymentId()
The deployment in which this definition is contained.java.lang.String
getDescription()
description of this processjava.lang.String
getDiagramResourceName()
The diagram resource name for this definition if existjava.lang.Integer
getHistoryTimeToLive()
History time to live.java.lang.String
getId()
unique identifierjava.lang.String
getKey()
unique name for all versions this definitionjava.lang.String
getName()
label used for display purposesjava.lang.String
getResourceName()
name ofthe resource
of this definitionjava.lang.String
getTenantId()
The id of the tenant this definition belongs to.int
getVersion()
version of this definitionjava.lang.String
getVersionTag()
Version tag of the process definition.boolean
hasStartFormKey()
Does this process definition has astart form key
.boolean
isStartableInTasklist()
Returns true if the process definition is startable in Tasklist.boolean
isSuspended()
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:
getCallingProcessDefinitionId
in interfaceCalledProcessDefinition
-
getCalledFromActivityIds
public java.util.List<java.lang.String> getCalledFromActivityIds()
- Specified by:
getCalledFromActivityIds
in interfaceCalledProcessDefinition
-
addCallingCallActivity
public void addCallingCallActivity(java.lang.String activityId)
-
getId
public java.lang.String getId()
Description copied from interface:ResourceDefinition
unique identifier- Specified by:
getId
in interfaceResourceDefinition
-
getKey
public java.lang.String getKey()
Description copied from interface:ResourceDefinition
unique name for all versions this definition- Specified by:
getKey
in interfaceResourceDefinition
-
getCategory
public java.lang.String getCategory()
Description copied from interface:ResourceDefinition
category name which is derived from the targetNamespace attribute in the definitions element- Specified by:
getCategory
in interfaceResourceDefinition
-
getDescription
public java.lang.String getDescription()
Description copied from interface:ProcessDefinition
description of this process- Specified by:
getDescription
in interfaceProcessDefinition
-
hasStartFormKey
public boolean hasStartFormKey()
Description copied from interface:ProcessDefinition
Does this process definition has astart form key
.- Specified by:
hasStartFormKey
in interfaceProcessDefinition
-
getName
public java.lang.String getName()
Description copied from interface:ResourceDefinition
label used for display purposes- Specified by:
getName
in interfaceResourceDefinition
-
getVersion
public int getVersion()
Description copied from interface:ResourceDefinition
version of this definition- Specified by:
getVersion
in interfaceResourceDefinition
-
getResourceName
public java.lang.String getResourceName()
Description copied from interface:ResourceDefinition
name ofthe resource
of this definition- Specified by:
getResourceName
in interfaceResourceDefinition
-
getDeploymentId
public java.lang.String getDeploymentId()
Description copied from interface:ResourceDefinition
The deployment in which this definition is contained.- Specified by:
getDeploymentId
in interfaceResourceDefinition
-
getDiagramResourceName
public java.lang.String getDiagramResourceName()
Description copied from interface:ResourceDefinition
The diagram resource name for this definition if exist- Specified by:
getDiagramResourceName
in interfaceResourceDefinition
-
isSuspended
public boolean isSuspended()
Description copied from interface:ProcessDefinition
Returns true if the process definition is in suspended state.- Specified by:
isSuspended
in interfaceProcessDefinition
-
getTenantId
public java.lang.String getTenantId()
Description copied from interface:ResourceDefinition
The id of the tenant this definition belongs to. Can benull
if the definition belongs to no single tenant.- Specified by:
getTenantId
in interfaceResourceDefinition
-
getVersionTag
public java.lang.String getVersionTag()
Description copied from interface:ProcessDefinition
Version tag of the process definition.- Specified by:
getVersionTag
in interfaceProcessDefinition
-
getHistoryTimeToLive
public java.lang.Integer getHistoryTimeToLive()
Description copied from interface:ResourceDefinition
History time to live. Is taken into account in history cleanup.- Specified by:
getHistoryTimeToLive
in interfaceResourceDefinition
-
isStartableInTasklist
public boolean isStartableInTasklist()
Description copied from interface:ProcessDefinition
Returns true if the process definition is startable in Tasklist.- Specified by:
isStartableInTasklist
in interfaceProcessDefinition
-
-