org.apache.wicket.spring.proxy.web
Class ProxyDataProvider

java.lang.Object
  extended by org.apache.wicket.extensions.markup.html.repeater.util.SortableDataProvider
      extended by org.apache.wicket.spring.common.web.ContactDataProvider
          extended by org.apache.wicket.spring.proxy.web.ProxyDataProvider
All Implemented Interfaces:
java.io.Serializable, ISortStateLocator, ISortableDataProvider, IClusterable, IDataProvider, IDetachable

public class ProxyDataProvider
extends ContactDataProvider

See Also:
Serialized Form

Constructor Summary
ProxyDataProvider(ContactDao dao)
           
 
Method Summary
protected  ContactDao getContactDao()
           
 IModel model(java.lang.Object object)
          Callback used by the consumer of this data provider to wrap objects retrieved from IDataProvider.iterator(int, int) with a model (usually a detachable one).
 
Methods inherited from class org.apache.wicket.spring.common.web.ContactDataProvider
iterator, size
 
Methods inherited from class org.apache.wicket.extensions.markup.html.repeater.util.SortableDataProvider
detach, getSort, getSortState, setSort, setSort, setSortState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyDataProvider

public ProxyDataProvider(ContactDao dao)
Method Detail

getContactDao

protected ContactDao getContactDao()
Specified by:
getContactDao in class ContactDataProvider

model

public IModel model(java.lang.Object object)
Description copied from interface: IDataProvider
Callback used by the consumer of this data provider to wrap objects retrieved from IDataProvider.iterator(int, int) with a model (usually a detachable one).

Parameters:
object - the object that needs to be wrapped
Returns:
the model representation of the object


Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.