FileNet Content Services
Java Connector v3.0

com.filenet.wcm.api
Interface BatchResultItems

All Superinterfaces:
java.util.Collection, java.util.List

public interface BatchResultItems
extends java.util.List

Not Implemented in CS Java Connector v3.0.

A BatchResultItems collection represents a collection whose elements provide the results of actions performed by individual methods during execution of a batch. The order of the BatchResultItem objects in the collection is the same as the order in which the actions were performed during batch execution. Elements in the collection will never be null but an element's contained result maybe null as a result of the following:

You cannot create a new BatchResultItems collection, but you can instantiate one by calling the executeBatch on the Session object.


Method Summary
 BatchResultItem getItemByLabel(java.lang.String label)
          

Not Implemented in CS Java Connector v3.0.

 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 

Method Detail

getItemByLabel

public BatchResultItem getItemByLabel(java.lang.String label)

Not Implemented in CS Java Connector v3.0.

Returns the BatchResultItem object that corresponds to the given label or returns null if no such item exists.

This method is useful for retrieving a specific individual result from an operation performed as part of a batch execution. It retrieves the result by the caller-supplied label that was assigned to the item in a Session.setBatchItemLabel call.

Parameters:
label - A String that represents the label of the requested BatchResultItem object.

Returns:
A BatchResultItem object, or null if the requested item doesn't exist.

FileNet Content Services
Java Connector v3.0