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 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 4.6
© Copyright International Business Machines Corporation 2005. All rights reserved. US Government Users Restricted Rights Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.