Class CollectionPopulationConsumer
- java.lang.Object
-
- org.ametys.plugins.userdirectory.synchronize.CollectionPopulationConsumer
-
- All Implemented Interfaces:
PopulationConsumer,Serviceable
public class CollectionPopulationConsumer extends Object implements PopulationConsumer, Serviceable
Implementation ofPopulationConsumerallowing to know whether a population is used by the collections or not.
-
-
Field Summary
Fields Modifier and Type Field Description protected SynchronizableContentsCollectionDAO_synchronizableContentsCollectionDAOThe DAO for synchronizable contents collections
-
Constructor Summary
Constructors Constructor Description CollectionPopulationConsumer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisInUse(String id)Determines if a user population is usedvoidservice(ServiceManager manager)
-
-
-
Field Detail
-
_synchronizableContentsCollectionDAO
protected SynchronizableContentsCollectionDAO _synchronizableContentsCollectionDAO
The DAO for synchronizable contents collections
-
-
Constructor Detail
-
CollectionPopulationConsumer
public CollectionPopulationConsumer()
-
-
Method Detail
-
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
servicein interfaceServiceable- Throws:
ServiceException
-
isInUse
public boolean isInUse(String id)
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
-
-