public class ProcessDefinitionEntityImpl extends Object implements ProcessDefinitionEntity, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected Set<Expression> |
candidateStarterGroupIdExpressions |
protected Set<Expression> |
candidateStarterUserIdExpressions |
protected String |
category |
protected List<IdentityLinkEntity> |
definitionIdentityLinkEntities |
protected String |
deploymentId |
protected String |
description |
protected String |
diagramResourceName |
protected String |
engineVersion |
protected ActivitiEventSupport |
eventSupport |
protected boolean |
hasStartFormKey |
protected Integer |
historyLevel |
protected String |
id |
protected IOSpecification |
ioSpecification |
protected boolean |
isGraphicalNotationDefined |
protected boolean |
isIdentityLinksInitialized |
protected String |
key |
protected String |
name |
protected String |
resourceName |
protected int |
revision |
protected int |
suspensionState |
protected String |
tenantId |
protected Map<String,Object> |
variables |
protected int |
version |
| Constructor and Description |
|---|
ProcessDefinitionEntityImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCandidateStarterGroupIdExpression(Expression groupId) |
void |
addCandidateStarterUserIdExpression(Expression userId) |
Set<Expression> |
getCandidateStarterGroupIdExpressions() |
Set<Expression> |
getCandidateStarterUserIdExpressions() |
String |
getCategory()
category name which is derived from the targetNamespace attribute in the definitions element
|
String |
getDeploymentId()
The deployment in which this process definition is contained.
|
String |
getDescription()
description of this process
|
String |
getDiagramResourceName()
The resource name in the deployment of the diagram image (if any).
|
String |
getEngineVersion() |
ActivitiEventSupport |
getEventSupport() |
boolean |
getHasStartFormKey() |
Integer |
getHistoryLevel() |
String |
getId()
unique identifier
|
List<IdentityLinkEntity> |
getIdentityLinks() |
IOSpecification |
getIoSpecification() |
String |
getKey()
unique name for all versions this process definitions
|
String |
getName()
label used for display purposes
|
Object |
getPersistentState()
Returns a representation of the object, as would be stored in the database.
|
String |
getResourceName()
name of
the resource of this process definition. |
int |
getRevision() |
int |
getRevisionNext() |
int |
getSuspensionState() |
String |
getTenantId()
The tenant identifier of this process definition
|
Map<String,Object> |
getVariables() |
int |
getVersion()
version of this process definition
|
boolean |
hasGraphicalNotation()
Does this process definition has a graphical notation defined (such that a diagram can be generated)?
|
boolean |
hasStartFormKey()
Does this process definition has a
start form key. |
boolean |
isGraphicalNotationDefined() |
boolean |
isSuspended()
Returns true if the process definition is in suspended state.
|
void |
setCategory(String category) |
void |
setDeploymentId(String deploymentId) |
void |
setDescription(String description) |
void |
setDiagramResourceName(String diagramResourceName) |
void |
setEngineVersion(String engineVersion) |
void |
setGraphicalNotationDefined(boolean isGraphicalNotationDefined) |
void |
setHasStartFormKey(boolean hasStartFormKey) |
void |
setHistoryLevel(Integer historyLevel) |
void |
setId(String id) |
void |
setIoSpecification(IOSpecification ioSpecification) |
void |
setKey(String key) |
void |
setName(String name) |
void |
setResourceName(String resourceName) |
void |
setRevision(int revision) |
void |
setStartFormKey(boolean hasStartFormKey) |
void |
setSuspensionState(int suspensionState) |
void |
setTenantId(String tenantId) |
void |
setVariables(Map<String,Object> variables) |
void |
setVersion(int version) |
String |
toString() |
protected String id
protected String name
protected String description
protected String key
protected int revision
protected int version
protected String category
protected String deploymentId
protected String resourceName
protected String tenantId
protected Integer historyLevel
protected String diagramResourceName
protected boolean isGraphicalNotationDefined
protected boolean hasStartFormKey
protected int suspensionState
protected boolean isIdentityLinksInitialized
protected List<IdentityLinkEntity> definitionIdentityLinkEntities
protected Set<Expression> candidateStarterUserIdExpressions
protected Set<Expression> candidateStarterGroupIdExpressions
protected transient ActivitiEventSupport eventSupport
protected IOSpecification ioSpecification
protected String engineVersion
public Object getPersistentState()
EntitygetPersistentState in interface Entitypublic List<IdentityLinkEntity> getIdentityLinks()
getIdentityLinks in interface ProcessDefinitionEntitypublic String getKey()
ProcessDefinitiongetKey in interface ProcessDefinitionpublic void setKey(String key)
setKey in interface ProcessDefinitionEntitypublic String getName()
ProcessDefinitiongetName in interface ProcessDefinitionpublic void setName(String name)
setName in interface ProcessDefinitionEntitypublic void setDescription(String description)
setDescription in interface ProcessDefinitionEntitypublic String getDescription()
ProcessDefinitiongetDescription in interface ProcessDefinitionpublic String getDeploymentId()
ProcessDefinitiongetDeploymentId in interface ProcessDefinitionpublic void setDeploymentId(String deploymentId)
setDeploymentId in interface ProcessDefinitionEntitypublic int getVersion()
ProcessDefinitiongetVersion in interface ProcessDefinitionpublic void setVersion(int version)
setVersion in interface ProcessDefinitionEntitypublic String getId()
ProcessDefinitiongetId in interface EntitygetId in interface ProcessDefinitionpublic String getResourceName()
ProcessDefinitionthe resource of this process definition.getResourceName in interface ProcessDefinitionpublic void setResourceName(String resourceName)
setResourceName in interface ProcessDefinitionEntitypublic String getTenantId()
ProcessDefinitiongetTenantId in interface ProcessDefinitionpublic void setTenantId(String tenantId)
setTenantId in interface ProcessDefinitionEntitypublic Integer getHistoryLevel()
getHistoryLevel in interface ProcessDefinitionEntitypublic void setHistoryLevel(Integer historyLevel)
setHistoryLevel in interface ProcessDefinitionEntitypublic Map<String,Object> getVariables()
getVariables in interface ProcessDefinitionEntitypublic void setVariables(Map<String,Object> variables)
setVariables in interface ProcessDefinitionEntitypublic String getCategory()
ProcessDefinitiongetCategory in interface ProcessDefinitionpublic void setCategory(String category)
setCategory in interface ProcessDefinitionEntitypublic String getDiagramResourceName()
ProcessDefinitiongetDiagramResourceName in interface ProcessDefinitionpublic void setDiagramResourceName(String diagramResourceName)
setDiagramResourceName in interface ProcessDefinitionEntitypublic boolean hasStartFormKey()
ProcessDefinitionstart form key.hasStartFormKey in interface ProcessDefinitionpublic boolean getHasStartFormKey()
getHasStartFormKey in interface ProcessDefinitionEntitypublic void setStartFormKey(boolean hasStartFormKey)
setStartFormKey in interface ProcessDefinitionEntitypublic void setHasStartFormKey(boolean hasStartFormKey)
setHasStartFormKey in interface ProcessDefinitionEntitypublic boolean isGraphicalNotationDefined()
isGraphicalNotationDefined in interface ProcessDefinitionEntitypublic boolean hasGraphicalNotation()
ProcessDefinitionhasGraphicalNotation in interface ProcessDefinitionpublic void setGraphicalNotationDefined(boolean isGraphicalNotationDefined)
setGraphicalNotationDefined in interface ProcessDefinitionEntitypublic int getRevision()
getRevision in interface HasRevisionpublic void setRevision(int revision)
setRevision in interface HasRevisionpublic int getRevisionNext()
getRevisionNext in interface HasRevisionpublic int getSuspensionState()
getSuspensionState in interface ProcessDefinitionEntitypublic void setSuspensionState(int suspensionState)
setSuspensionState in interface ProcessDefinitionEntitypublic boolean isSuspended()
ProcessDefinitionisSuspended in interface ProcessDefinitionpublic Set<Expression> getCandidateStarterUserIdExpressions()
getCandidateStarterUserIdExpressions in interface ProcessDefinitionEntitypublic void addCandidateStarterUserIdExpression(Expression userId)
addCandidateStarterUserIdExpression in interface ProcessDefinitionEntitypublic Set<Expression> getCandidateStarterGroupIdExpressions()
getCandidateStarterGroupIdExpressions in interface ProcessDefinitionEntitypublic void addCandidateStarterGroupIdExpression(Expression groupId)
addCandidateStarterGroupIdExpression in interface ProcessDefinitionEntitypublic ActivitiEventSupport getEventSupport()
getEventSupport in interface ProcessDefinitionEntitypublic String getEngineVersion()
getEngineVersion in interface ProcessDefinitionEntitypublic void setEngineVersion(String engineVersion)
setEngineVersion in interface ProcessDefinitionEntitypublic IOSpecification getIoSpecification()
getIoSpecification in interface ProcessDefinitionEntitypublic void setIoSpecification(IOSpecification ioSpecification)
setIoSpecification in interface ProcessDefinitionEntityCopyright © 2015 Alfresco. All rights reserved.