com.ibm.itim.apps
Class BulkRequest

java.lang.Object
  |
  +--com.ibm.itim.apps.Request
        |
        +--com.ibm.itim.apps.BulkRequest

public class BulkRequest
extends Request

Represents a bulk request submitted to the provisioning platform.


Fields inherited from class com.ibm.itim.apps.Request
FAILED, IN_PROCESS, NOT_STARTED, SUCCEEDED, WARNING
 
Constructor Summary
BulkRequest(PlatformContext platform, javax.security.auth.Subject subject, long id, BulkException exception)
          Constructs with a user Context and request id.
BulkRequest(PlatformContext platform, javax.security.auth.Subject subject, long id, java.util.Date scheduledTime, BulkException exception)
          Constructs with a user Context, request id, and scheduled time.
 
Method Summary
 boolean anyFailures()
          Returns whether the request had any failures.
 BulkException getException()
          Returns the exception holding the failed portion (if any) of the bulk request.
 
Methods inherited from class com.ibm.itim.apps.Request
abort, getID, getScheduledTime, getStatus
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BulkRequest

public BulkRequest(PlatformContext platform,
                   javax.security.auth.Subject subject,
                   long id,
                   BulkException exception)
Constructs with a user Context and request id.
Parameters:
Context - UserContext to use as context.
id - ID of the request.
be - BulkException holding any failures of the request. Can be null.

BulkRequest

public BulkRequest(PlatformContext platform,
                   javax.security.auth.Subject subject,
                   long id,
                   java.util.Date scheduledTime,
                   BulkException exception)
Constructs with a user Context, request id, and scheduled time.
Parameters:
Context - UserContext to use as context.
id - ID of the request.
scheduledTime - Date holding the time the request was scheduled to begin.
be - BulkException holding any failures of the request. Can be null.
Method Detail

getException

public BulkException getException()
Returns the exception holding the failed portion (if any) of the bulk request.
Returns:
BulkException holding any exceptions identifying the failed portion of the bulk request. May be null if nothing failed.

anyFailures

public boolean anyFailures()
Returns whether the request had any failures.
Returns:
True if there were failures, false if there were not.