Class BrowsingMenuFieldConfig

java.lang.Object
io.goobi.viewer.model.termbrowsing.BrowsingMenuFieldConfig
All Implemented Interfaces:
Serializable

public class BrowsingMenuFieldConfig extends Object implements Serializable

BrowsingMenuFieldConfig class.

See Also:
  • Constructor Details

    • BrowsingMenuFieldConfig

      public BrowsingMenuFieldConfig(String field, String sortField, String filterQuery)
      Constructor.
      Parameters:
      field - a String object.
      sortField - a String object.
      filterQuery - a String object.
  • Method Details

    • getField

      public String getField()

      Getter for the field field.

      Returns:
      the field
    • getFieldForLanguage

      public String getFieldForLanguage(String language)
      Parameters:
      language -
      Returns:
      Language specific variant of field if it contains a placeholder; otherwise unaltered field
    • getSortField

      public String getSortField()

      Getter for the field sortField.

      Returns:
      the sortField
    • getFilterQueries

      public List<String> getFilterQueries()

      Getter for the field filterQueries.

      Returns:
      the filterQueries
    • isTranslate

      public boolean isTranslate()
      Returns:
      the translate
    • setTranslate

      public BrowsingMenuFieldConfig setTranslate(boolean translate)
      Parameters:
      translate - the translate to set
      Returns:
      this
    • isAlwaysApplyFilter

      public boolean isAlwaysApplyFilter()
      Returns:
      the alwaysApplyFilter
    • setAlwaysApplyFilter

      public BrowsingMenuFieldConfig setAlwaysApplyFilter(boolean alwaysApplyFilter)
      Parameters:
      alwaysApplyFilter - the alwaysApplyFilter to set
      Returns:
      this
    • isSkipInWidget

      public boolean isSkipInWidget()
      Returns:
      the skipInWidget
    • setSkipInWidget

      public BrowsingMenuFieldConfig setSkipInWidget(boolean skipInWidget)
      Parameters:
      skipInWidget - the skipInWidget to set
      Returns:
      this;
    • isRecordsAndAnchorsOnly

      public boolean isRecordsAndAnchorsOnly()
      Returns:
      true if filterQueries contains SearchHelper.ALL_RECORDS_QUERY; false otherwise
    • setRecordsAndAnchorsOnly

      public BrowsingMenuFieldConfig setRecordsAndAnchorsOnly(boolean recordsAndAnchorsOnly)
      Parameters:
      recordsAndAnchorsOnly -
      Returns:
      this