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 Security Identity Manager 6.0.0
© Copyright International Business Machines Corporation 2007, 2012. All rights reserved. US Government Users Restricited Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.