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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcontextualize(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, setLabelMethods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Constructor Details
-
UserPopulationsGroupDirectory
public UserPopulationsGroupDirectory()
-
-
Method Details
-
contextualize
- Specified by:
contextualizein interfaceContextualizable- Throws:
ContextException
-
getAvailableUserPopulationsForContext
Description copied from class:UserPopulationsGroupDirectoryGet the available user populations for the current context- Overrides:
getAvailableUserPopulationsForContextin classUserPopulationsGroupDirectory- Returns:
- the available user populations
-