Class AsExcludedSortsDataHandler
java.lang.Object
de.hybris.platform.adaptivesearchbackoffice.editors.configurablemultireference.AbstractDataHandler<ExcludedSortEditorData,AsExcludedSortModel>
de.hybris.platform.adaptivesearchbackoffice.editors.excludedsorts.AsExcludedSortsDataHandler
- All Implemented Interfaces:
DataHandler<ExcludedSortEditorData,AsExcludedSortModel>
public class AsExcludedSortsDataHandler
extends AbstractDataHandler<ExcludedSortEditorData,AsExcludedSortModel>
-
Field Summary
Fields inherited from class de.hybris.platform.adaptivesearchbackoffice.editors.configurablemultireference.AbstractDataHandler
SEARCH_PROFILE_PARAM -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidconvertFromModel(AsExcludedSortModel source, ExcludedSortEditorData target) protected voidconvertFromSearchProfileResult(AsConfigurationHolder<AsExcludedSort, AbstractAsSortConfiguration> source, ExcludedSortEditorData target, AbstractAsSearchProfileModel searchProfile) protected ExcludedSortEditorDataReturns the type code for the model.protected booleanisConfigurationFromSearchProfile(AbstractAsSortConfiguration configuration, AbstractAsSearchProfileModel searchProfile) protected voidloadDataFromInitialValue(Map<Object, ExcludedSortEditorData> mapping, Collection<AsExcludedSortModel> initialValue, Map<String, Object> parameters) protected voidloadDataFromSearchResult(Map<Object, ExcludedSortEditorData> mapping, SearchResultData searchResult, Map<String, Object> parameters) protected voidlocalizeSorts(SearchContextData searchContext, List<? extends AbstractSortConfigurationEditorData> sorts) protected voidpostLoadData(Collection<AsExcludedSortModel> initialValue, SearchResultData searchResult, Map<String, Object> parameters, org.zkoss.zul.ListModelList<ExcludedSortEditorData> data) voidsetI18NService(I18NService i18NService) Methods inherited from class de.hybris.platform.adaptivesearchbackoffice.editors.configurablemultireference.AbstractDataHandler
getAsConfigurationService, getAsUidGenerator, getAttributeType, getAttributeValue, getItemValue, getOrCreateEditorData, getValue, loadData, setAsConfigurationService, setAsUidGenerator, setAttributeValue
-
Constructor Details
-
AsExcludedSortsDataHandler
public AsExcludedSortsDataHandler()
-
-
Method Details
-
getTypeCode
Description copied from interface:DataHandlerReturns the type code for the model.- Returns:
- the type code
-
createEditorData
- Specified by:
createEditorDatain classAbstractDataHandler<ExcludedSortEditorData,AsExcludedSortModel>
-
loadDataFromSearchResult
protected void loadDataFromSearchResult(Map<Object, ExcludedSortEditorData> mapping, SearchResultData searchResult, Map<String, Object> parameters) - Specified by:
loadDataFromSearchResultin classAbstractDataHandler<ExcludedSortEditorData,AsExcludedSortModel>
-
loadDataFromInitialValue
protected void loadDataFromInitialValue(Map<Object, ExcludedSortEditorData> mapping, Collection<AsExcludedSortModel> initialValue, Map<String, Object> parameters) - Specified by:
loadDataFromInitialValuein classAbstractDataHandler<ExcludedSortEditorData,AsExcludedSortModel>
-
convertFromSearchProfileResult
protected void convertFromSearchProfileResult(AsConfigurationHolder<AsExcludedSort, AbstractAsSortConfiguration> source, ExcludedSortEditorData target, AbstractAsSearchProfileModel searchProfile) -
isConfigurationFromSearchProfile
protected boolean isConfigurationFromSearchProfile(AbstractAsSortConfiguration configuration, AbstractAsSearchProfileModel searchProfile) -
convertFromModel
-
buildNameLocalizationMap
-
postLoadData
protected void postLoadData(Collection<AsExcludedSortModel> initialValue, SearchResultData searchResult, Map<String, Object> parameters, org.zkoss.zul.ListModelList<ExcludedSortEditorData> data) - Overrides:
postLoadDatain classAbstractDataHandler<ExcludedSortEditorData,AsExcludedSortModel>
-
localizeSorts
protected void localizeSorts(SearchContextData searchContext, List<? extends AbstractSortConfigurationEditorData> sorts) -
getI18NService
-
setI18NService
-