public class BulkRequest extends Request
FAILED, IN_PROCESS, NOT_STARTED, SUCCEEDED, WARNING| Constructor and Description |
|---|
BulkRequest(PlatformContext platform,
javax.security.auth.Subject subject,
long id,
BulkException exception)
Creates a BulkRequest.
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
anyFailures()
Returns whether the request had any failures.
|
BulkException |
getException()
Returns the exception holding the failed portion (if any) of the bulk
request.
|
abort, abort, getAuditData, getID, getScheduledTime, getStatuspublic BulkRequest(PlatformContext platform, javax.security.auth.Subject subject, long id, BulkException exception)
platform - PlatformContext holding platform connection information.subject - Subject representing the authenticated caller.id - A long request id.exception - BulkException holding any failures of the request.
May be null.public BulkRequest(PlatformContext platform, javax.security.auth.Subject subject, long id, java.util.Date scheduledTime, BulkException exception)
platform - PlatformContext holding platform connection information.subject - Subject representing the authenticated caller.id - A long request id.scheduledTime - The scheduled starting time of the process.
If null, the process will start immediately.
In case this method is invoked remotely, passing this parameter as the current
date/time of the client machine is not a safe technique to use, since the
date/time of the client machine may not be the same as the date/time of the
ITIM server machine.exception - BulkException holding any failures of the request.
May be null.public BulkException getException()
public boolean anyFailures()