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.web.component.data.BaseSortableDataProvider<T>
-
- com.evolveum.midpoint.web.component.data.BaseSearchDataProvider<O,W>
-
- com.evolveum.midpoint.web.component.data.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
,ResourceTemplateProvider
public class ObjectDataProvider<W extends Serializable,O extends ObjectType> extends BaseSearchDataProvider<O,W>
- Author:
- lazyman
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.evolveum.midpoint.web.component.data.BaseSortableDataProvider
BaseSortableDataProvider.CachedSize
-
-
Constructor Summary
Constructors Constructor Description ObjectDataProvider(org.apache.wicket.Component component, org.apache.wicket.model.IModel<Search<O>> search)
-
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()
W
createDataObjectWrapper(PrismObject<O> obj)
protected BaseSortableDataProvider.CachedSize
getCachedSize(Map<Serializable,BaseSortableDataProvider.CachedSize> cache)
Collection<SelectorOptions<GetOperationOptions>>
getOptions()
protected Collection<SelectorOptions<GetOperationOptions>>
getOptionsToUse()
List<O>
getSelectedData()
protected void
handleNotSuccessOrHandledErrorInIterator(OperationResult result)
Iterator<W>
internalIterator(long first, long count)
protected int
internalSize()
void
setOptions(Collection<SelectorOptions<GetOperationOptions>> options)
-
Methods inherited from class com.evolveum.midpoint.web.component.data.BaseSearchDataProvider
addQueryVariables, detach, getCompiledObjectCollectionView, getCustomizeContentQuery, getQuery, getSearchModel, getType, getVariables, setCompiledObjectCollectionView, size
-
Methods inherited from class com.evolveum.midpoint.web.component.data.BaseSortableDataProvider
clearCache, createObjectOrderings, createPaging, getAuditService, getAvailableData, getDefaultOptionsBuilder, getDefaultSortOrder, getDefaultSortParam, getDistinctRelatedOptions, getDistinctRelatedOptionsBuilder, getModelInteractionService, getModelService, getOperationOptionsBuilder, getOperationOptionsBuilder, getPageBase, getPageStorage, getPrismContext, getRelationRegistry, getSchemaService, getTaskManager, isDistinct, isOrderingDisabled, isSizeAvailableModel, isUseCache, iterator, model, saveProviderPaging, setExportSize, setQuery
-
-
-
-
Method Detail
-
getOptionsToUse
protected Collection<SelectorOptions<GetOperationOptions>> getOptionsToUse()
-
internalIterator
public Iterator<W> internalIterator(long first, long count)
- Specified by:
internalIterator
in classBaseSortableDataProvider<W extends Serializable>
-
checkOrderingSettings
protected boolean checkOrderingSettings()
- Overrides:
checkOrderingSettings
in classBaseSortableDataProvider<W extends Serializable>
-
handleNotSuccessOrHandledErrorInIterator
protected void handleNotSuccessOrHandledErrorInIterator(OperationResult result)
-
createDataObjectWrapper
public W createDataObjectWrapper(PrismObject<O> obj)
-
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
public Collection<SelectorOptions<GetOperationOptions>> getOptions()
-
setOptions
public void setOptions(Collection<SelectorOptions<GetOperationOptions>> options)
-
-