public class ItemCountDAOSolr extends Object implements ItemCountDAO
| Constructor and Description |
|---|
ItemCountDAOSolr() |
| Modifier and Type | Method and Description |
|---|---|
void |
collectionCount(Collection collection,
int count)
Throw an ItemCountException as caching is not supported by ItemCountDAOSolr.
|
void |
communityCount(Community community,
int count)
Throw an ItemCountException as caching is not supported by ItemCountDAOSolr.
|
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 (does nothing in the Solr backend)
|
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.