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
FieldsModifier and TypeFieldDescriptionprotected SynchronizableContentsCollectionDAOThe DAO for synchronizable contents collections -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanDetermines if a user population is usedvoidservice(ServiceManager manager)
-
Field Details
-
_synchronizableContentsCollectionDAO
The DAO for synchronizable contents collections
-
-
Constructor Details
-
CollectionPopulationConsumer
public CollectionPopulationConsumer()
-
-
Method Details
-
service
- Specified by:
servicein interfaceServiceable- Throws:
ServiceException
-
isInUse
Description copied from interface:PopulationConsumerDetermines if a user population is used- Specified by:
isInUsein interfacePopulationConsumer- Parameters:
id- The id of population to check- Returns:
- true if the user population is currently in use
-