com.filenet.api.core
Class Batch

java.lang.Object
  extended by 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 a java.util.List of BatchItemHandle instances.

See Also:
BatchItemHandle

Method Summary
 java.util.List getBatchItemHandles(IndependentObject object)
          Returns a list of the BatchItemHandle instances in this batch that reference the specified object, or, if the object parameter is null, the list of all BatchItemHandle instances in this batch.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getBatchItemHandles

public java.util.List getBatchItemHandles(IndependentObject object)
Returns a list of the BatchItemHandle instances in this batch that reference the specified object, or, if the object parameter is null, the list of all BatchItemHandle instances in this batch.

Parameters:
object - An IndependentObject instance for the object that is expected to be referenced in this batch, or null to return the list of all BatchItemHandle instances.
Returns:
A List of any BatchItemHandle instances referencing the specified object. If the specified object is not in the batch, an empty list is returned. If the object parameter is null, the list of all BatchItemHandle instances is returned.


© Copyright IBM Corporation 2006, 2008. All rights reserved.