Class AbstractAsSortConfigurationModel

All Implemented Interfaces:
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:
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • CODE

      public static final String CODE
      Generated constant - Attribute key of AbstractAsSortConfiguration.code attribute defined at extension adaptivesearch.
      See Also:
    • NAME

      public static final String NAME
      Generated constant - Attribute key of AbstractAsSortConfiguration.name attribute defined at extension adaptivesearch.
      See Also:
    • PRIORITY

      public static final String PRIORITY
      Generated constant - Attribute key of AbstractAsSortConfiguration.priority attribute defined at extension adaptivesearch.
      See Also:
    • APPLYPROMOTEDITEMS

      public static final String APPLYPROMOTEDITEMS
      Generated constant - Attribute key of AbstractAsSortConfiguration.applyPromotedItems attribute defined at extension adaptivesearch.
      See Also:
    • HIGHLIGHTPROMOTEDITEMS

      public static final String HIGHLIGHTPROMOTEDITEMS
      Generated constant - Attribute key of AbstractAsSortConfiguration.highlightPromotedItems attribute defined at extension adaptivesearch.
      See Also:
    • UNIQUEIDX

      public static final String UNIQUEIDX
      Generated constant - Attribute key of AbstractAsSortConfiguration.uniqueIdx attribute defined at extension adaptivesearch.
      See Also:
    • EXPRESSIONS

      public static final String EXPRESSIONS
      Generated constant - Attribute key of AbstractAsSortConfiguration.expressions attribute defined at extension adaptivesearch.
      See Also:
  • Constructor Details

    • 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(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
      Generated constructor - Constructor with all mandatory attributes.
      Parameters:
      _code - initial attribute declared by type AbstractAsSortConfiguration at extension adaptivesearch
      _uid - initial attribute declared by type AbstractAsConfiguration at extension adaptivesearch
      _uniqueIdx - initial attribute declared by type AbstractAsSortConfiguration at extension adaptivesearch
    • 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 parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _catalogVersion - initial attribute declared by type AbstractAsConfiguration at extension adaptivesearch
      _code - initial attribute declared by type AbstractAsSortConfiguration at extension adaptivesearch
      _owner - initial attribute declared by type Item at extension core
      _uid - initial attribute declared by type AbstractAsConfiguration at extension adaptivesearch
      _uniqueIdx - initial attribute declared by type AbstractAsSortConfiguration at extension adaptivesearch
  • Method Details

    • getCode

      @Accessor(qualifier="code", type=GETTER) public String getCode()
      Generated method - Getter of the AbstractAsSortConfiguration.code attribute defined at extension adaptivesearch.
      Returns:
      the code
    • getExpressions

      @Accessor(qualifier="expressions", type=GETTER) public List<AsSortExpressionModel> getExpressions()
      Generated method - Getter of the AbstractAsSortConfiguration.expressions attribute defined at extension adaptivesearch. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the expressions
    • getName

      @Accessor(qualifier="name", type=GETTER) public String getName()
      Generated method - Getter of the AbstractAsSortConfiguration.name attribute defined at extension adaptivesearch.
      Returns:
      the name
    • getName

      @Accessor(qualifier="name", type=GETTER) public String getName(Locale loc)
      Generated method - Getter of the AbstractAsSortConfiguration.name attribute defined at extension adaptivesearch.
      Parameters:
      loc - the value localization key
      Returns:
      the name
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • getPriority

      @Accessor(qualifier="priority", type=GETTER) public Integer getPriority()
      Generated method - Getter of the AbstractAsSortConfiguration.priority attribute defined at extension adaptivesearch.
      Returns:
      the priority
    • getUniqueIdx

      @Accessor(qualifier="uniqueIdx", type=GETTER) public String getUniqueIdx()
      Generated method - Getter of the AbstractAsSortConfiguration.uniqueIdx attribute defined at extension adaptivesearch.
      Returns:
      the uniqueIdx
    • isApplyPromotedItems

      @Accessor(qualifier="applyPromotedItems", type=GETTER) public boolean isApplyPromotedItems()
      Generated method - Getter of the AbstractAsSortConfiguration.applyPromotedItems attribute defined at extension adaptivesearch.
      Returns:
      the applyPromotedItems
    • isCorrupted

      @Accessor(qualifier="corrupted", type=GETTER) public boolean isCorrupted()
      Generated method - Getter of the AbstractAsConfiguration.corrupted dynamic attribute defined at extension adaptivesearch and redeclared at extension adaptivesearch.
      Overrides:
      isCorrupted in class AbstractAsConfigurationModel
      Returns:
      the corrupted
    • isHighlightPromotedItems

      @Accessor(qualifier="highlightPromotedItems", type=GETTER) public boolean isHighlightPromotedItems()
      Generated method - Getter of the AbstractAsSortConfiguration.highlightPromotedItems attribute defined at extension adaptivesearch.
      Returns:
      the highlightPromotedItems
    • setApplyPromotedItems

      @Accessor(qualifier="applyPromotedItems", type=SETTER) public void setApplyPromotedItems(boolean value)
      Generated method - Setter of AbstractAsSortConfiguration.applyPromotedItems attribute defined at extension adaptivesearch.
      Parameters:
      value - the applyPromotedItems
    • setCode

      @Accessor(qualifier="code", type=SETTER) public void setCode(String value)
      Generated method - Setter of AbstractAsSortConfiguration.code attribute defined at extension adaptivesearch.
      Parameters:
      value - the code
    • setExpressions

      @Accessor(qualifier="expressions", type=SETTER) public void setExpressions(List<AsSortExpressionModel> value)
      Generated method - Setter of AbstractAsSortConfiguration.expressions attribute defined at extension adaptivesearch.
      Parameters:
      value - the expressions
    • setHighlightPromotedItems

      @Accessor(qualifier="highlightPromotedItems", type=SETTER) public void setHighlightPromotedItems(boolean value)
      Generated method - Setter of AbstractAsSortConfiguration.highlightPromotedItems attribute defined at extension adaptivesearch.
      Parameters:
      value - the highlightPromotedItems
    • setName

      @Accessor(qualifier="name", type=SETTER) public void setName(String value)
      Generated method - Setter of AbstractAsSortConfiguration.name attribute defined at extension adaptivesearch.
      Parameters:
      value - the name
    • setName

      @Accessor(qualifier="name", type=SETTER) public void setName(String value, Locale loc)
      Generated method - Setter of AbstractAsSortConfiguration.name attribute defined at extension adaptivesearch.
      Parameters:
      value - the name
      loc - the value localization key
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • setPriority

      @Accessor(qualifier="priority", type=SETTER) public void setPriority(Integer value)
      Generated method - Setter of AbstractAsSortConfiguration.priority attribute defined at extension adaptivesearch.
      Parameters:
      value - the priority
    • setUniqueIdx

      @Accessor(qualifier="uniqueIdx", type=SETTER) public void setUniqueIdx(String value)
      Generated method - Setter of AbstractAsSortConfiguration.uniqueIdx attribute defined at extension adaptivesearch.
      Parameters:
      value - the uniqueIdx