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()
Entity
getPersistentState
in interface Entity
public List<IdentityLinkEntity> getIdentityLinks()
getIdentityLinks
in interface ProcessDefinitionEntity
public String getKey()
ProcessDefinition
getKey
in interface ProcessDefinition
public void setKey(String key)
setKey
in interface ProcessDefinitionEntity
public String getName()
ProcessDefinition
getName
in interface ProcessDefinition
public void setName(String name)
setName
in interface ProcessDefinitionEntity
public void setDescription(String description)
setDescription
in interface ProcessDefinitionEntity
public String getDescription()
ProcessDefinition
getDescription
in interface ProcessDefinition
public String getDeploymentId()
ProcessDefinition
getDeploymentId
in interface ProcessDefinition
public void setDeploymentId(String deploymentId)
setDeploymentId
in interface ProcessDefinitionEntity
public int getVersion()
ProcessDefinition
getVersion
in interface ProcessDefinition
public void setVersion(int version)
setVersion
in interface ProcessDefinitionEntity
public String getId()
ProcessDefinition
getId
in interface Entity
getId
in interface ProcessDefinition
public String getResourceName()
ProcessDefinition
the resource
of this process definition.getResourceName
in interface ProcessDefinition
public void setResourceName(String resourceName)
setResourceName
in interface ProcessDefinitionEntity
public String getTenantId()
ProcessDefinition
getTenantId
in interface ProcessDefinition
public void setTenantId(String tenantId)
setTenantId
in interface ProcessDefinitionEntity
public Integer getHistoryLevel()
getHistoryLevel
in interface ProcessDefinitionEntity
public void setHistoryLevel(Integer historyLevel)
setHistoryLevel
in interface ProcessDefinitionEntity
public Map<String,Object> getVariables()
getVariables
in interface ProcessDefinitionEntity
public void setVariables(Map<String,Object> variables)
setVariables
in interface ProcessDefinitionEntity
public String getCategory()
ProcessDefinition
getCategory
in interface ProcessDefinition
public void setCategory(String category)
setCategory
in interface ProcessDefinitionEntity
public String getDiagramResourceName()
ProcessDefinition
getDiagramResourceName
in interface ProcessDefinition
public void setDiagramResourceName(String diagramResourceName)
setDiagramResourceName
in interface ProcessDefinitionEntity
public boolean hasStartFormKey()
ProcessDefinition
start form key
.hasStartFormKey
in interface ProcessDefinition
public boolean getHasStartFormKey()
getHasStartFormKey
in interface ProcessDefinitionEntity
public void setStartFormKey(boolean hasStartFormKey)
setStartFormKey
in interface ProcessDefinitionEntity
public void setHasStartFormKey(boolean hasStartFormKey)
setHasStartFormKey
in interface ProcessDefinitionEntity
public boolean isGraphicalNotationDefined()
isGraphicalNotationDefined
in interface ProcessDefinitionEntity
public boolean hasGraphicalNotation()
ProcessDefinition
hasGraphicalNotation
in interface ProcessDefinition
public void setGraphicalNotationDefined(boolean isGraphicalNotationDefined)
setGraphicalNotationDefined
in interface ProcessDefinitionEntity
public int getRevision()
getRevision
in interface HasRevision
public void setRevision(int revision)
setRevision
in interface HasRevision
public int getRevisionNext()
getRevisionNext
in interface HasRevision
public int getSuspensionState()
getSuspensionState
in interface ProcessDefinitionEntity
public void setSuspensionState(int suspensionState)
setSuspensionState
in interface ProcessDefinitionEntity
public boolean isSuspended()
ProcessDefinition
isSuspended
in interface ProcessDefinition
public Set<Expression> getCandidateStarterUserIdExpressions()
getCandidateStarterUserIdExpressions
in interface ProcessDefinitionEntity
public void addCandidateStarterUserIdExpression(Expression userId)
addCandidateStarterUserIdExpression
in interface ProcessDefinitionEntity
public Set<Expression> getCandidateStarterGroupIdExpressions()
getCandidateStarterGroupIdExpressions
in interface ProcessDefinitionEntity
public void addCandidateStarterGroupIdExpression(Expression groupId)
addCandidateStarterGroupIdExpression
in interface ProcessDefinitionEntity
public ActivitiEventSupport getEventSupport()
getEventSupport
in interface ProcessDefinitionEntity
public String getEngineVersion()
getEngineVersion
in interface ProcessDefinitionEntity
public void setEngineVersion(String engineVersion)
setEngineVersion
in interface ProcessDefinitionEntity
public IOSpecification getIoSpecification()
getIoSpecification
in interface ProcessDefinitionEntity
public void setIoSpecification(IOSpecification ioSpecification)
setIoSpecification
in interface ProcessDefinitionEntity
Copyright © 2015 Alfresco. All rights reserved.