Class ObjectDataProvider<W extends Serializable,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,W>
com.evolveum.midpoint.gui.impl.component.data.provider.ObjectDataProvider<W,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<W,
,String> org.apache.wicket.markup.repeater.data.IDataProvider<W>
,org.apache.wicket.model.IDetachable
,org.apache.wicket.util.io.IClusterable
- Direct Known Subclasses:
CertCampaignListItemDtoProvider
,TemplateTileProvider
public class ObjectDataProvider<W extends Serializable,O extends ObjectType>
extends BaseSearchDataProvider<O,W>
- 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
ConstructorDescriptionObjectDataProvider
(org.apache.wicket.Component component, org.apache.wicket.model.IModel<Search<O>> search) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addCachedSize
(Map<Serializable, BaseSortableDataProvider.CachedSize> cache, BaseSortableDataProvider.CachedSize newSize) protected boolean
protected BaseSortableDataProvider.CachedSize
protected Collection<SelectorOptions<GetOperationOptions>>
internalIterator
(long first, long count) protected int
void
setOptions
(Collection<SelectorOptions<GetOperationOptions>> options) 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, isUseCache, iterator, model, setExportSize, setQuery
Methods inherited from class org.apache.wicket.extensions.markup.html.repeater.util.SortableDataProvider
getSort, getSortState, setSort, setSort
-
Constructor Details
-
ObjectDataProvider
-
-
Method Details
-
getSelectedData
-
getOptionsToUse
-
internalIterator
- Specified by:
internalIterator
in classBaseSortableDataProvider<W extends Serializable>
-
checkOrderingSettings
protected boolean checkOrderingSettings()- Overrides:
checkOrderingSettings
in classBaseSortableDataProvider<W extends Serializable>
-
handleNotSuccessOrHandledErrorInIterator
-
createDataObjectWrapper
-
internalSize
protected int internalSize()- Specified by:
internalSize
in classBaseSortableDataProvider<W extends Serializable>
-
getCachedSize
protected BaseSortableDataProvider.CachedSize getCachedSize(Map<Serializable, BaseSortableDataProvider.CachedSize> cache) - Overrides:
getCachedSize
in classBaseSortableDataProvider<W extends Serializable>
-
addCachedSize
protected void addCachedSize(Map<Serializable, BaseSortableDataProvider.CachedSize> cache, BaseSortableDataProvider.CachedSize newSize) - Overrides:
addCachedSize
in classBaseSortableDataProvider<W extends Serializable>
-
getOptions
-
setOptions
-