|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.itim.apps.workflow.WorkflowSearchMO
Provides the ability to configure and execute search for workflow processes.
Field Summary | |
---|---|
static int |
ASCENDING_SORT
Constant identifying a low to high sort order. |
static int |
DESCENDING_SORT
Constant identifying a high to low sort order. |
Constructor Summary | |
---|---|
WorkflowSearchMO(PlatformContext platform,
javax.security.auth.Subject subject)
Constructs the the managed object with a platform context and a subject. |
Method Summary | |
---|---|
WorkflowSearchResultsMO |
execute()
Executes the search using the configured parameters. |
void |
execute(WorkflowSearchResultsMO results)
Executes the search using the configured parameters. |
java.util.Locale |
getLocale()
Returns the user's locale. |
java.lang.String |
getSortAttribute()
Returns the name of the attribute to sort by. |
int |
getSortOrder()
Returns the sort order for the result set. |
WorkflowQueryStatement |
getStatement()
Returns the workflow specific query statement being executed. |
boolean |
isPaging()
Returns true if the result set should be paginated. |
void |
setLocale(java.util.Locale locale)
Sets the user's locale. |
void |
setPaging(boolean toggle)
Toggles pagination on/off for the request. |
void |
setSortAttribute(java.lang.String sortAttribute)
Sets the name of the attribute to sort by. |
void |
setSortOrder(int sortOrder)
Sets the sort order for the result set. |
void |
setStatement(WorkflowQueryStatement statement)
Sets the workflow specific query statement to execute. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static int ASCENDING_SORT
public static int DESCENDING_SORT
Constructor Detail |
public WorkflowSearchMO(PlatformContext platform, javax.security.auth.Subject subject)
platform
- PlatformContext holding platform connection information.subject
- Subject representing the authenticated caller.Method Detail |
public WorkflowSearchResultsMO execute() throws java.rmi.RemoteException, ApplicationException
WorkflowProcess)
of the search.
- Throws:
java.rmi.RemoteException
- Thrown if unable to communicate with platform.
ApplicationException
- Thrown if unable to execute the search.
This is most likely caused by an invalid
parameter in the request.
public void execute(WorkflowSearchResultsMO results) throws java.rmi.RemoteException, ApplicationException
results
- WorkflowSearchResultsMO to hold the results of the search. Note,
if the WorkflowSearchResultsMO object was constructed using a
different user context, that context will be changed to
match the context of this object.
java.rmi.RemoteException
- Thrown if unable to communicate with platform.
ApplicationException
- Thrown if unable to execute the search.
This is most likely caused by an invalid
parameter in the request.public void setLocale(java.util.Locale locale)
locale
- the user's Locale.public java.util.Locale getLocale()
public void setStatement(WorkflowQueryStatement statement)
statement
- WorkflowQueryStatement defining the query logic to execute.
This parameter should be an instance of ProvisioningQueryStatementpublic WorkflowQueryStatement getStatement()
public void setSortAttribute(java.lang.String sortAttribute)
sortAttribute
- The name of the attribute to sort by.public java.lang.String getSortAttribute()
public void setPaging(boolean toggle)
toggle
- true/false option to paginate the result set.public boolean isPaging()
public int getSortOrder()
public void setSortOrder(int sortOrder)
sortOrder
- result set sort order.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |