org.activiti.engine.impl.persistence.entity
类 ProcessDefinitionEntity

java.lang.Object
  继承者 org.activiti.engine.impl.pvm.process.ProcessElementImpl
      继承者 org.activiti.engine.impl.pvm.process.ScopeImpl
          继承者 org.activiti.engine.impl.pvm.process.ProcessDefinitionImpl
              继承者 org.activiti.engine.impl.persistence.entity.ProcessDefinitionEntity
所有已实现的接口:
Serializable, HasRevision, PersistentObject, PvmProcessDefinition, PvmProcessElement, PvmScope, ReadOnlyProcessDefinition, ProcessDefinition

public class ProcessDefinitionEntity
extends ProcessDefinitionImpl
implements ProcessDefinition, PersistentObject, HasRevision

作者:
Tom Baeyens, Daniel Meyer
另请参见:
序列化表格

字段摘要
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
           
 
从类 org.activiti.engine.impl.pvm.process.ProcessDefinitionImpl 继承的字段
description, initial, initialActivityStacks, laneSets, name, participantProcess
 
从类 org.activiti.engine.impl.pvm.process.ScopeImpl 继承的字段
activities, executionListeners, ioSpecification, namedActivities
 
从类 org.activiti.engine.impl.pvm.process.ProcessElementImpl 继承的字段
id, processDefinition, properties
 
构造方法摘要
ProcessDefinitionEntity()
           
 
方法摘要
 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)
           
 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  InterpretableExecution newProcessInstance(ActivityImpl activityImpl)
           
 void setCategory(String category)
           
 void setDeploymentId(String deploymentId)
           
 void setDescription(String description)
           
 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()
           
 
从类 org.activiti.engine.impl.pvm.process.ProcessDefinitionImpl 继承的方法
addLaneSet, createProcessInstanceForInitial, getInitial, getInitialActivityStack, getInitialActivityStack, getLaneForId, getLaneSets, getName, getParticipantProcess, setInitial, setName, setParticipantProcess
 
从类 org.activiti.engine.impl.pvm.process.ScopeImpl 继承的方法
addExecutionListener, addExecutionListener, contains, createActivity, createActivity, findActivity, getActivities, getExecutionListeners, getExecutionListeners, getIoSpecification, setIoSpecification
 
从类 org.activiti.engine.impl.pvm.process.ProcessElementImpl 继承的方法
getId, getProcessDefinition, getProperties, getProperty, setProperties, setProperty
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
从接口 org.activiti.engine.repository.ProcessDefinition 继承的方法
getId, getName
 
从接口 org.activiti.engine.impl.db.PersistentObject 继承的方法
getId
 
从接口 org.activiti.engine.impl.pvm.PvmScope 继承的方法
findActivity, getActivities
 
从接口 org.activiti.engine.impl.pvm.PvmProcessElement 继承的方法
getId, getProcessDefinition, getProperty
 

字段详细信息

key

protected String key

revision

protected int revision

version

protected int version

category

protected String category

deploymentId

protected String deploymentId

resourceName

protected String resourceName

historyLevel

protected Integer historyLevel

startFormHandler

protected StartFormHandler startFormHandler

diagramResourceName

protected String diagramResourceName

isGraphicalNotationDefined

protected boolean isGraphicalNotationDefined

taskDefinitions

protected Map<String,TaskDefinition> taskDefinitions

hasStartFormKey

protected boolean hasStartFormKey

suspensionState

protected int suspensionState

isIdentityLinksInitialized

protected boolean isIdentityLinksInitialized

definitionIdentityLinkEntities

protected List<IdentityLinkEntity> definitionIdentityLinkEntities

candidateStarterUserIdExpressions

protected Set<Expression> candidateStarterUserIdExpressions

candidateStarterGroupIdExpressions

protected Set<Expression> candidateStarterGroupIdExpressions
构造方法详细信息

ProcessDefinitionEntity

public ProcessDefinitionEntity()
方法详细信息

createProcessInstance

public ExecutionEntity createProcessInstance(String businessKey,
                                             ActivityImpl initial)

createProcessInstance

public ExecutionEntity createProcessInstance(String businessKey)

createProcessInstance

public ExecutionEntity createProcessInstance()
指定者:
接口 PvmProcessDefinition 中的 createProcessInstance
覆盖:
ProcessDefinitionImpl 中的 createProcessInstance

newProcessInstance

protected InterpretableExecution newProcessInstance(ActivityImpl activityImpl)
覆盖:
ProcessDefinitionImpl 中的 newProcessInstance

addIdentityLink

public IdentityLinkEntity addIdentityLink(String userId,
                                          String groupId)

deleteIdentityLink

public void deleteIdentityLink(String userId,
                               String groupId)

getIdentityLinks

public List<IdentityLinkEntity> getIdentityLinks()

toString

public String toString()
覆盖:
ProcessDefinitionImpl 中的 toString

getPersistentState

public Object getPersistentState()
从接口 PersistentObject 复制的描述
Returns a representation of the object, as would be stored in the database. Used when deciding if updates have occurred to the object or not since it was last loaded.

指定者:
接口 PersistentObject 中的 getPersistentState

getKey

public String getKey()
从接口 ProcessDefinition 复制的描述
unique name for all versions this process definitions

指定者:
接口 ReadOnlyProcessDefinition 中的 getKey
指定者:
接口 ProcessDefinition 中的 getKey
覆盖:
ProcessDefinitionImpl 中的 getKey

setKey

public void setKey(String key)
覆盖:
ProcessDefinitionImpl 中的 setKey

setDescription

public void setDescription(String description)

getDescription

public String getDescription()
从接口 ProcessDefinition 复制的描述
description of this process

指定者:
接口 ReadOnlyProcessDefinition 中的 getDescription
指定者:
接口 ProcessDefinition 中的 getDescription
覆盖:
ProcessDefinitionImpl 中的 getDescription

getDeploymentId

public String getDeploymentId()
从接口 ProcessDefinition 复制的描述
The deployment in which this process definition is contained.

指定者:
接口 PvmProcessDefinition 中的 getDeploymentId
指定者:
接口 ProcessDefinition 中的 getDeploymentId
覆盖:
ProcessDefinitionImpl 中的 getDeploymentId

setDeploymentId

public void setDeploymentId(String deploymentId)

getVersion

public int getVersion()
从接口 ProcessDefinition 复制的描述
version of this process definition

指定者:
接口 ProcessDefinition 中的 getVersion

setVersion

public void setVersion(int version)

setId

public void setId(String id)
指定者:
接口 PersistentObject 中的 setId

getResourceName

public String getResourceName()
从接口 ProcessDefinition 复制的描述
name of the resource of this process definition.

指定者:
接口 ProcessDefinition 中的 getResourceName

setResourceName

public void setResourceName(String resourceName)

getHistoryLevel

public Integer getHistoryLevel()

setHistoryLevel

public void setHistoryLevel(Integer historyLevel)

getStartFormHandler

public StartFormHandler getStartFormHandler()

setStartFormHandler

public void setStartFormHandler(StartFormHandler startFormHandler)

getTaskDefinitions

public Map<String,TaskDefinition> getTaskDefinitions()

setTaskDefinitions

public void setTaskDefinitions(Map<String,TaskDefinition> taskDefinitions)

getCategory

public String getCategory()
从接口 ProcessDefinition 复制的描述
category name which is derived from the targetNamespace attribute in the definitions element

指定者:
接口 ProcessDefinition 中的 getCategory

setCategory

public void setCategory(String category)

getDiagramResourceName

public String getDiagramResourceName()
从接口 ProcessDefinition 复制的描述
The resource name in the deployment of the diagram image (if any).

指定者:
接口 ReadOnlyProcessDefinition 中的 getDiagramResourceName
指定者:
接口 ProcessDefinition 中的 getDiagramResourceName
覆盖:
ProcessDefinitionImpl 中的 getDiagramResourceName

setDiagramResourceName

public void setDiagramResourceName(String diagramResourceName)

hasStartFormKey

public boolean hasStartFormKey()
从接口 ProcessDefinition 复制的描述
Does this process definition has a start form key.

指定者:
接口 ProcessDefinition 中的 hasStartFormKey

getHasStartFormKey

public boolean getHasStartFormKey()

setStartFormKey

public void setStartFormKey(boolean hasStartFormKey)

setHasStartFormKey

public void setHasStartFormKey(boolean hasStartFormKey)

isGraphicalNotationDefined

public boolean isGraphicalNotationDefined()

setGraphicalNotationDefined

public void setGraphicalNotationDefined(boolean isGraphicalNotationDefined)

getRevision

public int getRevision()
指定者:
接口 HasRevision 中的 getRevision

setRevision

public void setRevision(int revision)
指定者:
接口 HasRevision 中的 setRevision

getRevisionNext

public int getRevisionNext()
指定者:
接口 HasRevision 中的 getRevisionNext

getSuspensionState

public int getSuspensionState()

setSuspensionState

public void setSuspensionState(int suspensionState)

isSuspended

public boolean isSuspended()
从接口 ProcessDefinition 复制的描述
Returns true if the process definition is in suspended state.

指定者:
接口 ProcessDefinition 中的 isSuspended

getCandidateStarterUserIdExpressions

public Set<Expression> getCandidateStarterUserIdExpressions()

addCandidateStarterUserIdExpression

public void addCandidateStarterUserIdExpression(Expression userId)

getCandidateStarterGroupIdExpressions

public Set<Expression> getCandidateStarterGroupIdExpressions()

addCandidateStarterGroupIdExpression

public void addCandidateStarterGroupIdExpression(Expression groupId)


Copyright © 2013 Alfresco. All rights reserved.