public class ItemCounter extends Object
| Modifier and Type | Field and Description |
|---|---|
protected ConfigurationService |
configurationService |
protected ItemService |
itemService |
| Constructor and Description |
|---|
ItemCounter(Context context)
Construct a new item counter which will use the given DSpace Context
|
protected ItemService itemService
protected ConfigurationService configurationService
public ItemCounter(Context context) throws ItemCountException
context - current contextItemCountException - if count errorpublic int getCount(DSpaceObject dso) throws ItemCountException
dso - DSpaceObjectItemCountException - when error occursCopyright © 2016 DuraSpace. All rights reserved.