public interface ItemCountDAO
| Modifier and Type | Method and Description |
|---|---|
void |
collectionCount(Collection collection,
int count)
Set the given count as the number of items in the given collection
|
void |
communityCount(Community community,
int count)
Set the given count as the number of items in the given community
|
int |
getCount(DSpaceObject dso)
Get the number of items in the given DSpaceObject container.
|
void |
remove(DSpaceObject dso)
Remove any cached data regarding the given DSpaceObject container.
|
void |
setContext(Context context)
Set the DSpace Context to use during data access
|
void setContext(Context context) throws ItemCountException
context - ItemCountExceptionvoid communityCount(Community community, int count) throws ItemCountException
community - count - ItemCountExceptionvoid collectionCount(Collection collection, int count) throws ItemCountException
collection - count - ItemCountExceptionint getCount(DSpaceObject dso) throws ItemCountException
dso - ItemCountExceptionvoid remove(DSpaceObject dso) throws ItemCountException
dso - ItemCountExceptionCopyright © 2014 DuraSpace. All Rights Reserved.