com.ibm.itim.apps
Class RequestManager

java.lang.Object
  |
  +--com.ibm.itim.apps.RequestManager

public class RequestManager
extends java.lang.Object

Provides an interface for retrieving requests from the provisioning platform.

See Also:
Request

Constructor Summary
RequestManager(PlatformContext platform, javax.security.auth.Subject subject)
          Constructs with a platform and subject.
 
Method Summary
 java.util.Collection getPendingRequests()
          Returns all pending requests that were submitted by the user identified by the UserSession used as context for the manager.
 Request getRequest(long id)
          Returns the request with the given ID.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestManager

public RequestManager(PlatformContext platform,
                      javax.security.auth.Subject subject)
Constructs with a platform and subject.
Parameters:
platform - PlatformContext holding platform connection information.
subject - Authenticated user.
Method Detail

getRequest

public Request getRequest(long id)
Returns the request with the given ID.
Returns:
Request with the given ID.

getPendingRequests

public java.util.Collection getPendingRequests()
                                        throws java.rmi.RemoteException,
                                               ApplicationException
Returns all pending requests that were submitted by the user identified by the UserSession used as context for the manager.
Returns:
Collection of the user's pending requests.