Class AbstractAsSortConfigurationModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.adaptivesearch.model.AbstractAsConfigurationModel
-
- de.hybris.platform.adaptivesearch.model.AbstractAsItemConfigurationModel
-
- de.hybris.platform.adaptivesearch.model.AbstractAsSortConfigurationModel
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
AsExcludedSortModel,AsPromotedSortModel,AsSortModel
public class AbstractAsSortConfigurationModel extends AbstractAsItemConfigurationModel
Generated model class for type AbstractAsSortConfiguration first defined at extension adaptivesearch.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringAPPLYPROMOTEDITEMSGenerated constant - Attribute key ofAbstractAsSortConfiguration.applyPromotedItemsattribute defined at extensionadaptivesearch.static java.lang.StringCODEGenerated constant - Attribute key ofAbstractAsSortConfiguration.codeattribute defined at extensionadaptivesearch.static java.lang.StringEXPRESSIONSGenerated constant - Attribute key ofAbstractAsSortConfiguration.expressionsattribute defined at extensionadaptivesearch.static java.lang.StringHIGHLIGHTPROMOTEDITEMSGenerated constant - Attribute key ofAbstractAsSortConfiguration.highlightPromotedItemsattribute defined at extensionadaptivesearch.static java.lang.StringNAMEGenerated constant - Attribute key ofAbstractAsSortConfiguration.nameattribute defined at extensionadaptivesearch.static java.lang.StringPRIORITYGenerated constant - Attribute key ofAbstractAsSortConfiguration.priorityattribute defined at extensionadaptivesearch.static java.lang.StringUNIQUEIDXGenerated constant - Attribute key ofAbstractAsSortConfiguration.uniqueIdxattribute defined at extensionadaptivesearch.-
Fields inherited from class de.hybris.platform.adaptivesearch.model.AbstractAsConfigurationModel
CATALOGVERSION, CORRUPTED, UID
-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description AbstractAsSortConfigurationModel()Generated constructor - Default constructor for generic creation.AbstractAsSortConfigurationModel(CatalogVersionModel _catalogVersion, java.lang.String _code, ItemModel _owner, java.lang.String _uid, java.lang.String _uniqueIdx)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersAbstractAsSortConfigurationModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing contextAbstractAsSortConfigurationModel(java.lang.String _code, java.lang.String _uid, java.lang.String _uniqueIdx)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parameters
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCode()Generated method - Getter of theAbstractAsSortConfiguration.codeattribute defined at extensionadaptivesearch.java.util.List<AsSortExpressionModel>getExpressions()Generated method - Getter of theAbstractAsSortConfiguration.expressionsattribute defined at extensionadaptivesearch.java.lang.StringgetName()Generated method - Getter of theAbstractAsSortConfiguration.nameattribute defined at extensionadaptivesearch.java.lang.StringgetName(java.util.Locale loc)Generated method - Getter of theAbstractAsSortConfiguration.nameattribute defined at extensionadaptivesearch.java.lang.IntegergetPriority()Generated method - Getter of theAbstractAsSortConfiguration.priorityattribute defined at extensionadaptivesearch.java.lang.StringgetUniqueIdx()Generated method - Getter of theAbstractAsSortConfiguration.uniqueIdxattribute defined at extensionadaptivesearch.booleanisApplyPromotedItems()Generated method - Getter of theAbstractAsSortConfiguration.applyPromotedItemsattribute defined at extensionadaptivesearch.booleanisHighlightPromotedItems()Generated method - Getter of theAbstractAsSortConfiguration.highlightPromotedItemsattribute defined at extensionadaptivesearch.voidsetApplyPromotedItems(boolean value)Generated method - Setter ofAbstractAsSortConfiguration.applyPromotedItemsattribute defined at extensionadaptivesearch.voidsetCode(java.lang.String value)Generated method - Setter ofAbstractAsSortConfiguration.codeattribute defined at extensionadaptivesearch.voidsetExpressions(java.util.List<AsSortExpressionModel> value)Generated method - Setter ofAbstractAsSortConfiguration.expressionsattribute defined at extensionadaptivesearch.voidsetHighlightPromotedItems(boolean value)Generated method - Setter ofAbstractAsSortConfiguration.highlightPromotedItemsattribute defined at extensionadaptivesearch.voidsetName(java.lang.String value)Generated method - Setter ofAbstractAsSortConfiguration.nameattribute defined at extensionadaptivesearch.voidsetName(java.lang.String value, java.util.Locale loc)Generated method - Setter ofAbstractAsSortConfiguration.nameattribute defined at extensionadaptivesearch.voidsetPriority(java.lang.Integer value)Generated method - Setter ofAbstractAsSortConfiguration.priorityattribute defined at extensionadaptivesearch.voidsetUniqueIdx(java.lang.String value)Generated method - Setter ofAbstractAsSortConfiguration.uniqueIdxattribute defined at extensionadaptivesearch.-
Methods inherited from class de.hybris.platform.adaptivesearch.model.AbstractAsConfigurationModel
getCatalogVersion, getUid, isCorrupted, setCatalogVersion, setUid
-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
-
-
-
-
Field Detail
-
_TYPECODE
public static final java.lang.String _TYPECODE
Generated model type code constant.- See Also:
- Constant Field Values
-
CODE
public static final java.lang.String CODE
Generated constant - Attribute key ofAbstractAsSortConfiguration.codeattribute defined at extensionadaptivesearch.- See Also:
- Constant Field Values
-
NAME
public static final java.lang.String NAME
Generated constant - Attribute key ofAbstractAsSortConfiguration.nameattribute defined at extensionadaptivesearch.- See Also:
- Constant Field Values
-
PRIORITY
public static final java.lang.String PRIORITY
Generated constant - Attribute key ofAbstractAsSortConfiguration.priorityattribute defined at extensionadaptivesearch.- See Also:
- Constant Field Values
-
APPLYPROMOTEDITEMS
public static final java.lang.String APPLYPROMOTEDITEMS
Generated constant - Attribute key ofAbstractAsSortConfiguration.applyPromotedItemsattribute defined at extensionadaptivesearch.- See Also:
- Constant Field Values
-
HIGHLIGHTPROMOTEDITEMS
public static final java.lang.String HIGHLIGHTPROMOTEDITEMS
Generated constant - Attribute key ofAbstractAsSortConfiguration.highlightPromotedItemsattribute defined at extensionadaptivesearch.- See Also:
- Constant Field Values
-
UNIQUEIDX
public static final java.lang.String UNIQUEIDX
Generated constant - Attribute key ofAbstractAsSortConfiguration.uniqueIdxattribute defined at extensionadaptivesearch.- See Also:
- Constant Field Values
-
EXPRESSIONS
public static final java.lang.String EXPRESSIONS
Generated constant - Attribute key ofAbstractAsSortConfiguration.expressionsattribute defined at extensionadaptivesearch.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AbstractAsSortConfigurationModel
public AbstractAsSortConfigurationModel()
Generated constructor - Default constructor for generic creation.
-
AbstractAsSortConfigurationModel
public AbstractAsSortConfigurationModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
AbstractAsSortConfigurationModel
@Deprecated(since="4.1.1", forRemoval=true) public AbstractAsSortConfigurationModel(java.lang.String _code, java.lang.String _uid, java.lang.String _uniqueIdx)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_code- initial attribute declared by typeAbstractAsSortConfigurationat extensionadaptivesearch_uid- initial attribute declared by typeAbstractAsConfigurationat extensionadaptivesearch_uniqueIdx- initial attribute declared by typeAbstractAsSortConfigurationat extensionadaptivesearch
-
AbstractAsSortConfigurationModel
@Deprecated(since="4.1.1", forRemoval=true) public AbstractAsSortConfigurationModel(CatalogVersionModel _catalogVersion, java.lang.String _code, ItemModel _owner, java.lang.String _uid, java.lang.String _uniqueIdx)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_catalogVersion- initial attribute declared by typeAbstractAsConfigurationat extensionadaptivesearch_code- initial attribute declared by typeAbstractAsSortConfigurationat extensionadaptivesearch_owner- initial attribute declared by typeItemat extensioncore_uid- initial attribute declared by typeAbstractAsConfigurationat extensionadaptivesearch_uniqueIdx- initial attribute declared by typeAbstractAsSortConfigurationat extensionadaptivesearch
-
-
Method Detail
-
getCode
@Accessor(qualifier="code", type=GETTER) public java.lang.String getCode()
Generated method - Getter of theAbstractAsSortConfiguration.codeattribute defined at extensionadaptivesearch.- Returns:
- the code
-
getExpressions
@Accessor(qualifier="expressions", type=GETTER) public java.util.List<AsSortExpressionModel> getExpressions()
Generated method - Getter of theAbstractAsSortConfiguration.expressionsattribute defined at extensionadaptivesearch. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the expressions
-
getName
@Accessor(qualifier="name", type=GETTER) public java.lang.String getName()
Generated method - Getter of theAbstractAsSortConfiguration.nameattribute defined at extensionadaptivesearch.- Returns:
- the name
-
getName
@Accessor(qualifier="name", type=GETTER) public java.lang.String getName(java.util.Locale loc)
Generated method - Getter of theAbstractAsSortConfiguration.nameattribute defined at extensionadaptivesearch.- Parameters:
loc- the value localization key- Returns:
- the name
- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
getPriority
@Accessor(qualifier="priority", type=GETTER) public java.lang.Integer getPriority()
Generated method - Getter of theAbstractAsSortConfiguration.priorityattribute defined at extensionadaptivesearch.- Returns:
- the priority
-
getUniqueIdx
@Accessor(qualifier="uniqueIdx", type=GETTER) public java.lang.String getUniqueIdx()
Generated method - Getter of theAbstractAsSortConfiguration.uniqueIdxattribute defined at extensionadaptivesearch.- Returns:
- the uniqueIdx
-
isApplyPromotedItems
@Accessor(qualifier="applyPromotedItems", type=GETTER) public boolean isApplyPromotedItems()
Generated method - Getter of theAbstractAsSortConfiguration.applyPromotedItemsattribute defined at extensionadaptivesearch.- Returns:
- the applyPromotedItems
-
isHighlightPromotedItems
@Accessor(qualifier="highlightPromotedItems", type=GETTER) public boolean isHighlightPromotedItems()
Generated method - Getter of theAbstractAsSortConfiguration.highlightPromotedItemsattribute defined at extensionadaptivesearch.- Returns:
- the highlightPromotedItems
-
setApplyPromotedItems
@Accessor(qualifier="applyPromotedItems", type=SETTER) public void setApplyPromotedItems(boolean value)
Generated method - Setter ofAbstractAsSortConfiguration.applyPromotedItemsattribute defined at extensionadaptivesearch.- Parameters:
value- the applyPromotedItems
-
setCode
@Accessor(qualifier="code", type=SETTER) public void setCode(java.lang.String value)
Generated method - Setter ofAbstractAsSortConfiguration.codeattribute defined at extensionadaptivesearch.- Parameters:
value- the code
-
setExpressions
@Accessor(qualifier="expressions", type=SETTER) public void setExpressions(java.util.List<AsSortExpressionModel> value)
Generated method - Setter ofAbstractAsSortConfiguration.expressionsattribute defined at extensionadaptivesearch.- Parameters:
value- the expressions
-
setHighlightPromotedItems
@Accessor(qualifier="highlightPromotedItems", type=SETTER) public void setHighlightPromotedItems(boolean value)
Generated method - Setter ofAbstractAsSortConfiguration.highlightPromotedItemsattribute defined at extensionadaptivesearch.- Parameters:
value- the highlightPromotedItems
-
setName
@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value)
Generated method - Setter ofAbstractAsSortConfiguration.nameattribute defined at extensionadaptivesearch.- Parameters:
value- the name
-
setName
@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofAbstractAsSortConfiguration.nameattribute defined at extensionadaptivesearch.- Parameters:
value- the nameloc- the value localization key- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
setPriority
@Accessor(qualifier="priority", type=SETTER) public void setPriority(java.lang.Integer value)
Generated method - Setter ofAbstractAsSortConfiguration.priorityattribute defined at extensionadaptivesearch.- Parameters:
value- the priority
-
-