Class WherePartModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class WherePartModel
    extends ItemModel
    Generated model class for type WherePart first defined at extension advancedsavedquery.
    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • _QUERY2WHEREPARTRELATION

        public static final java.lang.String _QUERY2WHEREPARTRELATION
        Generated relation code constant for relation Query2WherePartRelation defining source attribute savedQuery in extension advancedsavedquery.
        See Also:
        Constant Field Values
      • AND

        public static final java.lang.String AND
        Generated constant - Attribute key of WherePart.and attribute defined at extension advancedsavedquery.
        See Also:
        Constant Field Values
      • REPLACEPATTERN

        public static final java.lang.String REPLACEPATTERN
        Generated constant - Attribute key of WherePart.replacePattern attribute defined at extension advancedsavedquery.
        See Also:
        Constant Field Values
      • SAVEDQUERY

        public static final java.lang.String SAVEDQUERY
        Generated constant - Attribute key of WherePart.savedQuery attribute defined at extension advancedsavedquery.
        See Also:
        Constant Field Values
      • DYNAMICPARAMS

        public static final java.lang.String DYNAMICPARAMS
        Generated constant - Attribute key of WherePart.dynamicParams attribute defined at extension advancedsavedquery.
        See Also:
        Constant Field Values
    • Constructor Detail

      • WherePartModel

        public WherePartModel()
        Generated constructor - Default constructor for generic creation.
      • WherePartModel

        public WherePartModel​(ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • WherePartModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public WherePartModel​(java.lang.String _replacePattern,
                              AdvancedSavedQueryModel _savedQuery)
        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:
        _replacePattern - initial attribute declared by type WherePart at extension advancedsavedquery
        _savedQuery - initial attribute declared by type WherePart at extension advancedsavedquery
      • WherePartModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public WherePartModel​(ItemModel _owner,
                              java.lang.String _replacePattern,
                              AdvancedSavedQueryModel _savedQuery)
        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:
        _owner - initial attribute declared by type Item at extension core
        _replacePattern - initial attribute declared by type WherePart at extension advancedsavedquery
        _savedQuery - initial attribute declared by type WherePart at extension advancedsavedquery
    • Method Detail

      • getAnd

        @Accessor(qualifier="and",
                  type=GETTER)
        public java.lang.Boolean getAnd()
        Generated method - Getter of the WherePart.and attribute defined at extension advancedsavedquery.
        Returns:
        the and
      • getDynamicParams

        @Accessor(qualifier="dynamicParams",
                  type=GETTER)
        public java.util.Collection<AbstractAdvancedSavedQuerySearchParameterModel> getDynamicParams()
        Generated method - Getter of the WherePart.dynamicParams attribute defined at extension advancedsavedquery. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the dynamicParams
      • getReplacePattern

        @Accessor(qualifier="replacePattern",
                  type=GETTER)
        public java.lang.String getReplacePattern()
        Generated method - Getter of the WherePart.replacePattern attribute defined at extension advancedsavedquery.
        Returns:
        the replacePattern
      • setAnd

        @Accessor(qualifier="and",
                  type=SETTER)
        public void setAnd​(java.lang.Boolean value)
        Generated method - Setter of WherePart.and attribute defined at extension advancedsavedquery.
        Parameters:
        value - the and
      • setReplacePattern

        @Accessor(qualifier="replacePattern",
                  type=SETTER)
        public void setReplacePattern​(java.lang.String value)
        Generated method - Setter of WherePart.replacePattern attribute defined at extension advancedsavedquery.
        Parameters:
        value - the replacePattern
      • setSavedQuery

        @Accessor(qualifier="savedQuery",
                  type=SETTER)
        public void setSavedQuery​(AdvancedSavedQueryModel value)
        Generated method - Setter of WherePart.savedQuery attribute defined at extension advancedsavedquery.
        Parameters:
        value - the savedQuery