public class FilteredCollection extends DSpaceObject
| Modifier and Type | Field and Description |
|---|---|
protected CollectionService |
collectionService |
protected CommunityService |
communityService |
protected ItemService |
itemService |
| Constructor and Description |
|---|
FilteredCollection() |
FilteredCollection(Collection collection,
javax.servlet.ServletContext servletContext,
String filters,
String expand,
Context context,
Integer limit,
Integer offset)
Evaluate a collection against of set of Item Filters
|
| Modifier and Type | Method and Description |
|---|---|
List<ItemFilter> |
getItemFilters() |
List<Item> |
getItems() |
Integer |
getNumberItems() |
Integer |
getNumberItemsProcessed() |
Community |
getParentCommunity() |
List<Community> |
getParentCommunityList() |
Community |
getTopCommunity() |
void |
setItemFilters(List<ItemFilter> itemFilters) |
void |
setItems(List<Item> items) |
void |
setNumberItems(Integer numberItems) |
void |
setNumberItemsProcessed(Integer numberItemsProcessed) |
void |
setParentCommunity(Community parentCommunity) |
void |
setParentCommunityList(List<Community> parentCommunityList) |
void |
setTopCommunity(Community topCommunity) |
protected CommunityService communityService
protected CollectionService collectionService
protected ItemService itemService
public FilteredCollection()
public FilteredCollection(Collection collection, javax.servlet.ServletContext servletContext, String filters, String expand, Context context, Integer limit, Integer offset) throws SQLException, javax.ws.rs.WebApplicationException
collection - DSpace Collection to evaluateservletContext - Context of the servlet container.filters - String representing a list of filtersexpand - String in which is what you want to add to returned instance
of collection. Options are: "all", "parentCommunityList",
"parentCommunity", "items", "license" and "logo". If you want
to use multiple options, it must be separated by commas.context - The relevant DSpace Context.limit - Limit value for items in list in collection. Default value is 100.offset - Offset of start index in list of items of collection. Default
value is 0.SQLException - An exception that provides information on a database access error or other
errors.javax.ws.rs.WebApplicationException - Runtime exception for applications.public Integer getNumberItems()
public void setNumberItems(Integer numberItems)
public Integer getNumberItemsProcessed()
public void setNumberItemsProcessed(Integer numberItemsProcessed)
public Community getParentCommunity()
public void setParentCommunity(Community parentCommunity)
public Community getTopCommunity()
public void setTopCommunity(Community topCommunity)
public List<ItemFilter> getItemFilters()
public void setItemFilters(List<ItemFilter> itemFilters)
Copyright © 2019 DuraSpace. All rights reserved.