com.ibm.itim.apps
Class RequestManager

java.lang.Object
  extended by 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 Subject used to construct this RequestManager.
 Request getRequest(long id)
          Returns a Request for 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 a Request for the given ID.

Parameters:
id - Unique ID of the request.
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 Subject used to construct this RequestManager.

Returns:
Collection of the user's pending requests.
Throws:
java.rmi.RemoteException - thrown if a communications-related error prevents returning all pending requests.
ApplicationException - thrown if an applications-level error prevents returning all pending requests.


IBM Tivoli Identity Manager 5.1
© Copyright International Business Machines Corporation 2007, 2009. All rightsreserved. US Government Users Restricited RightsUse, duplication or disclosure restricted by GSA ADP ScheduleContract with IBM Corp.