Class BrowseFunctionality

java.lang.Object
io.goobi.viewer.model.cms.itemfunctionality.BrowseFunctionality
All Implemented Interfaces:
Functionality

public class BrowseFunctionality extends Object implements Functionality
Author:
Florian Alpers
  • Constructor Details

    • BrowseFunctionality

      public BrowseFunctionality(String field)
      Parameters:
      field - Solr field to browse
  • Method Details

    • setPageNo

      public void setPageNo(int pageNo)
      Description copied from interface: Functionality
      setPageNo.
      Specified by:
      setPageNo in interface Functionality
      Parameters:
      pageNo - a int.
    • getPageNo

      public int getPageNo()
      Description copied from interface: Functionality
      getPageNo.
      Specified by:
      getPageNo in interface Functionality
      Returns:
      a int.
    • setBrowseField

      public void setBrowseField(String field)
      Sets the SOLR field which to browse to create the list.
      Parameters:
      field - Solr field to browse for list creation
    • getBrowseField

      public String getBrowseField()
      Gets the SOLR field which to browse to create the list.
      Returns:
      the Solr field name used to browse and generate the list
    • setFilter

      public void setFilter(String field, String value)
      Sets an additional filter to restrict the list to a subset of all records.
      Parameters:
      field - Solr field name to filter by
      value - field value to restrict results to
    • setStartingCharacter

      public void setStartingCharacter(String start)
      Sets the start character for which results should be displayed.
      Parameters:
      start - starting character to filter browse results by
    • getStartingCharacter

      public String getStartingCharacter()
      Gets the start character for which results should be displayed.
      Returns:
      String
    • searchTerms

      Throws:
      PresentationException
      IndexUnreachableException
      RedirectException
    • reset

      public void reset()
      Resets the current browse page and the current string filter.