Class ProgramItemContextSearchUICriteria

All Implemented Interfaces:
Field, SearchCriterion, SearchUICriterion, LogEnabled, Disposable, Configurable, Contextualizable, Serviceable

UI criteria for program item context
  • Constructor Details

  • Method Details

    • getFieldId

      public String getFieldId()
      Description copied from interface: SearchUICriterion
      Get the field identifier. Used to match standard, advanced and faceted criterion (even if the operator is different), whatever their ID is.
      Returns:
      the field identifier.
    • getOperator

      Description copied from interface: SearchCriterion
      Get the criterion Operator.
      Returns:
      the criterion Operator.
    • getType

      Description copied from class: Parameter
      Retrieves the type.
      Specified by:
      getType in interface Field
      Overrides:
      getType in class Parameter<MetadataType>
      Returns:
      the type.
    • getQuery

      public Query getQuery(Object value, Query.Operator customOperator, Map<String,Object> allValues, String language, Map<String,Object> contextualParameters)
      Description copied from interface: SearchCriterion
      Get the Query associated to the given value.
      Parameters:
      value - The user-submitted value (or the default value if not set) for this criterion.
      customOperator - In advanced search mode, the operator chosen by the user. null to use the criterion-defined operator (simple search mode).
      allValues - All the user-submitted values.
      language - The current search language.
      contextualParameters - the search contextual parameters.
      Returns:
      Query associated to the given value.