Class RepositoryObjectDataProvider<O extends ObjectType>
- java.lang.Object
-
- org.apache.wicket.extensions.markup.html.repeater.util.SortableDataProvider<T,String>
-
- com.evolveum.midpoint.gui.impl.component.data.provider.BaseSortableDataProvider<T>
-
- com.evolveum.midpoint.gui.impl.component.data.provider.BaseSearchDataProvider<O,DebugObjectItem>
-
- com.evolveum.midpoint.gui.impl.component.data.provider.RepositoryObjectDataProvider<O>
-
- All Implemented Interfaces:
Serializable
,org.apache.wicket.extensions.markup.html.repeater.data.sort.ISortStateLocator<String>
,org.apache.wicket.extensions.markup.html.repeater.data.table.ISortableDataProvider<DebugObjectItem,String>
,org.apache.wicket.markup.repeater.data.IDataProvider<DebugObjectItem>
,org.apache.wicket.model.IDetachable
,org.apache.wicket.util.io.IClusterable
public class RepositoryObjectDataProvider<O extends ObjectType> extends BaseSearchDataProvider<O,DebugObjectItem>
- Author:
- lazyman
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.evolveum.midpoint.gui.impl.component.data.provider.BaseSortableDataProvider
BaseSortableDataProvider.CachedSize
-
-
Constructor Summary
Constructors Constructor Description RepositoryObjectDataProvider(org.apache.wicket.Component component, org.apache.wicket.model.IModel<Search<O>> searchModel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addCachedSize(Map<Serializable,BaseSortableDataProvider.CachedSize> cache, BaseSortableDataProvider.CachedSize newSize)
protected boolean
checkOrderingSettings()
protected BaseSortableDataProvider.CachedSize
getCachedSize(Map<Serializable,BaseSortableDataProvider.CachedSize> cache)
Iterator<DebugObjectItem>
internalIterator(long first, long count)
protected int
internalSize()
boolean
isUseCache()
-
Methods inherited from class com.evolveum.midpoint.gui.impl.component.data.provider.BaseSearchDataProvider
addQueryVariables, detach, getCompiledObjectCollectionView, getCustomizeContentQuery, getQuery, getSearchModel, getType, getVariables, setCompiledObjectCollectionView, size
-
Methods inherited from class com.evolveum.midpoint.gui.impl.component.data.provider.BaseSortableDataProvider
clearCache, createObjectOrderings, createPaging, getAuditService, getAvailableData, getDefaultOptionsBuilder, getDefaultSortOrder, getDefaultSortParam, getDistinctRelatedOptions, getDistinctRelatedOptionsBuilder, getModelInteractionService, getModelService, getOperationOptionsBuilder, getOperationOptionsBuilder, getPageBase, getPageStorage, getPrismContext, getRelationRegistry, getSchemaService, getTaskManager, isDistinct, isOrderingDisabled, isSizeAvailableModel, iterator, model, saveProviderPaging, setExportSize, setQuery
-
-
-
-
Method Detail
-
internalIterator
public Iterator<DebugObjectItem> internalIterator(long first, long count)
- Specified by:
internalIterator
in classBaseSortableDataProvider<DebugObjectItem>
-
checkOrderingSettings
protected boolean checkOrderingSettings()
- Overrides:
checkOrderingSettings
in classBaseSortableDataProvider<DebugObjectItem>
-
internalSize
protected int internalSize()
- Specified by:
internalSize
in classBaseSortableDataProvider<DebugObjectItem>
-
getCachedSize
protected BaseSortableDataProvider.CachedSize getCachedSize(Map<Serializable,BaseSortableDataProvider.CachedSize> cache)
- Overrides:
getCachedSize
in classBaseSortableDataProvider<DebugObjectItem>
-
addCachedSize
protected void addCachedSize(Map<Serializable,BaseSortableDataProvider.CachedSize> cache, BaseSortableDataProvider.CachedSize newSize)
- Overrides:
addCachedSize
in classBaseSortableDataProvider<DebugObjectItem>
-
isUseCache
public boolean isUseCache()
- Overrides:
isUseCache
in classBaseSortableDataProvider<DebugObjectItem>
-
-