Package org.ametys.web.group.directory
Class UserPopulationsGroupDirectory
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.plugins.core.impl.group.directory.UserPopulationsGroupDirectory
org.ametys.cms.group.directory.UserPopulationsGroupDirectory
org.ametys.web.group.directory.UserPopulationsGroupDirectory
- All Implemented Interfaces:
GroupDirectory
,LogEnabled
,Contextualizable
,Serviceable
public class UserPopulationsGroupDirectory
extends UserPopulationsGroupDirectory
implements Contextualizable
Implementation of a
GroupDirectory
based on user's populations restricted to the site contexts-
Field Summary
Fields inherited from class org.ametys.plugins.core.impl.group.directory.UserPopulationsGroupDirectory
_i18nUtils, _populationContextHelper, _userPopulationDAO
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
contextualize
(Context context) protected List<UserPopulation>
Get the available user populations for the current contextMethods inherited from class org.ametys.plugins.core.impl.group.directory.UserPopulationsGroupDirectory
getGroup, getGroupDirectoryModelId, getGroups, getGroups, getId, getLabel, getParameterValues, getUserGroups, init, service, setId, setLabel
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Constructor Details
-
UserPopulationsGroupDirectory
public UserPopulationsGroupDirectory()
-
-
Method Details
-
contextualize
- Specified by:
contextualize
in interfaceContextualizable
- Throws:
ContextException
-
getAvailableUserPopulationsForContext
Description copied from class:UserPopulationsGroupDirectory
Get the available user populations for the current context- Overrides:
getAvailableUserPopulationsForContext
in classUserPopulationsGroupDirectory
- Returns:
- the available user populations
-