|
Fuego Process API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfuego.papi.SearchScope
This class represent the scope to execute a search over the instances. The SearchScope limits the context where the filter will be executed. Ex. If you want to execute a filter over all instances of the process. SearchScope searchScope = new SearchScope(fuego.papi.ParticipantScope.ALL, fuego.papi.StatusScope.ALL, null); If you want to execute a filter over all instances in an specific activity. SearchScope searchScope = new SearchScope(fuego.papi.ParticipantScope.ALL, fuego.papi.StatusScope.ALL, activityName); If you want to execute a filter over all instances in the process for a particular participant. SearchScope searchScope = new SearchScope(fuego.papi.ParticipantScope.PARTICIPANT, fuego.papi.StatusScope.ALL, activityName); If you want to execute a filter over all running instances in the process. SearchScope searchScope = new SearchScope(fuego.papi.ParticipantScope.ALL, fuego.papi.StatusScope.ONLY_INPROCESS, activityName);
Filter,
ParticipantScope,
StatusScope,
Serialized Form| Constructor Summary | |
SearchScope(ParticipantScope participantScope,
StatusScope statusScope)
This constructor create a new SearchScope with a specific participant and status scope and empty activity scope. |
|
SearchScope(ParticipantScope participantScope,
StatusScope statusScope,
String activityScope)
This constructor create a new SearchScope with a specific participant and status and activity scope. |
|
| Method Summary | |
String |
getActivityScope()
Return the activity scope of this search. |
ParticipantScope |
getParticipantScope()
Return the participant scope of this search. |
StatusScope |
getStatusScope()
Return the status scope of this search. |
void |
setActivityScope(String activityScope)
Set a new activity scope |
void |
setParticipantScope(ParticipantScope participantScope)
Set a new participant scope. |
void |
setStatusScope(StatusScope statusScope)
Set 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 searchParticipantScope,
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)ParticipantScope,
StatusScope| Method Detail |
public void setActivityScope(String activityScope)
activityScope - Activity name to refine the searchpublic String getActivityScope()
public void setParticipantScope(ParticipantScope participantScope)
participantScope - The participant scope to refine the search.ParticipantScopepublic ParticipantScope getParticipantScope()
ParticipantScopepublic void setStatusScope(StatusScope statusScope)
statusScope - The status scope to refine the search.StatusScopepublic StatusScope getStatusScope()
StatusScope
|
Fuego Process API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||