public abstract class BaseSortableDataProvider<T extends Serializable> extends org.apache.wicket.extensions.markup.html.repeater.util.SortableDataProvider<T,String>
Modifier and Type | Class and Description |
---|---|
static class |
BaseSortableDataProvider.CachedSize |
Constructor and Description |
---|
BaseSortableDataProvider(org.apache.wicket.Component component) |
BaseSortableDataProvider(org.apache.wicket.Component component,
boolean useCache) |
public BaseSortableDataProvider(org.apache.wicket.Component component)
public BaseSortableDataProvider(org.apache.wicket.Component component, boolean useCache)
protected ModelService getModel()
protected TaskManager getTaskManager()
protected ModelInteractionService getModelInteractionService()
protected WorkflowService getWorkflowService()
protected PageBase getPage()
public ObjectQuery getQuery()
public void setQuery(ObjectQuery query)
public boolean isSizeAvailable()
TablePanel
. If true navigation panel with paging "X to Y from Z results is shown",
otherwise only "previous and next" simple paging is used.protected ObjectPaging createPaging(long first, long count)
public void clearCache()
public int getCacheCleanupThreshold()
public void setCacheCleanupThreshold(int cacheCleanupThreshold)
protected void saveProviderPaging(ObjectQuery query, ObjectPaging paging)
public long size()
protected abstract int internalSize()
protected BaseSortableDataProvider.CachedSize getCachedSize(Map<Serializable,BaseSortableDataProvider.CachedSize> cache)
protected void addCachedSize(Map<Serializable,BaseSortableDataProvider.CachedSize> cache, BaseSortableDataProvider.CachedSize newSize)
Copyright © 2013 evolveum. All rights reserved.