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:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.evolveum.midpoint.gui.impl.component.data.provider.BaseSortableDataProvider
BaseSortableDataProvider.CachedSize
-
Constructor Summary
ConstructorDescriptionRepositoryObjectDataProvider
(org.apache.wicket.Component component, org.apache.wicket.model.IModel<Search<O>> searchModel) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addCachedSize
(Map<Serializable, BaseSortableDataProvider.CachedSize> cache, BaseSortableDataProvider.CachedSize newSize) protected boolean
protected BaseSortableDataProvider.CachedSize
internalIterator
(long first, long count) protected int
boolean
Methods inherited from class com.evolveum.midpoint.gui.impl.component.data.provider.BaseSearchDataProvider
addQueryVariables, detach, getCompiledObjectCollectionView, getCustomizeContentQuery, getQuery, getSearchModel, getType, getVariables, setCompiledObjectCollectionView, setupUserFriendlyMessage, 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, getPrismContext, getRelationRegistry, getSchemaService, getTaskManager, isDistinct, isOrderingDisabled, isSizeAvailableModel, iterator, model, setExportSize, setQuery
Methods inherited from class org.apache.wicket.extensions.markup.html.repeater.util.SortableDataProvider
getSort, getSortState, setSort, setSort
-
Constructor Details
-
RepositoryObjectDataProvider
-
-
Method Details
-
internalIterator
- 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>
-