Class ResourceDataProvider
- java.lang.Object
-
- org.apache.wicket.extensions.markup.html.repeater.util.SortableDataProvider<T,String>
-
- org.apache.syncope.client.console.commons.DirectoryDataProvider<Serializable>
-
- org.apache.syncope.client.console.commons.ResourceDataProvider
-
- All Implemented Interfaces:
Serializable
,ISortStateLocator<String>
,ISortableDataProvider<Serializable,String>
,IDataProvider<Serializable>
,IDetachable
,IClusterable
public class ResourceDataProvider extends DirectoryDataProvider<Serializable>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected int
currentPage
protected String
keyword
protected static Logger
LOG
protected PageReference
pageRef
protected ResourceRestClient
resourceRestClient
-
Fields inherited from class org.apache.syncope.client.console.commons.DirectoryDataProvider
paginatorRows
-
-
Constructor Summary
Constructors Constructor Description ResourceDataProvider(ResourceRestClient resourceRestClient, int paginatorRows, PageReference pageRef, String keyword)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCurrentPage()
Iterator<ResourceTO>
iterator(long first, long count)
IModel<Serializable>
model(Serializable object)
long
size()
-
Methods inherited from class org.apache.syncope.client.console.commons.DirectoryDataProvider
setPaginatorRows
-
Methods inherited from class org.apache.wicket.extensions.markup.html.repeater.util.SortableDataProvider
getSort, getSortState, setSort, setSort
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.wicket.markup.repeater.data.IDataProvider
detach
-
-
-
-
Field Detail
-
LOG
protected static final Logger LOG
-
resourceRestClient
protected final ResourceRestClient resourceRestClient
-
pageRef
protected final PageReference pageRef
-
currentPage
protected int currentPage
-
keyword
protected final String keyword
-
-
Constructor Detail
-
ResourceDataProvider
public ResourceDataProvider(ResourceRestClient resourceRestClient, int paginatorRows, PageReference pageRef, String keyword)
-
-
Method Detail
-
iterator
public Iterator<ResourceTO> iterator(long first, long count)
-
size
public long size()
-
model
public IModel<Serializable> model(Serializable object)
-
getCurrentPage
public int getCurrentPage()
-
-