Package org.dspace.contentreport
Class FilteredItems
java.lang.Object
org.dspace.contentreport.FilteredItems
- All Implemented Interfaces:
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds anItemRestobject to this report.longgetItems()Returns a defensive copy of the items included in this report.voidsetItemCount(long itemCount) voidSets all items for this report.
-
Constructor Details
-
FilteredItems
public FilteredItems()
-
-
Method Details
-
getItems
Returns a defensive copy of the items included in this report.- Returns:
- the items included in this report
-
addItem
Adds anItemRestobject to this report.- Parameters:
item-ItemRestto add to this report
-
setItems
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)
-