com.filenet.api.core
Class Batch
- java.lang.Object
-
- com.filenet.api.core.Batch
-
- Direct Known Subclasses:
- RetrievingBatch, UpdatingBatch
public abstract class Batch extends java.lang.Object
Abstract superclass for the accumulation of batch items for a pending batch operation. The batch is ajava.util.List
ofBatchItemHandle
instances.- See Also:
BatchItemHandle
-
-
Method Summary
Methods Modifier and Type Method and Description java.util.List
getBatchItemHandles(IndependentObject object)
Returns a list of theBatchItemHandle
instances in this batch that reference the specified object, or, if theobject
parameter isnull
, the list of allBatchItemHandle
instances in this batch.
-
-
-
Method Detail
-
getBatchItemHandles
public java.util.List getBatchItemHandles(IndependentObject object)
Returns a list of theBatchItemHandle
instances in this batch that reference the specified object, or, if theobject
parameter isnull
, the list of allBatchItemHandle
instances in this batch.- Parameters:
object
- AnIndependentObject
instance for the object that is expected to be referenced in this batch, ornull
to return the list of allBatchItemHandle
instances.- Returns:
- A
List
of anyBatchItemHandle
instances referencing the specified object. If the specifiedobject
is not in the batch, an empty list is returned. If theobject
parameter isnull
, the list of allBatchItemHandle
instances is returned.
-
-