Class WherePartModel

All Implemented Interfaces:
Serializable

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

    • _TYPECODE

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

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

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

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

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

      public static final String DYNAMICPARAMS
      Generated constant - Attribute key of WherePart.dynamicParams attribute defined at extension advancedsavedquery.
      See Also:
  • Constructor Details

    • 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(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, 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 Details

    • getAnd

      @Accessor(qualifier="and", type=GETTER) public Boolean getAnd()
      Generated method - Getter of the WherePart.and attribute defined at extension advancedsavedquery.
      Returns:
      the and
    • 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 String getReplacePattern()
      Generated method - Getter of the WherePart.replacePattern attribute defined at extension advancedsavedquery.
      Returns:
      the replacePattern
    • getSavedQuery

      @Accessor(qualifier="savedQuery", type=GETTER) public AdvancedSavedQueryModel getSavedQuery()
      Generated method - Getter of the WherePart.savedQuery attribute defined at extension advancedsavedquery.
      Returns:
      the savedQuery
    • setAnd

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

      @Accessor(qualifier="dynamicParams", type=SETTER) public void setDynamicParams(Collection<AbstractAdvancedSavedQuerySearchParameterModel> value)
      Generated method - Setter of WherePart.dynamicParams attribute defined at extension advancedsavedquery.
      Parameters:
      value - the dynamicParams
    • setReplacePattern

      @Accessor(qualifier="replacePattern", type=SETTER) public void setReplacePattern(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