Class CombinedRelatedObjectsProvider
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<C>
com.evolveum.midpoint.gui.impl.component.data.provider.SelectableBeanContainerDataProvider<SimulationResultProcessedObjectType>
com.evolveum.midpoint.gui.impl.page.admin.simulation.RelatedObjectsProvider
com.evolveum.midpoint.gui.impl.page.admin.simulation.CombinedRelatedObjectsProvider
- All Implemented Interfaces:
ISelectableDataProvider<SelectableBean<SimulationResultProcessedObjectType>>
,Serializable
,org.apache.wicket.extensions.markup.html.repeater.data.sort.ISortStateLocator<String>
,org.apache.wicket.extensions.markup.html.repeater.data.table.ISortableDataProvider<SelectableBean<SimulationResultProcessedObjectType>,
,String> org.apache.wicket.markup.repeater.data.IDataProvider<SelectableBean<SimulationResultProcessedObjectType>>
,org.apache.wicket.model.IDetachable
,org.apache.wicket.util.io.IClusterable
Just and extension of
RelatedObjectsProvider
, which prepends currently displayed processed objects into
list of related objects (for better navigation).- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.evolveum.midpoint.gui.impl.component.data.provider.BaseSortableDataProvider
BaseSortableDataProvider.CachedSize
-
Constructor Summary
ConstructorDescriptionCombinedRelatedObjectsProvider
(org.apache.wicket.Component component, @NotNull org.apache.wicket.model.IModel<Search<SimulationResultProcessedObjectType>> searchModel, org.apache.wicket.model.IModel<SimulationResultProcessedObjectType> self) -
Method Summary
Modifier and TypeMethodDescriptionprotected Integer
countObjects
(Class<SimulationResultProcessedObjectType> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> currentOptions, Task task, OperationResult result) protected ObjectPaging
createPaging
(long offset, long pageSize) protected List<SimulationResultProcessedObjectType>
searchObjects
(Class<SimulationResultProcessedObjectType> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult result) Methods inherited from class com.evolveum.midpoint.gui.impl.page.admin.simulation.RelatedObjectsProvider
getCustomizeContentQuery, getProcessedObjectId, getSimulationResultOid
Methods inherited from class com.evolveum.midpoint.gui.impl.component.data.provider.SelectableBeanContainerDataProvider
addCachedSize, checkOrderingSettings, getCachedSize, match
Methods inherited from class com.evolveum.midpoint.gui.impl.component.data.provider.SelectableBeanDataProvider
clearSelectedObjects, createDataObjectWrapper, 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, detach, getCompiledObjectCollectionView, getQuery, getSearchModel, getType, getVariables, setCompiledObjectCollectionView, setupUserFriendlyMessage, size
Methods inherited from class com.evolveum.midpoint.gui.impl.component.data.provider.BaseSortableDataProvider
clearCache, createObjectOrderings, 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
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.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
-
CombinedRelatedObjectsProvider
public CombinedRelatedObjectsProvider(org.apache.wicket.Component component, @NotNull @NotNull org.apache.wicket.model.IModel<Search<SimulationResultProcessedObjectType>> searchModel, org.apache.wicket.model.IModel<SimulationResultProcessedObjectType> self)
-
-
Method Details
-
searchObjects
protected List<SimulationResultProcessedObjectType> searchObjects(Class<SimulationResultProcessedObjectType> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult result) throws CommonException - Overrides:
searchObjects
in classSelectableBeanContainerDataProvider<SimulationResultProcessedObjectType>
- Throws:
CommonException
-
countObjects
protected Integer countObjects(Class<SimulationResultProcessedObjectType> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> currentOptions, Task task, OperationResult result) throws CommonException - Overrides:
countObjects
in classSelectableBeanContainerDataProvider<SimulationResultProcessedObjectType>
- Throws:
CommonException
-
createPaging
- Overrides:
createPaging
in classBaseSortableDataProvider<SelectableBean<SimulationResultProcessedObjectType>>
-