public class ContextPopulationConsumer extends Object implements PopulationConsumer, Serviceable
PopulationConsumer
allowing to know whether a population is used by the contexts or not.Modifier and Type | Field and Description |
---|---|
private PopulationContextHelper |
_populationContextHelper
The helper for the associations population/context
|
Constructor and Description |
---|
ContextPopulationConsumer() |
Modifier and Type | Method and Description |
---|---|
boolean |
isInUse(String id)
Determines if a user population is used
|
void |
service(ServiceManager manager) |
private PopulationContextHelper _populationContextHelper
public ContextPopulationConsumer()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
ServiceException
public boolean isInUse(String id)
PopulationConsumer
isInUse
in interface PopulationConsumer
id
- The id of population to check