org.apache.cocoon.forms.binding
Class RepeaterJXPathCollection
java.lang.Object
org.apache.cocoon.forms.binding.RepeaterJXPathCollection
public class RepeaterJXPathCollection
- extends Object
Implements a collection that takes care about removed, updated and inserted
elements, obtaining from a RepeaterAdapter
all the needed objects.
- Version:
- $Id: RepeaterJXPathCollection.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RepeaterJXPathCollection
public RepeaterJXPathCollection()
init
public void init(org.apache.commons.jxpath.JXPathContext storageContext,
String rowpath,
RepeaterAdapter adapter)
getItems
public List getItems(int start,
int length)
getCachedItems
public List getCachedItems()
flushCachedItems
public void flushCachedItems()
updateRow
public void updateRow(RepeaterItem item)
deleteRow
public void deleteRow(RepeaterItem item)
addRow
public void addRow(RepeaterItem item)
getOriginalCollectionSize
public int getOriginalCollectionSize()
getActualCollectionSize
public int getActualCollectionSize()
getStorageContext
public org.apache.commons.jxpath.JXPathContext getStorageContext()
getDeletedRows
public List getDeletedRows()
getInsertedRows
public List getInsertedRows()
getUpdatedRows
public Collection getUpdatedRows()
getAdapter
public RepeaterAdapter getAdapter()
addRow
public void addRow(Repeater.RepeaterRow row)
sortBy
public void sortBy(String field)
filter
public void filter(String field,
Object value)
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.