Class RssFeedSidebarWidget

java.lang.Object
io.goobi.viewer.model.cms.widgets.CustomSidebarWidget
io.goobi.viewer.model.cms.widgets.RssFeedSidebarWidget
All Implemented Interfaces:
IPolyglott, Serializable

@Entity public class RssFeedSidebarWidget extends CustomSidebarWidget
A subtype of CustomSidebarWidget to display a RSS feed of selected records. The default settings show a list of the five last imported records
Author:
florian
See Also:
  • Constructor Details

    • RssFeedSidebarWidget

      public RssFeedSidebarWidget()
      Empty default constructor
    • RssFeedSidebarWidget

      public RssFeedSidebarWidget(RssFeedSidebarWidget o)
      Cloning constructor
      Parameters:
      o -
  • Method Details

    • getFilterQuery

      public String getFilterQuery()
      If this query is not empty only records matching this SOLR query are listed
      Returns:
      the filterQuery
    • setFilterQuery

      public void setFilterQuery(String filterQuery)
      Set the filter query
      Parameters:
      filterQuery - the filterQuery to set
    • getSortField

      public String getSortField()
      A SOLR field to select and sort the listed entries by.
      Returns:
      the sortField
    • setSortField

      public void setSortField(String sortField)
      Set the sort field
      Parameters:
      sortField - the sortField to set
    • isDescendingSorting

      public boolean isDescendingSorting()
      Whether the records are selected and sorted ins descending order
      Returns:
      the descendingSorting
    • setDescendingSorting

      public void setDescendingSorting(boolean descendingSorting)
      Parameters:
      descendingSorting - the descendingSorting to set
    • getNumEntries

      public int getNumEntries()
      The number of entries to display
      Returns:
      The number of entries to display
    • setNumEntries

      public void setNumEntries(int numEntries)
      Set the number of entries to display
      Parameters:
      numEntries - the numEntries to set
    • getType

      public CustomWidgetType getType()
      Description copied from class: CustomSidebarWidget
      Return the type of this custom sidebar widget. Must be implemented by subclasses of CustomSidebarWidget
      Overrides:
      getType in class CustomSidebarWidget
      Returns:
      CustomWidgetType