public class ItemCountDAOPostgres extends Object implements ItemCountDAO
| Constructor and Description |
|---|
ItemCountDAOPostgres() |
| Modifier and Type | Method and Description |
|---|---|
void |
collectionCount(Collection collection,
int count)
Store the count of the given collection
|
void |
communityCount(Community community,
int count)
Store the count of the given community
|
int |
getCount(DSpaceObject dso)
Get the count of the items in the given container.
|
void |
remove(DSpaceObject dso)
remove the cache for the given container
|
void |
setContext(Context context)
Set the dspace context to use
|
public void collectionCount(Collection collection, int count) throws ItemCountException
collectionCount in interface ItemCountDAOcollection - count - ItemCountExceptionpublic void communityCount(Community community, int count) throws ItemCountException
communityCount in interface ItemCountDAOcommunity - count - ItemCountExceptionpublic void setContext(Context context) throws ItemCountException
setContext in interface ItemCountDAOcontext - ItemCountExceptionpublic int getCount(DSpaceObject dso) throws ItemCountException
getCount in interface ItemCountDAOdso - ItemCountExceptionpublic void remove(DSpaceObject dso) throws ItemCountException
remove in interface ItemCountDAOdso - ItemCountExceptionCopyright © 2015 DuraSpace. All Rights Reserved.