Class FilteredItems

java.lang.Object
org.dspace.contentreport.FilteredItems
All Implemented Interfaces:
Serializable

public class FilteredItems extends Object implements Serializable
This class represents a list of items for a Filtered Items report query. Since the underlying list should correspond to only a page of results, the total number of items found through the query is included in this report.
Author:
Jean-François Morin (Université Laval)
See Also:
  • Constructor Details

    • FilteredItems

      public FilteredItems()
  • Method Details

    • getItems

      public List<Item> getItems()
      Returns a defensive copy of the items included in this report.
      Returns:
      the items included in this report
    • addItem

      public void addItem(Item item)
      Adds an ItemRest object to this report.
      Parameters:
      item - ItemRest to add to this report
    • setItems

      public void setItems(List<Item> items)
      Sets all items for this report. The contents are copied into this object's internal list, which is protected against further tampering with the provided list.
      Parameters:
      items - Values that replace the current ones
    • getItemCount

      public long getItemCount()
    • setItemCount

      public void setItemCount(long itemCount)