|
Oracle Fusion Middleware Java API Reference for Oracle BPM Suite 11g Release 1 (11.1.1.7.0) E25378-07 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IGrabMultipleInstancesContextRequest
A request to get state data for multiple instances.
The following example shows how to create a multiple grab instance context request. In this case, the request specifies to get all the open activities of the root location for each instance.
Collection processInstances = getProcessInstances(...);
Collection locations =
Collections.nCopies(getSelectedProcessInstances().size(),
LocationInfo.ROOT_LOCATION);
InstanceContextConfiguration.Builder builder =
new InstanceContextConfiguration.Builder();
builder.includeOpenActivities();
IInstanceContextConfiguration conf = builder.build();
IGrabMultipleInstancesContextRequest request =
GrabMultipleInstancesContextRequest.create(processDn,
instances,
true,
locations,
conf);
| Method Summary | |
|---|---|
IInstanceContextConfiguration |
getInstanceContextConfiguration()
Returns the specified configuration of this request. |
java.lang.Iterable<ILocationInfo> |
getLocations()
Returns an Iterable containing the target locations of the tree-structure
activities hierarchy of the process specified for each process instances
in this request. |
java.lang.String |
getProcessDN()
Gets the process DN of the process instances used for this request. |
java.lang.Iterable<IProcessInstance> |
getProcessInstances()
Gets the process instances to which the grab context is requested. |
boolean |
isSuspendInstancesIfRequired()
Returns whether the process instance is suspended when executing the request. |
| Method Detail |
|---|
java.lang.String getProcessDN()
java.lang.Iterable<IProcessInstance> getProcessInstances()
Iterable collection of process instancesboolean isSuspendInstancesIfRequired()
java.lang.Iterable<ILocationInfo> getLocations()
Iterable containing the target locations of the tree-structure
activities hierarchy of the process specified for each process instances
in this request.
Iterable collection containing ILocationInfo.LocationInfo,
IGrabInstanceContextIInstanceContextConfiguration getInstanceContextConfiguration()
IInstanceContextConfiguration instance of this request
|
Oracle Fusion Middleware Java API Reference for Oracle BPM Suite 11g Release 1 (11.1.1.7.0) E25378-07 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||