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
_TYPECODE
Generated model type code constant.static java.lang.String
APPLYPROMOTEDITEMS
Generated constant - Attribute key ofAbstractAsSortConfiguration.applyPromotedItems
attribute defined at extensionadaptivesearch
.static java.lang.String
CODE
Generated constant - Attribute key ofAbstractAsSortConfiguration.code
attribute defined at extensionadaptivesearch
.static java.lang.String
EXPRESSIONS
Generated constant - Attribute key ofAbstractAsSortConfiguration.expressions
attribute defined at extensionadaptivesearch
.static java.lang.String
HIGHLIGHTPROMOTEDITEMS
Generated constant - Attribute key ofAbstractAsSortConfiguration.highlightPromotedItems
attribute defined at extensionadaptivesearch
.static java.lang.String
NAME
Generated constant - Attribute key ofAbstractAsSortConfiguration.name
attribute defined at extensionadaptivesearch
.static java.lang.String
PRIORITY
Generated constant - Attribute key ofAbstractAsSortConfiguration.priority
attribute defined at extensionadaptivesearch
.static java.lang.String
UNIQUEIDX
Generated constant - Attribute key ofAbstractAsSortConfiguration.uniqueIdx
attribute 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.String
getCode()
Generated method - Getter of theAbstractAsSortConfiguration.code
attribute defined at extensionadaptivesearch
.java.util.List<AsSortExpressionModel>
getExpressions()
Generated method - Getter of theAbstractAsSortConfiguration.expressions
attribute defined at extensionadaptivesearch
.java.lang.String
getName()
Generated method - Getter of theAbstractAsSortConfiguration.name
attribute defined at extensionadaptivesearch
.java.lang.String
getName(java.util.Locale loc)
Generated method - Getter of theAbstractAsSortConfiguration.name
attribute defined at extensionadaptivesearch
.java.lang.Integer
getPriority()
Generated method - Getter of theAbstractAsSortConfiguration.priority
attribute defined at extensionadaptivesearch
.java.lang.String
getUniqueIdx()
Generated method - Getter of theAbstractAsSortConfiguration.uniqueIdx
attribute defined at extensionadaptivesearch
.boolean
isApplyPromotedItems()
Generated method - Getter of theAbstractAsSortConfiguration.applyPromotedItems
attribute defined at extensionadaptivesearch
.boolean
isHighlightPromotedItems()
Generated method - Getter of theAbstractAsSortConfiguration.highlightPromotedItems
attribute defined at extensionadaptivesearch
.void
setApplyPromotedItems(boolean value)
Generated method - Setter ofAbstractAsSortConfiguration.applyPromotedItems
attribute defined at extensionadaptivesearch
.void
setCode(java.lang.String value)
Generated method - Setter ofAbstractAsSortConfiguration.code
attribute defined at extensionadaptivesearch
.void
setExpressions(java.util.List<AsSortExpressionModel> value)
Generated method - Setter ofAbstractAsSortConfiguration.expressions
attribute defined at extensionadaptivesearch
.void
setHighlightPromotedItems(boolean value)
Generated method - Setter ofAbstractAsSortConfiguration.highlightPromotedItems
attribute defined at extensionadaptivesearch
.void
setName(java.lang.String value)
Generated method - Setter ofAbstractAsSortConfiguration.name
attribute defined at extensionadaptivesearch
.void
setName(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofAbstractAsSortConfiguration.name
attribute defined at extensionadaptivesearch
.void
setPriority(java.lang.Integer value)
Generated method - Setter ofAbstractAsSortConfiguration.priority
attribute defined at extensionadaptivesearch
.void
setUniqueIdx(java.lang.String value)
Generated method - Setter ofAbstractAsSortConfiguration.uniqueIdx
attribute 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.code
attribute defined at extensionadaptivesearch
.- See Also:
- Constant Field Values
-
NAME
public static final java.lang.String NAME
Generated constant - Attribute key ofAbstractAsSortConfiguration.name
attribute defined at extensionadaptivesearch
.- See Also:
- Constant Field Values
-
PRIORITY
public static final java.lang.String PRIORITY
Generated constant - Attribute key ofAbstractAsSortConfiguration.priority
attribute defined at extensionadaptivesearch
.- See Also:
- Constant Field Values
-
APPLYPROMOTEDITEMS
public static final java.lang.String APPLYPROMOTEDITEMS
Generated constant - Attribute key ofAbstractAsSortConfiguration.applyPromotedItems
attribute defined at extensionadaptivesearch
.- See Also:
- Constant Field Values
-
HIGHLIGHTPROMOTEDITEMS
public static final java.lang.String HIGHLIGHTPROMOTEDITEMS
Generated constant - Attribute key ofAbstractAsSortConfiguration.highlightPromotedItems
attribute defined at extensionadaptivesearch
.- See Also:
- Constant Field Values
-
UNIQUEIDX
public static final java.lang.String UNIQUEIDX
Generated constant - Attribute key ofAbstractAsSortConfiguration.uniqueIdx
attribute defined at extensionadaptivesearch
.- See Also:
- Constant Field Values
-
EXPRESSIONS
public static final java.lang.String EXPRESSIONS
Generated constant - Attribute key ofAbstractAsSortConfiguration.expressions
attribute 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 typeAbstractAsSortConfiguration
at extensionadaptivesearch
_uid
- initial attribute declared by typeAbstractAsConfiguration
at extensionadaptivesearch
_uniqueIdx
- initial attribute declared by typeAbstractAsSortConfiguration
at 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 typeAbstractAsConfiguration
at extensionadaptivesearch
_code
- initial attribute declared by typeAbstractAsSortConfiguration
at extensionadaptivesearch
_owner
- initial attribute declared by typeItem
at extensioncore
_uid
- initial attribute declared by typeAbstractAsConfiguration
at extensionadaptivesearch
_uniqueIdx
- initial attribute declared by typeAbstractAsSortConfiguration
at extensionadaptivesearch
-
-
Method Detail
-
getCode
@Accessor(qualifier="code", type=GETTER) public java.lang.String getCode()
Generated method - Getter of theAbstractAsSortConfiguration.code
attribute defined at extensionadaptivesearch
.- Returns:
- the code
-
getExpressions
@Accessor(qualifier="expressions", type=GETTER) public java.util.List<AsSortExpressionModel> getExpressions()
Generated method - Getter of theAbstractAsSortConfiguration.expressions
attribute 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.name
attribute 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.name
attribute 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.priority
attribute defined at extensionadaptivesearch
.- Returns:
- the priority
-
getUniqueIdx
@Accessor(qualifier="uniqueIdx", type=GETTER) public java.lang.String getUniqueIdx()
Generated method - Getter of theAbstractAsSortConfiguration.uniqueIdx
attribute defined at extensionadaptivesearch
.- Returns:
- the uniqueIdx
-
isApplyPromotedItems
@Accessor(qualifier="applyPromotedItems", type=GETTER) public boolean isApplyPromotedItems()
Generated method - Getter of theAbstractAsSortConfiguration.applyPromotedItems
attribute defined at extensionadaptivesearch
.- Returns:
- the applyPromotedItems
-
isHighlightPromotedItems
@Accessor(qualifier="highlightPromotedItems", type=GETTER) public boolean isHighlightPromotedItems()
Generated method - Getter of theAbstractAsSortConfiguration.highlightPromotedItems
attribute defined at extensionadaptivesearch
.- Returns:
- the highlightPromotedItems
-
setApplyPromotedItems
@Accessor(qualifier="applyPromotedItems", type=SETTER) public void setApplyPromotedItems(boolean value)
Generated method - Setter ofAbstractAsSortConfiguration.applyPromotedItems
attribute defined at extensionadaptivesearch
.- Parameters:
value
- the applyPromotedItems
-
setCode
@Accessor(qualifier="code", type=SETTER) public void setCode(java.lang.String value)
Generated method - Setter ofAbstractAsSortConfiguration.code
attribute 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.expressions
attribute defined at extensionadaptivesearch
.- Parameters:
value
- the expressions
-
setHighlightPromotedItems
@Accessor(qualifier="highlightPromotedItems", type=SETTER) public void setHighlightPromotedItems(boolean value)
Generated method - Setter ofAbstractAsSortConfiguration.highlightPromotedItems
attribute defined at extensionadaptivesearch
.- Parameters:
value
- the highlightPromotedItems
-
setName
@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value)
Generated method - Setter ofAbstractAsSortConfiguration.name
attribute 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.name
attribute 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.priority
attribute defined at extensionadaptivesearch
.- Parameters:
value
- the priority
-
-