Class AsExcludedItemsDataHandler
- java.lang.Object
-
- de.hybris.platform.adaptivesearchbackoffice.editors.configurablemultireference.AbstractDataHandler<ExcludedItemEditorData,AsExcludedItemModel>
-
- de.hybris.platform.adaptivesearchbackoffice.editors.excludeditems.AsExcludedItemsDataHandler
-
- All Implemented Interfaces:
DataHandler<ExcludedItemEditorData,AsExcludedItemModel>
public class AsExcludedItemsDataHandler extends AbstractDataHandler<ExcludedItemEditorData,AsExcludedItemModel>
Implementation ofDataHandlerfor the excluded items.
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.adaptivesearchbackoffice.editors.configurablemultireference.AbstractDataHandler
SEARCH_PROFILE_PARAM
-
-
Constructor Summary
Constructors Constructor Description AsExcludedItemsDataHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidconvertFromModel(AsExcludedItemModel source, ExcludedItemEditorData target)protected voidconvertFromSearchProfileResult(AsConfigurationHolder<AsExcludedItem,AbstractAsBoostItemConfiguration> source, ExcludedItemEditorData target, AbstractAsSearchProfileModel searchProfile)protected ExcludedItemEditorDatacreateEditorData()com.hybris.cockpitng.labels.LabelServicegetLabelService()ModelServicegetModelService()java.lang.StringgetTypeCode()Returns the type code for the model.protected booleanisConfigurationFromSearchProfile(AbstractAsBoostItemConfiguration configuration, AbstractAsSearchProfileModel searchProfile)protected voidloadDataFromInitialValue(java.util.Map<java.lang.Object,ExcludedItemEditorData> mapping, java.util.Collection<AsExcludedItemModel> initialValue, java.util.Map<java.lang.String,java.lang.Object> parameters)protected voidloadDataFromSearchResult(java.util.Map<java.lang.Object,ExcludedItemEditorData> mapping, SearchResultData searchResult, java.util.Map<java.lang.String,java.lang.Object> parameters)voidsetLabelService(com.hybris.cockpitng.labels.LabelService labelService)voidsetModelService(ModelService modelService)-
Methods inherited from class de.hybris.platform.adaptivesearchbackoffice.editors.configurablemultireference.AbstractDataHandler
getAsConfigurationService, getAsUidGenerator, getAttributeType, getAttributeValue, getItemValue, getOrCreateEditorData, getValue, loadData, postLoadData, setAsConfigurationService, setAsUidGenerator, setAttributeValue
-
-
-
-
Method Detail
-
getTypeCode
public java.lang.String getTypeCode()
Description copied from interface:DataHandlerReturns the type code for the model.- Returns:
- the type code
-
createEditorData
protected ExcludedItemEditorData createEditorData()
- Specified by:
createEditorDatain classAbstractDataHandler<ExcludedItemEditorData,AsExcludedItemModel>
-
loadDataFromSearchResult
protected void loadDataFromSearchResult(java.util.Map<java.lang.Object,ExcludedItemEditorData> mapping, SearchResultData searchResult, java.util.Map<java.lang.String,java.lang.Object> parameters)
- Specified by:
loadDataFromSearchResultin classAbstractDataHandler<ExcludedItemEditorData,AsExcludedItemModel>
-
loadDataFromInitialValue
protected void loadDataFromInitialValue(java.util.Map<java.lang.Object,ExcludedItemEditorData> mapping, java.util.Collection<AsExcludedItemModel> initialValue, java.util.Map<java.lang.String,java.lang.Object> parameters)
- Specified by:
loadDataFromInitialValuein classAbstractDataHandler<ExcludedItemEditorData,AsExcludedItemModel>
-
convertFromSearchProfileResult
protected void convertFromSearchProfileResult(AsConfigurationHolder<AsExcludedItem,AbstractAsBoostItemConfiguration> source, ExcludedItemEditorData target, AbstractAsSearchProfileModel searchProfile)
-
isConfigurationFromSearchProfile
protected boolean isConfigurationFromSearchProfile(AbstractAsBoostItemConfiguration configuration, AbstractAsSearchProfileModel searchProfile)
-
convertFromModel
protected void convertFromModel(AsExcludedItemModel source, ExcludedItemEditorData target)
-
getModelService
public ModelService getModelService()
-
setModelService
public void setModelService(ModelService modelService)
-
getLabelService
public com.hybris.cockpitng.labels.LabelService getLabelService()
-
setLabelService
public void setLabelService(com.hybris.cockpitng.labels.LabelService labelService)
-
-