|
ALBPM Process API (PAPI) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfuego.papi.SearchScope
Restricts the set of instances returned in a Filter by specifying the process instance status
(StatusScope) and participant roles (ParticipantScope).
//Include all instances of the process.
SearchScope searchScope = new SearchScope(fuego.papi.ParticipantScope.ALL,
fuego.papi.StatusScope.ALL);
// Include all instances in the process for a particular participant.
SearchScope searchScope = new SearchScope(fuego.papi.ParticipantScope.PARTICIPANT,
fuego.papi.StatusScope.ALL);
// Include all running instances in the process.
SearchScope searchScope = new SearchScope(fuego.papi.ParticipantScope.ALL,
fuego.papi.StatusScope.ONLY_INPROCESS);
Filter,
fuego.papi.ParticipantScope,
fuego.papi.StatusScope,
Serialized Form| Constructor Summary | |
SearchScope(ParticipantScope participantScope,
StatusScope statusScope)
Creates a new SearchScope with the specified participant and status scopes and an empty activity scope. |
|
SearchScope(ParticipantScope participantScope,
StatusScope statusScope,
String activityScope)
Deprecated. do not use activity scope |
|
| Method Summary | |
String |
getActivityScope()
Deprecated. do not use activity scope |
ParticipantScope |
getParticipantScope()
Gets the participant scope of this search. |
StatusScope |
getStatusScope()
Gets the status scope of this search. |
void |
setActivityScope(String activityScope)
Deprecated. do not use activity scope |
void |
setParticipantScope(ParticipantScope participantScope)
Sets a new participant scope. |
void |
setStatusScope(StatusScope statusScope)
Sets a new status scope. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SearchScope(ParticipantScope participantScope,
StatusScope statusScope)
participantScope - the participant scope to searchstatusScope - the status scope to searchfuego.papi.ParticipantScope,
fuego.papi.StatusScope
public SearchScope(ParticipantScope participantScope,
StatusScope statusScope,
String activityScope)
participantScope - the participant scope to searchstatusScope - the status scope to searchactivityScope - the activity scope (activity name)fuego.papi.ParticipantScope,
fuego.papi.StatusScope| Method Detail |
public void setActivityScope(String activityScope)
activityScope - activity name to refine the searchpublic String getActivityScope()
null if no activity is foundpublic void setParticipantScope(ParticipantScope participantScope)
participantScope - the participant scope to refine the searchfuego.papi.ParticipantScopepublic ParticipantScope getParticipantScope()
fuego.papi.ParticipantScopepublic void setStatusScope(StatusScope statusScope)
statusScope - the status scope to refine the searchfuego.papi.StatusScopepublic StatusScope getStatusScope()
fuego.papi.StatusScope
|
ALBPM Process API (PAPI) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||