org.wicketopia.persistence.model.repeater
Class PersistenceDataProvider<T>

java.lang.Object
  extended by org.apache.wicket.extensions.markup.html.repeater.util.SortableDataProvider<T,String>
      extended by org.wicketopia.persistence.model.repeater.PersistenceDataProvider<T>
All Implemented Interfaces:
Serializable, org.apache.wicket.extensions.markup.html.repeater.data.sort.ISortStateLocator<String>, org.apache.wicket.extensions.markup.html.repeater.data.table.ISortableDataProvider<T,String>, org.apache.wicket.markup.repeater.data.IDataProvider<T>, org.apache.wicket.model.IDetachable, org.apache.wicket.util.io.IClusterable

public class PersistenceDataProvider<T>
extends org.apache.wicket.extensions.markup.html.repeater.util.SortableDataProvider<T,String>

Author:
James Carman
See Also:
Serialized Form

Constructor Summary
PersistenceDataProvider(Class<T> beanType, PersistenceProvider persistenceProvider)
           
 
Method Summary
 Iterator<? extends T> iterator(long first, long max)
           
 org.apache.wicket.model.IModel<T> model(T entity)
           
 long size()
           
 
Methods inherited from class org.apache.wicket.extensions.markup.html.repeater.util.SortableDataProvider
detach, getSort, getSortState, setSort, setSort
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersistenceDataProvider

public PersistenceDataProvider(Class<T> beanType,
                               PersistenceProvider persistenceProvider)
Method Detail

iterator

public Iterator<? extends T> iterator(long first,
                                      long max)

model

public org.apache.wicket.model.IModel<T> model(T entity)

size

public long size()


Copyright © 2010-2013. All Rights Reserved.