public class ProxyDataProvider extends ContactDataProvider
Constructor and Description |
---|
ProxyDataProvider(ContactDao dao) |
Modifier and Type | Method and Description |
---|---|
protected ContactDao |
getContactDao() |
IModel<Contact> |
model(Contact contact)
Callback used by the consumer of this data provider to wrap objects retrieved from
IDataProvider.iterator(long, long) with a model (usually a detachable one). |
iterator, size
detach, getSort, getSortState, setSort, setSort
public ProxyDataProvider(ContactDao dao)
protected ContactDao getContactDao()
getContactDao
in class ContactDataProvider
public IModel<Contact> model(Contact contact)
IDataProvider
IDataProvider.iterator(long, long)
with a model (usually a detachable one).contact
- the object that needs to be wrappedCopyright © 2006–2021 Apache Software Foundation. All rights reserved.