public abstract class ScopeImpl extends CoreActivity implements PvmScope
flow scope is this scope
 - event listener activities (activities for which the event scope is this scope.| Modifier and Type | Field and Description | 
|---|---|
| protected List<ActivityImpl> | flowActivitiesThe activities for which the flow scope is this scope | 
| protected boolean | isSubProcessScope | 
| protected Map<String,ActivityImpl> | namedFlowActivities | 
| protected ProcessDefinitionImpl | processDefinition | 
ioMappingbuiltInListeners, builtInVariableListeners, id, listeners, name, properties, variableListeners| Constructor and Description | 
|---|
| ScopeImpl(String id,
         ProcessDefinitionImpl processDefinition) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addExecutionListener(String eventName,
                    ExecutionListener executionListener)Deprecated.  | 
| void | addExecutionListener(String eventName,
                    ExecutionListener executionListener,
                    int index)Deprecated.  | 
| boolean | contains(ActivityImpl activity) | 
| ActivityImpl | createActivity(String activityId) | 
| ActivityImpl | findActivity(String activityId)searches for the activity recursively | 
| ActivityImpl | findActivityAtLevelOfSubprocess(String activityId)Finds an activity at the same level of subprocess. | 
| TransitionImpl | findTransition(String transitionId)Recursively finds a transition. | 
| List<ActivityImpl> | getActivities()Returns the flow activities of this scope. | 
| ActivityImpl | getChildActivity(String activityId)searches for the activity locally | 
| Map<String,List<ExecutionListener>> | getExecutionListeners()Deprecated.  | 
| List<ExecutionListener> | getExecutionListeners(String eventName)Deprecated.  | 
| ProcessDefinitionImpl | getProcessDefinition()The process definition scope, root of the scope hierarchy. | 
| boolean | isSubProcessScope()Indicates whether this scope is a sub process scope. | 
| void | setSubProcessScope(boolean isSubProcessScope) | 
createActivity, getActivityBehavior, getIoMapping, setIoMapping, toStringaddBuiltInListener, addBuiltInListener, addBuiltInVariableListener, addBuiltInVariableListener, addListener, addListener, addListenerToMap, addVariableListener, addVariableListener, getBuiltInListeners, getBuiltInListeners, getBuiltInVariableListeners, getBuiltInVariableListenersLocal, getId, getListeners, getListeners, getName, getProperties, getProperty, getVariableListeners, getVariableListenersLocal, setId, setName, setProperties, setPropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetEventScope, getFlowScope, getLevelOfSubprocessScope, isScopegetId, getPropertyprotected boolean isSubProcessScope
protected List<ActivityImpl> flowActivities
protected Map<String,ActivityImpl> namedFlowActivities
protected ProcessDefinitionImpl processDefinition
public ScopeImpl(String id, ProcessDefinitionImpl processDefinition)
public ActivityImpl findActivity(String activityId)
CoreActivityfindActivity in interface PvmScopefindActivity in class CoreActivityactivityId - the id of the activity to find.public TransitionImpl findTransition(String transitionId)
PvmScopefindTransition in interface PvmScopetransitionId - the transiton to findpublic ActivityImpl findActivityAtLevelOfSubprocess(String activityId)
PvmScopefindActivityAtLevelOfSubprocess in interface PvmScopeactivityId - the id of the activity to find.public ActivityImpl getChildActivity(String activityId)
getChildActivity in class CoreActivitypublic ActivityImpl createActivity(String activityId)
createActivity in class CoreActivitypublic boolean contains(ActivityImpl activity)
@Deprecated public List<ExecutionListener> getExecutionListeners(String eventName)
@Deprecated public void addExecutionListener(String eventName, ExecutionListener executionListener)
@Deprecated public void addExecutionListener(String eventName, ExecutionListener executionListener, int index)
@Deprecated public Map<String,List<ExecutionListener>> getExecutionListeners()
public List<ActivityImpl> getActivities()
PvmScopeflow scope.getActivities in interface PvmScopegetActivities in class CoreActivitypublic boolean isSubProcessScope()
PvmScopeisSubProcessScope in interface PvmScopepublic void setSubProcessScope(boolean isSubProcessScope)
public ProcessDefinitionImpl getProcessDefinition()
PvmProcessElementgetProcessDefinition in interface PvmProcessElementCopyright © 2018. All rights reserved.