Class SelectableBeanObjectDataProvider<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<T,SelectableBean<T>>
com.evolveum.midpoint.gui.impl.component.data.provider.SelectableBeanDataProvider<O>
com.evolveum.midpoint.gui.impl.component.data.provider.SelectableBeanObjectDataProvider<O>
- All Implemented Interfaces:
ISelectableDataProvider<SelectableBean<O>>
,Serializable
,org.apache.wicket.extensions.markup.html.repeater.data.sort.ISortStateLocator<String>
,org.apache.wicket.extensions.markup.html.repeater.data.table.ISortableDataProvider<SelectableBean<O>,
,String> org.apache.wicket.markup.repeater.data.IDataProvider<SelectableBean<O>>
,org.apache.wicket.model.IDetachable
,org.apache.wicket.util.io.IClusterable
- Direct Known Subclasses:
RepositoryShadowBeanObjectDataProvider
public class SelectableBeanObjectDataProvider<O extends ObjectType>
extends SelectableBeanDataProvider<O>
- Author:
- lazyman, semancik
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.evolveum.midpoint.gui.impl.component.data.provider.BaseSortableDataProvider
BaseSortableDataProvider.CachedSize
-
Constructor Summary
ConstructorDescriptionSelectableBeanObjectDataProvider
(org.apache.wicket.Component component, Set<O> selected) SelectableBeanObjectDataProvider
(org.apache.wicket.Component component, org.apache.wicket.model.IModel<Search<O>> search, Set<O> selected) -
Method Summary
Modifier and TypeMethodDescriptionprotected Integer
countObjects
(Class<O> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> currentOptions, com.evolveum.midpoint.task.api.Task task, OperationResult result) createDataObjectWrapper
(O obj) void
detach()
protected boolean
protected boolean
searchObjects
(Class<O> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, com.evolveum.midpoint.task.api.Task task, OperationResult result) void
setIsMemberPanel
(boolean isMemberPanel) void
setTaskConsumer
(Consumer<com.evolveum.midpoint.task.api.Task> taskConsumer) Methods inherited from class com.evolveum.midpoint.gui.impl.component.data.provider.SelectableBeanDataProvider
clearSelectedObjects, getOptions, getSearchOptions, getSelected, handleNotSuccessOrHandledErrorInIterator, internalIterator, internalSize, isEmptyListOnNullQuery, isExport, isUseObjectCounting, postProcessOptions, preprocessSelectedDataInternal, setDefaultCountIfNull, setEmptyListOnNullQuery, setExport, setForPreview, setOptions
Methods inherited from class com.evolveum.midpoint.gui.impl.component.data.provider.BaseSearchDataProvider
addQueryVariables, getCompiledObjectCollectionView, getCustomizeContentQuery, getQuery, getSearchModel, getType, getVariables, setCompiledObjectCollectionView, setupUserFriendlyMessage, size
Methods inherited from class com.evolveum.midpoint.gui.impl.component.data.provider.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
iterator, model, size
Methods inherited from interface com.evolveum.midpoint.gui.api.component.data.provider.ISelectableDataProvider
canCountBeforeExport, setQuery
Methods inherited from interface org.apache.wicket.extensions.markup.html.repeater.data.sort.ISortStateLocator
getSortState
-
Constructor Details
-
SelectableBeanObjectDataProvider
-
SelectableBeanObjectDataProvider
-
-
Method Details
-
createDataObjectWrapper
- Overrides:
createDataObjectWrapper
in classSelectableBeanDataProvider<O extends ObjectType>
-
match
- Specified by:
match
in classSelectableBeanDataProvider<O extends ObjectType>
-
countObjects
protected Integer countObjects(Class<O> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> currentOptions, com.evolveum.midpoint.task.api.Task task, OperationResult result) throws CommonException - Specified by:
countObjects
in classSelectableBeanDataProvider<O extends ObjectType>
- Throws:
CommonException
-
isMemberPanel
protected boolean isMemberPanel() -
setIsMemberPanel
public void setIsMemberPanel(boolean isMemberPanel) -
searchObjects
protected List<O> searchObjects(Class<O> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, com.evolveum.midpoint.task.api.Task task, OperationResult result) throws CommonException - Specified by:
searchObjects
in classSelectableBeanDataProvider<O extends ObjectType>
- Throws:
CommonException
-
detach
public void detach()- Specified by:
detach
in interfaceorg.apache.wicket.markup.repeater.data.IDataProvider<O extends ObjectType>
- Specified by:
detach
in interfaceorg.apache.wicket.model.IDetachable
- Overrides:
detach
in classBaseSearchDataProvider<O extends ObjectType,
SelectableBean<O extends ObjectType>>
-
setTaskConsumer
-