| Package | Description |
|---|---|
| org.dspace.browse |
Provides classes and methods for browsing Items in DSpace by whatever
is specified in the configuration.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ItemCounter.buildItemCounts()
This method does the grunt work of drilling through and iterating
over all of the communities and collections in the system and
obtaining and caching the item counts for each one.
|
void |
ItemCountDAO.collectionCount(Collection collection,
int count)
Set the given count as the number of items in the given collection
|
void |
ItemCountDAOPostgres.collectionCount(Collection collection,
int count)
Store the count of the given collection
|
void |
ItemCountDAOSolr.collectionCount(Collection collection,
int count)
Throw an ItemCountException as caching is not supported by ItemCountDAOSolr.
|
void |
ItemCountDAOOracle.collectionCount(Collection collection,
int count)
Store the count of the given collection
|
void |
ItemCountDAO.communityCount(Community community,
int count)
Set the given count as the number of items in the given community
|
void |
ItemCountDAOPostgres.communityCount(Community community,
int count)
Store the count of the given community
|
void |
ItemCountDAOSolr.communityCount(Community community,
int count)
Throw an ItemCountException as caching is not supported by ItemCountDAOSolr.
|
void |
ItemCountDAOOracle.communityCount(Community community,
int count)
Store the count of the given community
|
int |
ItemCounter.getCount(DSpaceObject dso)
Get the count of the items in the given container.
|
int |
ItemCountDAO.getCount(DSpaceObject dso)
Get the number of items in the given DSpaceObject container.
|
int |
ItemCountDAOPostgres.getCount(DSpaceObject dso)
Get the count of the items in the given container.
|
int |
ItemCountDAOSolr.getCount(DSpaceObject dso)
Get the count of the items in the given container.
|
int |
ItemCountDAOOracle.getCount(DSpaceObject dso)
Get the count of the items in the given container.
|
static ItemCountDAO |
ItemCountDAOFactory.getInstance(Context context)
Get an instance of ItemCountDAO which supports the correct storage backend
for the specific DSpace instance.
|
static void |
ItemCounter.main(String[] args)
method invoked by CLI which will result in the number of items
in each community and collection being cached.
|
void |
ItemCounter.remove(DSpaceObject dso)
Remove any cached data for the given container
|
void |
ItemCountDAO.remove(DSpaceObject dso)
Remove any cached data regarding the given DSpaceObject container.
|
void |
ItemCountDAOPostgres.remove(DSpaceObject dso)
remove the cache for the given container
|
void |
ItemCountDAOSolr.remove(DSpaceObject dso)
remove the cache for the given container (does nothing in the Solr backend)
|
void |
ItemCountDAOOracle.remove(DSpaceObject dso)
remove the cache for the given container
|
void |
ItemCountDAO.setContext(Context context)
Set the DSpace Context to use during data access
|
void |
ItemCountDAOPostgres.setContext(Context context)
Set the dspace context to use
|
void |
ItemCountDAOSolr.setContext(Context context)
Set the dspace context to use
|
void |
ItemCountDAOOracle.setContext(Context context)
Set the dspace context to use
|
| Constructor and Description |
|---|
ItemCounter(Context context)
Construct a new item counter which will use the give DSpace Context
|
Copyright © 2014 DuraSpace. All Rights Reserved.