Class ContainerListDataProvider<C extends Containerable>
- 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<C,PrismContainerValueWrapper<C>>
-
- com.evolveum.midpoint.web.component.util.ContainerListDataProvider<C>
-
- All Implemented Interfaces:
ISelectableDataProvider<PrismContainerValueWrapper<C>>
,Serializable
,org.apache.wicket.extensions.markup.html.repeater.data.sort.ISortStateLocator<String>
,org.apache.wicket.extensions.markup.html.repeater.data.table.ISortableDataProvider<PrismContainerValueWrapper<C>,String>
,org.apache.wicket.markup.repeater.data.IDataProvider<PrismContainerValueWrapper<C>>
,org.apache.wicket.model.IDetachable
,org.apache.wicket.util.io.IClusterable
- Direct Known Subclasses:
RepoAssignmentListProvider
public class ContainerListDataProvider<C extends Containerable> extends BaseSearchDataProvider<C,PrismContainerValueWrapper<C>> implements ISelectableDataProvider<PrismContainerValueWrapper<C>>
Created by honchar- 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 ContainerListDataProvider(org.apache.wicket.Component component, @NotNull org.apache.wicket.model.IModel<Search<C>> search)
ContainerListDataProvider(org.apache.wicket.Component component, @NotNull org.apache.wicket.model.IModel<Search<C>> search, Collection<SelectorOptions<GetOperationOptions>> options)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PrismContainerValueWrapper<C>
createWrapper(C object, com.evolveum.midpoint.task.api.Task task, OperationResult result)
protected Iterator<? extends PrismContainerValueWrapper<C>>
doRepositoryIteration(long first, long count)
Iterator<? extends PrismContainerValueWrapper<C>>
internalIterator(long first, long count)
protected int
internalSize()
-
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
addCachedSize, checkOrderingSettings, clearCache, createObjectOrderings, createPaging, getAuditService, getAvailableData, getCachedSize, getDefaultOptionsBuilder, getDefaultSortOrder, getDefaultSortParam, getDistinctRelatedOptions, getDistinctRelatedOptionsBuilder, getModelInteractionService, getModelService, getOperationOptionsBuilder, getOperationOptionsBuilder, getPageBase, getPageStorage, getPrismContext, getRelationRegistry, getSchemaService, getTaskManager, isDistinct, isOrderingDisabled, isSizeAvailableModel, isUseCache, iterator, model, saveProviderPaging, setExportSize, setQuery
-
Methods inherited from class org.apache.wicket.extensions.markup.html.repeater.util.SortableDataProvider
getSort, getSortState, setSort, setSort
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.wicket.markup.repeater.data.IDataProvider
detach, iterator, model, size
-
Methods inherited from interface com.evolveum.midpoint.web.component.data.ISelectableDataProvider
setQuery
-
-
-
-
Constructor Detail
-
ContainerListDataProvider
public ContainerListDataProvider(org.apache.wicket.Component component, @NotNull @NotNull org.apache.wicket.model.IModel<Search<C>> search)
-
ContainerListDataProvider
public ContainerListDataProvider(org.apache.wicket.Component component, @NotNull @NotNull org.apache.wicket.model.IModel<Search<C>> search, Collection<SelectorOptions<GetOperationOptions>> options)
-
-
Method Detail
-
internalIterator
public Iterator<? extends PrismContainerValueWrapper<C>> internalIterator(long first, long count)
- Specified by:
internalIterator
in classBaseSortableDataProvider<PrismContainerValueWrapper<C extends Containerable>>
-
doRepositoryIteration
protected Iterator<? extends PrismContainerValueWrapper<C>> doRepositoryIteration(long first, long count)
-
createWrapper
protected PrismContainerValueWrapper<C> createWrapper(C object, com.evolveum.midpoint.task.api.Task task, OperationResult result) throws SchemaException
- Throws:
SchemaException
-
internalSize
protected int internalSize()
- Specified by:
internalSize
in classBaseSortableDataProvider<PrismContainerValueWrapper<C extends Containerable>>
-
-