Class BaseSearchDataProvider<C extends Serializable,T extends Serializable>
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<C,T>
- 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<T,
,String> org.apache.wicket.markup.repeater.data.IDataProvider<T>
,org.apache.wicket.model.IDetachable
,org.apache.wicket.util.io.IClusterable
- Direct Known Subclasses:
ContainerListDataProvider
,MultivalueContainerListDataProvider
,ObjectDataProvider
,RepositoryObjectDataProvider
,SelectableBeanDataProvider
public abstract class BaseSearchDataProvider<C extends Serializable,T extends Serializable>
extends BaseSortableDataProvider<T>
- 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
ConstructorDescriptionBaseSearchDataProvider
(org.apache.wicket.Component component, org.apache.wicket.model.IModel<Search<C>> search) BaseSearchDataProvider
(org.apache.wicket.Component component, org.apache.wicket.model.IModel<Search<C>> search, boolean useCache) BaseSearchDataProvider
(org.apache.wicket.Component component, org.apache.wicket.model.IModel<Search<C>> search, boolean useCache, boolean useDefaultSortingField) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addQueryVariables
(String name, Object value) void
detach()
protected CompiledObjectCollectionView
protected ObjectQuery
getQuery()
getType()
protected VariablesMap
void
setCompiledObjectCollectionView
(CompiledObjectCollectionView objectCollectionView) protected void
setupUserFriendlyMessage
(OperationResult result, Throwable ex) long
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, internalIterator, internalSize, 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
-
Constructor Details
-
BaseSearchDataProvider
-
BaseSearchDataProvider
-
BaseSearchDataProvider
-
-
Method Details
-
getSearchModel
-
getQuery
- Overrides:
getQuery
in classBaseSortableDataProvider<T extends Serializable>
-
getVariables
-
getCustomizeContentQuery
-
getType
-
size
public long size()- Specified by:
size
in interfaceorg.apache.wicket.markup.repeater.data.IDataProvider<C extends Serializable>
- Overrides:
size
in classBaseSortableDataProvider<T extends Serializable>
-
addQueryVariables
-
getCompiledObjectCollectionView
-
setCompiledObjectCollectionView
-
setupUserFriendlyMessage
-
detach
public void detach()- Specified by:
detach
in interfaceorg.apache.wicket.markup.repeater.data.IDataProvider<C extends Serializable>
- Specified by:
detach
in interfaceorg.apache.wicket.model.IDetachable
- Overrides:
detach
in classBaseSortableDataProvider<T extends Serializable>
-