|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.camunda.bpm.engine.impl.core.model.CoreModelElement
org.camunda.bpm.engine.impl.core.model.CoreActivity
org.camunda.bpm.engine.impl.pvm.process.ScopeImpl
org.camunda.bpm.engine.impl.pvm.process.ProcessDefinitionImpl
org.camunda.bpm.engine.impl.persistence.entity.ProcessDefinitionEntity
public class ProcessDefinitionEntity
| Field Summary | |
|---|---|
protected Set<Expression> |
candidateStarterGroupIdExpressions
|
protected Set<Expression> |
candidateStarterUserIdExpressions
|
protected String |
category
|
protected List<IdentityLinkEntity> |
definitionIdentityLinkEntities
|
protected String |
deploymentId
|
protected String |
diagramResourceName
|
protected boolean |
hasStartFormKey
|
protected Integer |
historyLevel
|
protected boolean |
isGraphicalNotationDefined
|
protected boolean |
isIdentityLinksInitialized
|
protected String |
key
|
protected String |
resourceName
|
protected int |
revision
|
protected StartFormHandler |
startFormHandler
|
protected int |
suspensionState
|
protected Map<String,TaskDefinition> |
taskDefinitions
|
protected int |
version
|
| Fields inherited from class org.camunda.bpm.engine.impl.pvm.process.ProcessDefinitionImpl |
|---|
description, initial, initialActivityStacks, laneSets, name, participantProcess |
| Fields inherited from class org.camunda.bpm.engine.impl.pvm.process.ScopeImpl |
|---|
activities, namedActivities, processDefinition |
| Fields inherited from class org.camunda.bpm.engine.impl.core.model.CoreModelElement |
|---|
id, listeners, properties |
| Constructor Summary | |
|---|---|
ProcessDefinitionEntity()
|
|
| Method Summary | |
|---|---|
void |
addCandidateStarterGroupIdExpression(Expression groupId)
|
void |
addCandidateStarterUserIdExpression(Expression userId)
|
IdentityLinkEntity |
addIdentityLink(String userId,
String groupId)
|
ExecutionEntity |
createProcessInstance()
|
ExecutionEntity |
createProcessInstance(String businessKey)
|
ExecutionEntity |
createProcessInstance(String businessKey,
ActivityImpl initial)
|
void |
deleteIdentityLink(String userId,
String groupId)
|
protected void |
ensureNotSuspended()
|
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). |
boolean |
getHasStartFormKey()
|
Integer |
getHistoryLevel()
|
List<IdentityLinkEntity> |
getIdentityLinks()
|
String |
getKey()
unique name for all versions this process definitions |
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()
|
StartFormHandler |
getStartFormHandler()
|
int |
getSuspensionState()
|
Map<String,TaskDefinition> |
getTaskDefinitions()
|
int |
getVersion()
version of this process definition |
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. |
protected PvmExecutionImpl |
newProcessInstance(ActivityImpl activityImpl)
|
void |
setCategory(String category)
|
void |
setDeploymentId(String deploymentId)
|
void |
setDiagramResourceName(String diagramResourceName)
|
void |
setGraphicalNotationDefined(boolean isGraphicalNotationDefined)
|
void |
setHasStartFormKey(boolean hasStartFormKey)
|
void |
setHistoryLevel(Integer historyLevel)
|
void |
setId(String id)
|
void |
setKey(String key)
|
void |
setResourceName(String resourceName)
|
void |
setRevision(int revision)
|
void |
setStartFormHandler(StartFormHandler startFormHandler)
|
void |
setStartFormKey(boolean hasStartFormKey)
|
void |
setSuspensionState(int suspensionState)
|
void |
setTaskDefinitions(Map<String,TaskDefinition> taskDefinitions)
|
void |
setVersion(int version)
|
String |
toString()
|
void |
updateModifiedFieldsFromEntity(ProcessDefinitionEntity updatingProcessDefinition)
Updates all modifiable fields from another process definition entity. |
| Methods inherited from class org.camunda.bpm.engine.impl.pvm.process.ProcessDefinitionImpl |
|---|
addLaneSet, createProcessInstanceForInitial, getActivityBehavior, getInitial, getInitialActivityStack, getInitialActivityStack, getLaneForId, getLaneSets, getParentScope, getParticipantProcess, setInitial, setParticipantProcess |
| Methods inherited from class org.camunda.bpm.engine.impl.pvm.process.ScopeImpl |
|---|
addExecutionListener, addExecutionListener, contains, createActivity, findActivity, getActivities, getChildActivity, getExecutionListeners, getExecutionListeners, getProcessDefinition |
| Methods inherited from class org.camunda.bpm.engine.impl.core.model.CoreActivity |
|---|
createActivity |
| Methods inherited from class org.camunda.bpm.engine.impl.core.model.CoreModelElement |
|---|
addListener, addListener, getId, getListeners, getListeners, getName, getProperties, getProperty, setName, setProperties, setProperty |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.camunda.bpm.engine.repository.ProcessDefinition |
|---|
getId, getName |
| Methods inherited from interface org.camunda.bpm.engine.impl.db.PersistentObject |
|---|
getId |
| Methods inherited from interface org.camunda.bpm.engine.impl.pvm.ReadOnlyProcessDefinition |
|---|
getName |
| Methods inherited from interface org.camunda.bpm.engine.impl.pvm.PvmScope |
|---|
findActivity, getActivities |
| Methods inherited from interface org.camunda.bpm.engine.impl.pvm.PvmProcessElement |
|---|
getId, getProcessDefinition, getProperty |
| Field Detail |
|---|
protected String key
protected int revision
protected int version
protected String category
protected String deploymentId
protected String resourceName
protected Integer historyLevel
protected StartFormHandler startFormHandler
protected String diagramResourceName
protected boolean isGraphicalNotationDefined
protected Map<String,TaskDefinition> taskDefinitions
protected boolean hasStartFormKey
protected int suspensionState
protected boolean isIdentityLinksInitialized
protected List<IdentityLinkEntity> definitionIdentityLinkEntities
protected Set<Expression> candidateStarterUserIdExpressions
protected Set<Expression> candidateStarterGroupIdExpressions
| Constructor Detail |
|---|
public ProcessDefinitionEntity()
| Method Detail |
|---|
protected void ensureNotSuspended()
public ExecutionEntity createProcessInstance(String businessKey,
ActivityImpl initial)
public ExecutionEntity createProcessInstance(String businessKey)
public ExecutionEntity createProcessInstance()
createProcessInstance in interface PvmProcessDefinitioncreateProcessInstance in class ProcessDefinitionImplprotected PvmExecutionImpl newProcessInstance(ActivityImpl activityImpl)
newProcessInstance in class ProcessDefinitionImpl
public IdentityLinkEntity addIdentityLink(String userId,
String groupId)
public void deleteIdentityLink(String userId,
String groupId)
public List<IdentityLinkEntity> getIdentityLinks()
public String toString()
toString in class ProcessDefinitionImplpublic void updateModifiedFieldsFromEntity(ProcessDefinitionEntity updatingProcessDefinition)
updatingProcessDefinition - public Object getPersistentState()
PersistentObject
getPersistentState in interface PersistentObjectpublic String getKey()
ProcessDefinition
getKey in interface ProcessDefinitionpublic void setKey(String key)
public String getDescription()
ProcessDefinition
getDescription in interface ReadOnlyProcessDefinitiongetDescription in interface ProcessDefinitiongetDescription in class ProcessDefinitionImplpublic String getDeploymentId()
ProcessDefinition
getDeploymentId in interface PvmProcessDefinitiongetDeploymentId in interface ProcessDefinitiongetDeploymentId in class ProcessDefinitionImplpublic void setDeploymentId(String deploymentId)
public int getVersion()
ProcessDefinition
getVersion in interface ProcessDefinitionpublic void setVersion(int version)
public void setId(String id)
setId in interface PersistentObjectsetId in class CoreModelElementpublic String getResourceName()
ProcessDefinitionthe resource
of this process definition.
getResourceName in interface ProcessDefinitionpublic void setResourceName(String resourceName)
public Integer getHistoryLevel()
public void setHistoryLevel(Integer historyLevel)
public StartFormHandler getStartFormHandler()
public void setStartFormHandler(StartFormHandler startFormHandler)
public Map<String,TaskDefinition> getTaskDefinitions()
public void setTaskDefinitions(Map<String,TaskDefinition> taskDefinitions)
public String getCategory()
ProcessDefinition
getCategory in interface ProcessDefinitionpublic void setCategory(String category)
public String getDiagramResourceName()
ProcessDefinition
getDiagramResourceName in interface ReadOnlyProcessDefinitiongetDiagramResourceName in interface ProcessDefinitiongetDiagramResourceName in class ProcessDefinitionImplpublic void setDiagramResourceName(String diagramResourceName)
public boolean hasStartFormKey()
ProcessDefinitionstart form key.
hasStartFormKey in interface ProcessDefinitionpublic boolean getHasStartFormKey()
public void setStartFormKey(boolean hasStartFormKey)
public void setHasStartFormKey(boolean hasStartFormKey)
public boolean isGraphicalNotationDefined()
public void setGraphicalNotationDefined(boolean isGraphicalNotationDefined)
public int getRevision()
getRevision in interface HasRevisionpublic void setRevision(int revision)
setRevision in interface HasRevisionpublic int getRevisionNext()
getRevisionNext in interface HasRevisionpublic int getSuspensionState()
public void setSuspensionState(int suspensionState)
public boolean isSuspended()
ProcessDefinition
isSuspended in interface ProcessDefinitionpublic Set<Expression> getCandidateStarterUserIdExpressions()
public void addCandidateStarterUserIdExpression(Expression userId)
public Set<Expression> getCandidateStarterGroupIdExpressions()
public void addCandidateStarterGroupIdExpression(Expression groupId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||