Class AbstractAsSortConfigurationModel

    • 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 of AbstractAsSortConfiguration.code attribute defined at extension adaptivesearch.
        See Also:
        Constant Field Values
      • NAME

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

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

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

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

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

        public static final java.lang.String EXPRESSIONS
        Generated constant - Attribute key of AbstractAsSortConfiguration.expressions attribute defined at extension adaptivesearch.
        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 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,
                                                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 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 Detail

      • getCode

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

        @Accessor(qualifier="expressions",
                  type=GETTER)
        public java.util.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 java.lang.String getName()
        Generated method - Getter of the AbstractAsSortConfiguration.name attribute defined at extension adaptivesearch.
        Returns:
        the name
      • getName

        @Accessor(qualifier="name",
                  type=GETTER)
        public java.lang.String getName​(java.util.Locale loc)
        Generated method - Getter of the AbstractAsSortConfiguration.name attribute defined at extension adaptivesearch.
        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 the AbstractAsSortConfiguration.priority attribute defined at extension adaptivesearch.
        Returns:
        the priority
      • getUniqueIdx

        @Accessor(qualifier="uniqueIdx",
                  type=GETTER)
        public java.lang.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
      • 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​(java.lang.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​(java.util.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​(java.lang.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​(java.lang.String value,
                            java.util.Locale loc)
        Generated method - Setter of AbstractAsSortConfiguration.name attribute defined at extension adaptivesearch.
        Parameters:
        value - the name
        loc - 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 of AbstractAsSortConfiguration.priority attribute defined at extension adaptivesearch.
        Parameters:
        value - the priority
      • setUniqueIdx

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