Class ContextPopulationConsumer
java.lang.Object
org.ametys.plugins.core.impl.user.population.ContextPopulationConsumer
- All Implemented Interfaces:
PopulationConsumer
,Serviceable
Implementation of
PopulationConsumer
allowing to know whether a population is used by the contexts or not.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Determines if a user population is usedvoid
service
(ServiceManager manager)
-
Constructor Details
-
ContextPopulationConsumer
public ContextPopulationConsumer()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
isInUse
Description copied from interface:PopulationConsumer
Determines if a user population is used- Specified by:
isInUse
in interfacePopulationConsumer
- Parameters:
id
- The id of population to check- Returns:
- true if the user population is currently in use
-