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>
calledFromActivityIds
protected String
callingProcessDefinitionId
protected String
category
protected String
deploymentId
protected String
description
protected String
diagramResourceName
protected boolean
hasStartFormKey
protected Integer
historyTimeToLive
protected String
id
protected boolean
isStartableInTasklist
protected String
key
protected String
name
protected String
resourceName
protected boolean
suspended
protected String
tenantId
protected int
version
protected String
versionTag
-
Constructor Summary
Constructors Constructor Description CalledProcessDefinitionImpl(ProcessDefinition definition, String callingProcessDefinitionId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCallingCallActivity(String activityId)
List<String>
getCalledFromActivityIds()
String
getCallingProcessDefinitionId()
String
getCategory()
category name which is derived from the targetNamespace attribute in the definitions elementString
getDeploymentId()
The deployment in which this definition is contained.String
getDescription()
description of this processString
getDiagramResourceName()
The diagram resource name for this definition if existInteger
getHistoryTimeToLive()
History time to live.String
getId()
unique identifierString
getKey()
unique name for all versions this definitionString
getName()
label used for display purposesString
getResourceName()
name ofthe resource
of this definitionString
getTenantId()
The id of the tenant this definition belongs to.int
getVersion()
version of this definitionString
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 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:
getCallingProcessDefinitionId
in interfaceCalledProcessDefinition
-
getCalledFromActivityIds
public List<String> getCalledFromActivityIds()
- Specified by:
getCalledFromActivityIds
in interfaceCalledProcessDefinition
-
addCallingCallActivity
public void addCallingCallActivity(String activityId)
-
getId
public String getId()
Description copied from interface:ResourceDefinition
unique identifier- Specified by:
getId
in interfaceResourceDefinition
-
getKey
public String getKey()
Description copied from interface:ResourceDefinition
unique name for all versions this definition- Specified by:
getKey
in interfaceResourceDefinition
-
getCategory
public 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 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 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 String getResourceName()
Description copied from interface:ResourceDefinition
name ofthe resource
of this definition- Specified by:
getResourceName
in interfaceResourceDefinition
-
getDeploymentId
public String getDeploymentId()
Description copied from interface:ResourceDefinition
The deployment in which this definition is contained.- Specified by:
getDeploymentId
in interfaceResourceDefinition
-
getDiagramResourceName
public 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 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 String getVersionTag()
Description copied from interface:ProcessDefinition
Version tag of the process definition.- Specified by:
getVersionTag
in interfaceProcessDefinition
-
getHistoryTimeToLive
public 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
-
-