public class WorkflowSearchResultsMO
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
com.ibm.itim.apps.impl.PlatformContextImpl |
platform
The platform will be changed to match the context of WokflowSearchMO.
|
javax.security.auth.Subject |
subject
The subject will be changed to match the context of WokflowSearchMO.
|
| Constructor and Description |
|---|
WorkflowSearchResultsMO(PlatformContext platform,
javax.security.auth.Subject subject)
Constructs the the managed object with a platform context and a subject.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
beanExists()
Returns
true |
java.util.Collection |
getPage(int pageNo)
Returns the specified page of the result set.
|
int |
getPageCount()
Returns the number of pages in the result set.
|
java.util.Collection |
getResults()
Returns all of the results.
|
void |
reverseSortResults()
Reverses the the sorting order of the search results.
|
void |
sortResults(java.lang.String attribute,
int order)
Resorts by the given sort attribute and order (ascending vs.
|
public javax.security.auth.Subject subject
public com.ibm.itim.apps.impl.PlatformContextImpl platform
public WorkflowSearchResultsMO(PlatformContext platform, javax.security.auth.Subject subject)
platform - PlatformContext holding platform connection information.subject - Subject representing the authenticated caller.public int getPageCount()
throws java.rmi.RemoteException,
ApplicationException,
java.lang.IllegalStateException
java.rmi.RemoteException - Thrown if unable to communicate with platform.ApplicationException - Thrown if an error occured trying to
get page count.java.lang.IllegalStateException - Thrown if the underlying bean is in unusable state.public java.util.Collection getPage(int pageNo)
throws java.rmi.RemoteException,
ApplicationException,
java.lang.IllegalStateException
pageNo - The number of the page to return.WorkflowProcess representing page
of results.ApplicationException - Thrown if an error occured trying to
get page.java.rmi.RemoteException - Thrown if unable to communicate with platform.java.lang.IllegalStateException - Thrown if the underlying bean is in unusable state.WorkflowProcesspublic java.util.Collection getResults()
throws java.rmi.RemoteException,
ApplicationException,
java.lang.IllegalStateException
WorkflowProcess representing the
complete result set.ApplicationException - Thrown if an error occured trying to
get results.java.rmi.RemoteException - Thrown if unable to communicate with platform.java.lang.IllegalStateException - Thrown if the underlying bean is in unusable state.WorkflowProcesspublic void sortResults(java.lang.String attribute,
int order)
throws java.rmi.RemoteException,
ApplicationException,
java.lang.IllegalStateException
attribute - Name of the attribute to sort by.order - Enumeration of the order to sort by. Use
WorkflowSearchMO.ASCENDING_SORT for ascending sort or
WorkflowSearchMO.DESCENDING_SORT for descending sort.java.rmi.RemoteException - Thrown if unable to communicate with platform.ApplicationException - Thrown if unable to resort. This is most
likely caused by either an invalid
sort attribute name or invalid sort
order.java.lang.IllegalStateException - Thrown if the underlying bean is in unusable state.public void reverseSortResults()
throws java.rmi.RemoteException,
ApplicationException,
java.lang.IllegalStateException
ApplicationException - Thrown if an error occured trying to
reverse sort results.java.rmi.RemoteException - Thrown if unable to communicate with platform.java.lang.IllegalStateException - Thrown if the underlying bean is in unusable state.public boolean beanExists()
throws java.rmi.RemoteException
true if the request manager bean is alive in
method-ready state otherwise false.true if bean exists otherwise falsejava.rmi.RemoteException - Thrown if unable to communicate with platform.