Class AsExcludedFacetsDataHandler
java.lang.Object
de.hybris.platform.adaptivesearchbackoffice.editors.configurablemultireference.AbstractDataHandler<ExcludedFacetEditorData,AsExcludedFacetModel>
de.hybris.platform.adaptivesearchbackoffice.editors.excludedfacets.AsExcludedFacetsDataHandler
- All Implemented Interfaces:
DataHandler<ExcludedFacetEditorData,AsExcludedFacetModel>
public class AsExcludedFacetsDataHandler
extends AbstractDataHandler<ExcludedFacetEditorData,AsExcludedFacetModel>
Implementation of
DataHandler for the excluded facets.-
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(AsExcludedFacetModel source, ExcludedFacetEditorData target) protected voidconvertFromSearchProfileResult(AsConfigurationHolder<AsExcludedFacet, AbstractAsFacetConfiguration> source, ExcludedFacetEditorData target, AbstractAsSearchProfileModel searchProfile) protected ExcludedFacetEditorDataReturns the type code for the model.protected booleanisConfigurationFromSearchProfile(AbstractAsFacetConfiguration configuration, AbstractAsSearchProfileModel searchProfile) protected voidloadDataFromInitialValue(Map<Object, ExcludedFacetEditorData> mapping, Collection<AsExcludedFacetModel> initialValue, Map<String, Object> parameters) protected voidloadDataFromSearchResult(Map<Object, ExcludedFacetEditorData> mapping, SearchResultData searchResult, Map<String, Object> parameters) protected voidpostLoadData(Collection<AsExcludedFacetModel> initialValue, SearchResultData searchResult, Map<String, Object> parameters, org.zkoss.zul.ListModelList<ExcludedFacetEditorData> data) voidsetAsFacetUtils(AsFacetUtils asFacetUtils) Methods inherited from class de.hybris.platform.adaptivesearchbackoffice.editors.configurablemultireference.AbstractDataHandler
getAsConfigurationService, getAsUidGenerator, getAttributeType, getAttributeValue, getItemValue, getOrCreateEditorData, getValue, loadData, setAsConfigurationService, setAsUidGenerator, setAttributeValue
-
Constructor Details
-
AsExcludedFacetsDataHandler
public AsExcludedFacetsDataHandler()
-
-
Method Details
-
getTypeCode
Description copied from interface:DataHandlerReturns the type code for the model.- Returns:
- the type code
-
createEditorData
- Specified by:
createEditorDatain classAbstractDataHandler<ExcludedFacetEditorData,AsExcludedFacetModel>
-
loadDataFromSearchResult
protected void loadDataFromSearchResult(Map<Object, ExcludedFacetEditorData> mapping, SearchResultData searchResult, Map<String, Object> parameters) - Specified by:
loadDataFromSearchResultin classAbstractDataHandler<ExcludedFacetEditorData,AsExcludedFacetModel>
-
loadDataFromInitialValue
protected void loadDataFromInitialValue(Map<Object, ExcludedFacetEditorData> mapping, Collection<AsExcludedFacetModel> initialValue, Map<String, Object> parameters) - Specified by:
loadDataFromInitialValuein classAbstractDataHandler<ExcludedFacetEditorData,AsExcludedFacetModel>
-
convertFromSearchProfileResult
protected void convertFromSearchProfileResult(AsConfigurationHolder<AsExcludedFacet, AbstractAsFacetConfiguration> source, ExcludedFacetEditorData target, AbstractAsSearchProfileModel searchProfile) -
isConfigurationFromSearchProfile
protected boolean isConfigurationFromSearchProfile(AbstractAsFacetConfiguration configuration, AbstractAsSearchProfileModel searchProfile) -
convertFromModel
-
postLoadData
protected void postLoadData(Collection<AsExcludedFacetModel> initialValue, SearchResultData searchResult, Map<String, Object> parameters, org.zkoss.zul.ListModelList<ExcludedFacetEditorData> data) - Overrides:
postLoadDatain classAbstractDataHandler<ExcludedFacetEditorData,AsExcludedFacetModel>
-
getAsFacetUtils
-
setAsFacetUtils
-