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:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.evolveum.midpoint.gui.impl.component.data.provider.BaseSortableDataProvider
BaseSortableDataProvider.CachedSize
-
-
Constructor Summary
Constructors Constructor Description BaseSearchDataProvider(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addQueryVariables(String name, Object value)
void
detach()
protected CompiledObjectCollectionView
getCompiledObjectCollectionView()
protected ObjectQuery
getCustomizeContentQuery()
ObjectQuery
getQuery()
protected org.apache.wicket.model.IModel<Search<C>>
getSearchModel()
Class<C>
getType()
protected VariablesMap
getVariables()
void
setCompiledObjectCollectionView(CompiledObjectCollectionView objectCollectionView)
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
-
-
-
-
Constructor Detail
-
BaseSearchDataProvider
public BaseSearchDataProvider(org.apache.wicket.Component component, org.apache.wicket.model.IModel<Search<C>> search)
-
BaseSearchDataProvider
public BaseSearchDataProvider(org.apache.wicket.Component component, org.apache.wicket.model.IModel<Search<C>> search, boolean useCache)
-
-
Method Detail
-
getQuery
public ObjectQuery getQuery()
- Overrides:
getQuery
in classBaseSortableDataProvider<T extends Serializable>
-
getVariables
protected VariablesMap getVariables()
-
getCustomizeContentQuery
protected ObjectQuery getCustomizeContentQuery()
-
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>
-
getCompiledObjectCollectionView
protected CompiledObjectCollectionView getCompiledObjectCollectionView()
-
setCompiledObjectCollectionView
public void setCompiledObjectCollectionView(CompiledObjectCollectionView objectCollectionView)
-
detach
public void detach()
-
-