Class AsIndexPropertyDataProvider
- java.lang.Object
-
- de.hybris.platform.adaptivesearchbackoffice.common.impl.AsIndexPropertyDataProvider
-
- All Implemented Interfaces:
DataProvider<AsIndexPropertyData,java.lang.String>
public class AsIndexPropertyDataProvider extends java.lang.Object implements DataProvider<AsIndexPropertyData,java.lang.String>
Implementation ofDataProviderfor index properties.
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringINDEX_TYPE
-
Constructor Summary
Constructors Constructor Description AsIndexPropertyDataProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AsSearchProviderFactorygetAsSearchProviderFactory()java.util.List<AsIndexPropertyData>getData(java.util.Map<java.lang.String,java.lang.Object> parameters)Returns the data.java.lang.StringgetLabel(AsIndexPropertyData data, java.util.Map<java.lang.String,java.lang.Object> parameters)Returns the label for a data object.java.lang.StringgetValue(AsIndexPropertyData data, java.util.Map<java.lang.String,java.lang.Object> parameters)Returns the value for a data object.protected java.lang.StringresolveIndexType(java.util.Map<java.lang.String,java.lang.Object> parameters)voidsetAsSearchProviderFactory(AsSearchProviderFactory asSearchProviderFactory)
-
-
-
Field Detail
-
INDEX_TYPE
protected static final java.lang.String INDEX_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getData
public java.util.List<AsIndexPropertyData> getData(java.util.Map<java.lang.String,java.lang.Object> parameters)
Description copied from interface:DataProviderReturns the data.- Specified by:
getDatain interfaceDataProvider<AsIndexPropertyData,java.lang.String>- Parameters:
parameters- - the parameters- Returns:
- the data
-
getValue
public java.lang.String getValue(AsIndexPropertyData data, java.util.Map<java.lang.String,java.lang.Object> parameters)
Description copied from interface:DataProviderReturns the value for a data object.- Specified by:
getValuein interfaceDataProvider<AsIndexPropertyData,java.lang.String>- Parameters:
data- - the data objectparameters- - the parameters- Returns:
- the value object
-
getLabel
public java.lang.String getLabel(AsIndexPropertyData data, java.util.Map<java.lang.String,java.lang.Object> parameters)
Description copied from interface:DataProviderReturns the label for a data object.- Specified by:
getLabelin interfaceDataProvider<AsIndexPropertyData,java.lang.String>- Parameters:
data- - the data objectparameters- - the parameters- Returns:
- the label
-
resolveIndexType
protected java.lang.String resolveIndexType(java.util.Map<java.lang.String,java.lang.Object> parameters)
-
getAsSearchProviderFactory
public AsSearchProviderFactory getAsSearchProviderFactory()
-
setAsSearchProviderFactory
public void setAsSearchProviderFactory(AsSearchProviderFactory asSearchProviderFactory)
-
-