Package org.activiti.bpmn.model
Class Process
java.lang.Object
org.activiti.bpmn.model.BaseElement
org.activiti.bpmn.model.Process
- All Implemented Interfaces:
AcceptUpdates,FlowElementsContainer,HasExecutionListeners,HasExtensionAttributes
public class Process
extends BaseElement
implements FlowElementsContainer, HasExecutionListeners, AcceptUpdates
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected booleanprotected List<ValuedDataObject> protected Stringprotected List<EventListener> protected booleanprotected List<ActivitiListener> protected List<FlowElement> protected Map<String, FlowElement> protected FlowElementprotected IOSpecificationprotected StringFields inherited from class org.activiti.bpmn.model.BaseElement
attributes, extensionElements, id, xmlColumnNumber, xmlRowNumber -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(ReferenceOverrider referenceOverrider) voidaddArtifact(Artifact artifact) voidaddFlowElement(FlowElement element) voidaddFlowElementToMap(FlowElement element) clone()booleanfindAssociationsWithSourceRefRecursive(String sourceRef) protected List<Association> findAssociationsWithSourceRefRecursive(FlowElementsContainer flowElementsContainer, String sourceRef) findAssociationsWithTargetRefRecursive(String targetRef) protected List<Association> findAssociationsWithTargetRefRecursive(FlowElementsContainer flowElementsContainer, String targetRef) protected FlowElementfindFlowElementInList(String flowElementId) <FlowElementType extends FlowElement>
List<FlowElementType> findFlowElementsInSubProcessOfType(SubProcess subProcess, Class<FlowElementType> type) <FlowElementType extends FlowElement>
List<FlowElementType> findFlowElementsInSubProcessOfType(SubProcess subProcess, Class<FlowElementType> type, boolean goIntoSubprocesses) <FlowElementType extends FlowElement>
List<FlowElementType> findFlowElementsOfType(Class<FlowElementType> type) <FlowElementType extends FlowElement>
List<FlowElementType> findFlowElementsOfType(Class<FlowElementType> type, boolean goIntoSubprocesses) findParent(FlowElement childElement) findParent(FlowElement childElement, FlowElementsContainer flowElementsContainer) getArtifact(String id) getFlowElement(String flowElementId) getFlowElement(String flowElementId, boolean searchRecurive) getFlowElementsContainer(String flowElementId) Searches the whole process, including subprocessesprotected FlowElementsContainergetFlowElementsContainer(FlowElementsContainer flowElementsContainer, String flowElementId) getLanes()getName()booleanbooleanbooleanvoidremoveArtifact(String artifactId) voidremoveFlowElement(String elementId) voidremoveFlowElementFromMap(String elementId) voidsetCandidateStarterGroups(List<String> candidateStarterGroups) voidsetCandidateStarterGroupsDefined(boolean candidateStarterGroupsDefined) voidsetCandidateStarterUsers(List<String> candidateStarterUsers) voidsetCandidateStarterUsersDefined(boolean candidateStarterUsersDefined) voidsetDataObjects(List<ValuedDataObject> dataObjects) voidsetDocumentation(String documentation) voidsetEventListeners(List<EventListener> eventListeners) voidsetExecutable(boolean executable) voidsetExecutionListeners(List<ActivitiListener> executionListeners) voidsetFlowElementMap(Map<String, FlowElement> flowElementMap) voidsetInitialFlowElement(FlowElement initialFlowElement) voidsetIoSpecification(IOSpecification ioSpecification) voidvoidvoidMethods inherited from class org.activiti.bpmn.model.BaseElement
addAttribute, addExtensionElement, getAttributes, getAttributeValue, getExtensionElements, getId, getXmlColumnNumber, getXmlRowNumber, setAttributes, setExtensionElements, setId, setValues, setXmlColumnNumber, setXmlRowNumber
-
Field Details
-
name
-
executable
protected boolean executable -
documentation
-
ioSpecification
-
executionListeners
-
lanes
-
flowElementList
-
dataObjects
-
artifactList
-
candidateStarterUsers
-
candidateStarterGroups
-
eventListeners
-
flowElementMap
-
candidateStarterUsersDefined
protected boolean candidateStarterUsersDefined -
candidateStarterGroupsDefined
protected boolean candidateStarterGroupsDefined -
initialFlowElement
-
-
Constructor Details
-
Process
public Process()
-
-
Method Details
-
getDocumentation
-
setDocumentation
-
getName
-
setName
-
isExecutable
public boolean isExecutable() -
setExecutable
public void setExecutable(boolean executable) -
getIoSpecification
-
setIoSpecification
-
getExecutionListeners
- Specified by:
getExecutionListenersin interfaceHasExecutionListeners
-
setExecutionListeners
- Specified by:
setExecutionListenersin interfaceHasExecutionListeners
-
getLanes
-
setLanes
-
getFlowElementMap
- Specified by:
getFlowElementMapin interfaceFlowElementsContainer
-
setFlowElementMap
-
containsFlowElementId
-
getFlowElement
- Specified by:
getFlowElementin interfaceFlowElementsContainer
-
getFlowElement
- Parameters:
searchRecurive- : searches the whole process, including subprocesses
-
findAssociationsWithSourceRefRecursive
-
findAssociationsWithSourceRefRecursive
protected List<Association> findAssociationsWithSourceRefRecursive(FlowElementsContainer flowElementsContainer, String sourceRef) -
findAssociationsWithTargetRefRecursive
-
findAssociationsWithTargetRefRecursive
protected List<Association> findAssociationsWithTargetRefRecursive(FlowElementsContainer flowElementsContainer, String targetRef) -
getFlowElementsContainer
Searches the whole process, including subprocesses -
getFlowElementsContainer
protected FlowElementsContainer getFlowElementsContainer(FlowElementsContainer flowElementsContainer, String flowElementId) -
findFlowElementInList
-
getFlowElements
- Specified by:
getFlowElementsin interfaceFlowElementsContainer
-
addFlowElement
- Specified by:
addFlowElementin interfaceFlowElementsContainer
-
addFlowElementToMap
- Specified by:
addFlowElementToMapin interfaceFlowElementsContainer
-
removeFlowElement
- Specified by:
removeFlowElementin interfaceFlowElementsContainer
-
removeFlowElementFromMap
- Specified by:
removeFlowElementFromMapin interfaceFlowElementsContainer
-
getArtifact
- Specified by:
getArtifactin interfaceFlowElementsContainer
-
getArtifacts
- Specified by:
getArtifactsin interfaceFlowElementsContainer
-
addArtifact
- Specified by:
addArtifactin interfaceFlowElementsContainer
-
removeArtifact
- Specified by:
removeArtifactin interfaceFlowElementsContainer
-
getCandidateStarterUsers
-
setCandidateStarterUsers
-
getCandidateStarterGroups
-
setCandidateStarterGroups
-
isCandidateStarterUsersDefined
public boolean isCandidateStarterUsersDefined() -
setCandidateStarterUsersDefined
public void setCandidateStarterUsersDefined(boolean candidateStarterUsersDefined) -
isCandidateStarterGroupsDefined
public boolean isCandidateStarterGroupsDefined() -
setCandidateStarterGroupsDefined
public void setCandidateStarterGroupsDefined(boolean candidateStarterGroupsDefined) -
getEventListeners
-
setEventListeners
-
findFlowElementsOfType
public <FlowElementType extends FlowElement> List<FlowElementType> findFlowElementsOfType(Class<FlowElementType> type) -
findFlowElementsOfType
public <FlowElementType extends FlowElement> List<FlowElementType> findFlowElementsOfType(Class<FlowElementType> type, boolean goIntoSubprocesses) -
findFlowElementsInSubProcessOfType
public <FlowElementType extends FlowElement> List<FlowElementType> findFlowElementsInSubProcessOfType(SubProcess subProcess, Class<FlowElementType> type) -
findFlowElementsInSubProcessOfType
public <FlowElementType extends FlowElement> List<FlowElementType> findFlowElementsInSubProcessOfType(SubProcess subProcess, Class<FlowElementType> type, boolean goIntoSubprocesses) -
findParent
-
findParent
public FlowElementsContainer findParent(FlowElement childElement, FlowElementsContainer flowElementsContainer) -
clone
- Specified by:
clonein classBaseElement
-
setValues
-
getDataObjects
-
setDataObjects
-
getInitialFlowElement
-
setInitialFlowElement
-
accept
- Specified by:
acceptin interfaceAcceptUpdates
-