Class CollectionPopulationConsumer
java.lang.Object
org.ametys.plugins.userdirectory.synchronize.CollectionPopulationConsumer
- All Implemented Interfaces:
PopulationConsumer
,Serviceable
Implementation of
PopulationConsumer
allowing to know whether a population is used by the collections or not.-
Field Summary
Modifier and TypeFieldDescriptionprotected SynchronizableContentsCollectionDAO
The DAO for synchronizable contents collections -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Determines if a user population is usedvoid
service
(ServiceManager manager)
-
Field Details
-
_synchronizableContentsCollectionDAO
The DAO for synchronizable contents collections
-
-
Constructor Details
-
CollectionPopulationConsumer
public CollectionPopulationConsumer()
-
-
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
-