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:
Serializable
- Direct Known Subclasses:
AsExcludedSortModel,AsPromotedSortModel,AsSortModel
Generated model class for type AbstractAsSortConfiguration first defined at extension adaptivesearch.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofAbstractAsSortConfiguration.applyPromotedItemsattribute defined at extensionadaptivesearch.static final StringGenerated constant - Attribute key ofAbstractAsSortConfiguration.codeattribute defined at extensionadaptivesearch.static final StringGenerated constant - Attribute key ofAbstractAsSortConfiguration.expressionsattribute defined at extensionadaptivesearch.static final StringGenerated constant - Attribute key ofAbstractAsSortConfiguration.highlightPromotedItemsattribute defined at extensionadaptivesearch.static final StringGenerated constant - Attribute key ofAbstractAsSortConfiguration.nameattribute defined at extensionadaptivesearch.static final StringGenerated constant - Attribute key ofAbstractAsSortConfiguration.priorityattribute defined at extensionadaptivesearch.static final StringGenerated constant - Attribute key ofAbstractAsSortConfiguration.uniqueIdxattribute defined at extensionadaptivesearch.Fields inherited from class de.hybris.platform.adaptivesearch.model.AbstractAsConfigurationModel
CATALOGVERSION, CORRUPTED, UIDFields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.AbstractAsSortConfigurationModel(CatalogVersionModel _catalogVersion, String _code, ItemModel _owner, String _uid, 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 - Default constructor for creation with existing contextAbstractAsSortConfigurationModel(String _code, String _uid, 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
Modifier and TypeMethodDescriptiongetCode()Generated method - Getter of theAbstractAsSortConfiguration.codeattribute defined at extensionadaptivesearch.Generated method - Getter of theAbstractAsSortConfiguration.expressionsattribute defined at extensionadaptivesearch.getName()Generated method - Getter of theAbstractAsSortConfiguration.nameattribute defined at extensionadaptivesearch.Generated method - Getter of theAbstractAsSortConfiguration.nameattribute defined at extensionadaptivesearch.Generated method - Getter of theAbstractAsSortConfiguration.priorityattribute defined at extensionadaptivesearch.Generated method - Getter of theAbstractAsSortConfiguration.uniqueIdxattribute defined at extensionadaptivesearch.booleanGenerated method - Getter of theAbstractAsSortConfiguration.applyPromotedItemsattribute defined at extensionadaptivesearch.booleanGenerated method - Getter of theAbstractAsConfiguration.corrupteddynamic attribute defined at extensionadaptivesearchand redeclared at extensionadaptivesearch.booleanGenerated method - Getter of theAbstractAsSortConfiguration.highlightPromotedItemsattribute defined at extensionadaptivesearch.voidsetApplyPromotedItems(boolean value) Generated method - Setter ofAbstractAsSortConfiguration.applyPromotedItemsattribute defined at extensionadaptivesearch.voidGenerated method - Setter ofAbstractAsSortConfiguration.codeattribute defined at extensionadaptivesearch.voidsetExpressions(List<AsSortExpressionModel> value) Generated method - Setter ofAbstractAsSortConfiguration.expressionsattribute defined at extensionadaptivesearch.voidsetHighlightPromotedItems(boolean value) Generated method - Setter ofAbstractAsSortConfiguration.highlightPromotedItemsattribute defined at extensionadaptivesearch.voidGenerated method - Setter ofAbstractAsSortConfiguration.nameattribute defined at extensionadaptivesearch.voidGenerated method - Setter ofAbstractAsSortConfiguration.nameattribute defined at extensionadaptivesearch.voidsetPriority(Integer value) Generated method - Setter ofAbstractAsSortConfiguration.priorityattribute defined at extensionadaptivesearch.voidsetUniqueIdx(String value) Generated method - Setter ofAbstractAsSortConfiguration.uniqueIdxattribute defined at extensionadaptivesearch.Methods inherited from class de.hybris.platform.adaptivesearch.model.AbstractAsConfigurationModel
getCatalogVersion, getUid, setCatalogVersion, setUidMethods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods 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 Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
CODE
Generated constant - Attribute key ofAbstractAsSortConfiguration.codeattribute defined at extensionadaptivesearch.- See Also:
-
NAME
Generated constant - Attribute key ofAbstractAsSortConfiguration.nameattribute defined at extensionadaptivesearch.- See Also:
-
PRIORITY
Generated constant - Attribute key ofAbstractAsSortConfiguration.priorityattribute defined at extensionadaptivesearch.- See Also:
-
APPLYPROMOTEDITEMS
Generated constant - Attribute key ofAbstractAsSortConfiguration.applyPromotedItemsattribute defined at extensionadaptivesearch.- See Also:
-
HIGHLIGHTPROMOTEDITEMS
Generated constant - Attribute key ofAbstractAsSortConfiguration.highlightPromotedItemsattribute defined at extensionadaptivesearch.- See Also:
-
UNIQUEIDX
Generated constant - Attribute key ofAbstractAsSortConfiguration.uniqueIdxattribute defined at extensionadaptivesearch.- See Also:
-
EXPRESSIONS
Generated constant - Attribute key ofAbstractAsSortConfiguration.expressionsattribute defined at extensionadaptivesearch.- See Also:
-
-
Constructor Details
-
AbstractAsSortConfigurationModel
public AbstractAsSortConfigurationModel()Generated constructor - Default constructor for generic creation. -
AbstractAsSortConfigurationModel
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(String _code, String _uid, 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, String _code, ItemModel _owner, String _uid, 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 Details
-
getCode
Generated method - Getter of theAbstractAsSortConfiguration.codeattribute defined at extensionadaptivesearch.- Returns:
- the code
-
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
Generated method - Getter of theAbstractAsSortConfiguration.nameattribute defined at extensionadaptivesearch.- Returns:
- the name
-
getName
Generated method - Getter of theAbstractAsSortConfiguration.nameattribute defined at extensionadaptivesearch.- Parameters:
loc- the value localization key- Returns:
- the name
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getPriority
Generated method - Getter of theAbstractAsSortConfiguration.priorityattribute defined at extensionadaptivesearch.- Returns:
- the priority
-
getUniqueIdx
Generated method - Getter of theAbstractAsSortConfiguration.uniqueIdxattribute defined at extensionadaptivesearch.- Returns:
- the uniqueIdx
-
isApplyPromotedItems
Generated method - Getter of theAbstractAsSortConfiguration.applyPromotedItemsattribute defined at extensionadaptivesearch.- Returns:
- the applyPromotedItems
-
isCorrupted
Generated method - Getter of theAbstractAsConfiguration.corrupteddynamic attribute defined at extensionadaptivesearchand redeclared at extensionadaptivesearch.- Overrides:
isCorruptedin classAbstractAsConfigurationModel- Returns:
- the corrupted
-
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
Generated method - Setter ofAbstractAsSortConfiguration.codeattribute defined at extensionadaptivesearch.- Parameters:
value- the code
-
setExpressions
@Accessor(qualifier="expressions", type=SETTER) public void setExpressions(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
Generated method - Setter ofAbstractAsSortConfiguration.nameattribute defined at extensionadaptivesearch.- Parameters:
value- the name
-
setName
Generated method - Setter ofAbstractAsSortConfiguration.nameattribute defined at extensionadaptivesearch.- Parameters:
value- the nameloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setPriority
Generated method - Setter ofAbstractAsSortConfiguration.priorityattribute defined at extensionadaptivesearch.- Parameters:
value- the priority
-
setUniqueIdx
Generated method - Setter ofAbstractAsSortConfiguration.uniqueIdxattribute defined at extensionadaptivesearch.- Parameters:
value- the uniqueIdx
-