com.ibm.websphere.sdo
Interface DataListAccessBean

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

public interface DataListAccessBean
extends java.util.List

Service Data Objects - DataListAccessBean.

This interface defines the interface to a DataList. A DataList is an object that represents a view onto a List of DataObjects. The DataObjects themselves are described by a separate object, an DataObjectAccessBean.

DataListAccessBean has the following responsibilities


Method Summary
 DataObjectAccessBean createNewDataObject()
          Creates and returns a DataObject for insertion in the back-end No changes are pushed to the back-end until the DataGraph is passed to the applyChanges method of a MediatorAccessBean
 DataGraphAccessBean getDataGraphAccessBean()
          Returns the DataGraphAccessBean this DataList is contained within To flush changes to the back-end pass the DataGraphAccessBean to the MediatorAccessBean
 DataObjectAccessBean getDataObjectAccessBean(int index)
          Return the ith DataObjectAccessBean in this List
 
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

createNewDataObject

public DataObjectAccessBean createNewDataObject()
Creates and returns a DataObject for insertion in the back-end No changes are pushed to the back-end until the DataGraph is passed to the applyChanges method of a MediatorAccessBean
Returns:
DataObjectAccessBean

getDataGraphAccessBean

public DataGraphAccessBean getDataGraphAccessBean()
Returns the DataGraphAccessBean this DataList is contained within To flush changes to the back-end pass the DataGraphAccessBean to the MediatorAccessBean
Returns:
DataGraphAccessBean

getDataObjectAccessBean

public DataObjectAccessBean getDataObjectAccessBean(int index)
Return the ith DataObjectAccessBean in this List
Parameters:
index -  
Returns:
DataObjectAccessBean