public class SelectableBeanObjectDataProvider<O extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> extends BaseSortableDataProvider<SelectableBean<O>>
BaseSortableDataProvider.CachedSize
Constructor and Description |
---|
SelectableBeanObjectDataProvider(org.apache.wicket.Component component,
Class<? extends O> type) |
Modifier and Type | Method and Description |
---|---|
protected void |
addCachedSize(Map<Serializable,BaseSortableDataProvider.CachedSize> cache,
BaseSortableDataProvider.CachedSize newSize) |
void |
clearSelectedObjects() |
SelectableBean<O> |
createDataObjectWrapper(O obj) |
protected BaseSortableDataProvider.CachedSize |
getCachedSize(Map<Serializable,BaseSortableDataProvider.CachedSize> cache) |
Collection<SelectorOptions<GetOperationOptions>> |
getOptions() |
List<O> |
getSelectedData() |
protected Iterator<SelectableBean<O>> |
handleNotSuccessOrHandledErrorInIterator(OperationResult result) |
Iterator<SelectableBean<O>> |
internalIterator(long offset,
long pageSize) |
protected int |
internalSize() |
boolean |
isEmptyListOnNullQuery() |
boolean |
isUseObjectCounting() |
void |
setEmptyListOnNullQuery(boolean emptyListOnNullQuery) |
void |
setOptions(Collection<SelectorOptions<GetOperationOptions>> options) |
void |
setType(Class<O> type) |
void |
setUseObjectCounting(boolean useCounting) |
clearCache, createPaging, getAvailableData, getCacheCleanupThreshold, getModel, getModelInteractionService, getPage, getPrismContext, getQuery, getRepositoryService, getTaskManager, getTaskService, getWorkflowManager, getWorkflowService, isSizeAvailableModel, iterator, model, saveProviderPaging, setCacheCleanupThreshold, setQuery, size
public void clearSelectedObjects()
public Iterator<SelectableBean<O>> internalIterator(long offset, long pageSize)
internalIterator
in class BaseSortableDataProvider<SelectableBean<O extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType>>
protected Iterator<SelectableBean<O>> handleNotSuccessOrHandledErrorInIterator(OperationResult result)
public SelectableBean<O> createDataObjectWrapper(O obj)
protected int internalSize()
internalSize
in class BaseSortableDataProvider<SelectableBean<O extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType>>
protected BaseSortableDataProvider.CachedSize getCachedSize(Map<Serializable,BaseSortableDataProvider.CachedSize> cache)
getCachedSize
in class BaseSortableDataProvider<SelectableBean<O extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType>>
protected void addCachedSize(Map<Serializable,BaseSortableDataProvider.CachedSize> cache, BaseSortableDataProvider.CachedSize newSize)
addCachedSize
in class BaseSortableDataProvider<SelectableBean<O extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType>>
public boolean isUseObjectCounting()
public void setUseObjectCounting(boolean useCounting)
public Collection<SelectorOptions<GetOperationOptions>> getOptions()
public void setOptions(Collection<SelectorOptions<GetOperationOptions>> options)
public boolean isEmptyListOnNullQuery()
public void setEmptyListOnNullQuery(boolean emptyListOnNullQuery)
Copyright © 2016 evolveum. All rights reserved.