Class ResourceTemplateProvider
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<O,W>
com.evolveum.midpoint.gui.impl.component.data.provider.ObjectDataProvider<TemplateTile<ResourceTemplate>,AssignmentHolderType>
com.evolveum.midpoint.gui.impl.component.data.provider.ResourceTemplateProvider
- 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<TemplateTile<ResourceTemplate>,
,String> org.apache.wicket.markup.repeater.data.IDataProvider<TemplateTile<ResourceTemplate>>
,org.apache.wicket.model.IDetachable
,org.apache.wicket.util.io.IClusterable
public class ResourceTemplateProvider
extends ObjectDataProvider<TemplateTile<ResourceTemplate>,AssignmentHolderType>
- Author:
- lskublik
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.evolveum.midpoint.gui.impl.component.data.provider.BaseSortableDataProvider
BaseSortableDataProvider.CachedSize
-
Constructor Summary
ConstructorDescriptionResourceTemplateProvider
(org.apache.wicket.Component component, org.apache.wicket.model.IModel<Search> search, org.apache.wicket.model.IModel<ResourceTemplate.TemplateType> type) -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectPaging
createPaging
(long offset, long pageSize) protected ObjectQuery
protected Collection<SelectorOptions<GetOperationOptions>>
Methods inherited from class com.evolveum.midpoint.gui.impl.component.data.provider.ObjectDataProvider
addCachedSize, checkOrderingSettings, getCachedSize, getOptions, getSelectedData, handleNotSuccessOrHandledErrorInIterator, internalIterator, internalSize, 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, getPrismContext, getRelationRegistry, getSchemaService, getTaskManager, isDistinct, isOrderingDisabled, isSizeAvailableModel, isUseCache, iterator, model, setExportSize, setQuery
Methods inherited from class org.apache.wicket.extensions.markup.html.repeater.util.SortableDataProvider
getSort, getSortState, setSort, setSort
-
Constructor Details
-
ResourceTemplateProvider
public ResourceTemplateProvider(org.apache.wicket.Component component, org.apache.wicket.model.IModel<Search> search, org.apache.wicket.model.IModel<ResourceTemplate.TemplateType> type)
-
-
Method Details
-
getOptionsToUse
- Overrides:
getOptionsToUse
in classObjectDataProvider<TemplateTile<ResourceTemplate>,
AssignmentHolderType>
-
getCustomizeContentQuery
- Overrides:
getCustomizeContentQuery
in classBaseSearchDataProvider<AssignmentHolderType,
TemplateTile<ResourceTemplate>>
-
createPaging
- Overrides:
createPaging
in classBaseSortableDataProvider<TemplateTile<ResourceTemplate>>
-
createDataObjectWrapper
public TemplateTile<ResourceTemplate> createDataObjectWrapper(PrismObject<AssignmentHolderType> obj) - Overrides:
createDataObjectWrapper
in classObjectDataProvider<TemplateTile<ResourceTemplate>,
AssignmentHolderType>
-