com.filenet.rm.bds

Interface BatchResultItem


  1. public interface BatchResultItem
This interface is used to represent the result of a single member operation that is executed using the BulkDeclarationService batching mechanism.

Method Summary

Modifier and Type Method and Description
  1. java.lang.String
getOperationIdent()
Returns the identifier of the operation that this BatchResultItem represents.
  1. ResultItemStatus
getResultStatus()
Returns the current status of the operation associated with this BatchResultItem instance.
  1. java.lang.Object
getResultValue()
Returns the result of an associated operation as an Object.
  1. boolean
isValueAnException()
Identifies whether or not the corresponding result value represents an exception.

Method Detail

getOperationIdent

  1. java.lang.String getOperationIdent( )
Returns the identifier of the operation that this BatchResultItem represents.
Returns:
String operation identifier.

getResultStatus

  1. ResultItemStatus getResultStatus( )
Returns the current status of the operation associated with this BatchResultItem instance.
Returns:
an ResultItemStatus enumerated constant.

getResultValue

  1. java.lang.Object getResultValue( )
Returns the result of an associated operation as an Object. Although returned as an Object, this value's type is actually dependent upon the particular operation or is an exception instance.
Returns:
an Object operation result. Can be null.

isValueAnException

  1. boolean isValueAnException()
Identifies whether or not the corresponding result value represents an exception.
Returns:
true if the result value represents an exception.