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
- ItemCountException
void communityCount(Community community, int count) throws ItemCountException
community
- count
- ItemCountException
void collectionCount(Collection collection, int count) throws ItemCountException
collection
- count
- ItemCountException
int getCount(DSpaceObject dso) throws ItemCountException
dso
- ItemCountException
void remove(DSpaceObject dso) throws ItemCountException
dso
- ItemCountException
Copyright © 2016 DuraSpace. All Rights Reserved.