Package org.dspace.browse
Interface ItemCountDAO
-
- All Known Implementing Classes:
ItemCountDAOSolr
public interface ItemCountDAOInterface for data access of cached community and collection item count information
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetCount(Context context, DSpaceObject dso)Get the number of items in the given DSpaceObject container.
-
-
-
Method Detail
-
getCount
int getCount(Context context, DSpaceObject dso)
Get the number of items in the given DSpaceObject container. This method will only succeed if the DSpaceObject is an instance of either a Community or a Collection. Otherwise it will throw an exception.- Parameters:
context- DSpace contextdso- Dspace Object- Returns:
- count
-
-