public class CollectionPopulationConsumer extends Object implements PopulationConsumer, Serviceable
PopulationConsumer allowing to know whether a population is used by the collections or not.| Modifier and Type | Field and Description |
|---|---|
protected SynchronizableContentsCollectionDAO |
_synchronizableContentsCollectionDAO
The DAO for synchronizable contents collections
|
| Constructor and Description |
|---|
CollectionPopulationConsumer() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isInUse(String id)
Determines if a user population is used
|
void |
service(ServiceManager manager) |
protected SynchronizableContentsCollectionDAO _synchronizableContentsCollectionDAO
public CollectionPopulationConsumer()
public void service(ServiceManager manager) throws ServiceException
service in interface ServiceableServiceExceptionpublic boolean isInUse(String id)
PopulationConsumerisInUse in interface PopulationConsumerid - The id of population to check