Package org.ametys.core.group.directory
Class DefaultGroupDirectoryModel
java.lang.Object
org.ametys.core.group.directory.DefaultGroupDirectoryModel
- All Implemented Interfaces:
GroupDirectoryModel
Default implementation of
GroupDirectoryModel
-
Constructor Summary
ConstructorDescriptionDefaultGroupDirectoryModel
(String id, Class<GroupDirectory> groupDirectoryClass, Configuration groupDirectoryConfig, I18nizableText label, I18nizableText description, Map<String, ? extends ElementDefinition> parameters, String pluginName) Constructor -
Method Summary
Modifier and TypeMethodDescriptionGet the description text of the directory.Get the group directory classGet the additional configuration for the implementation ofGroupDirectory
getId()
Get the id of this user directorygetLabel()
Get the label of the directory.Map<String,
? extends ElementDefinition> Get the configuration parametersReturns the plugin name of declaration (for debug purpose)
-
Constructor Details
-
DefaultGroupDirectoryModel
public DefaultGroupDirectoryModel(String id, Class<GroupDirectory> groupDirectoryClass, Configuration groupDirectoryConfig, I18nizableText label, I18nizableText description, Map<String, ? extends ElementDefinition> parameters, String pluginName) Constructor- Parameters:
id
- The unique identifier of this group directory modelgroupDirectoryClass
- TheGroupDirectory
classgroupDirectoryConfig
- Additional configuration forGroupDirectory
class. Can be empty.label
- The i18n labeldescription
- The i18n descriptionparameters
- the parameterspluginName
- the plugin's name of declaration (for debug purpose)
-
-
Method Details
-
getId
Description copied from interface:GroupDirectoryModel
Get the id of this user directory- Specified by:
getId
in interfaceGroupDirectoryModel
- Returns:
- the id of this user directory
-
getLabel
Description copied from interface:GroupDirectoryModel
Get the label of the directory.- Specified by:
getLabel
in interfaceGroupDirectoryModel
- Returns:
- the label of the directory
-
getDescription
Description copied from interface:GroupDirectoryModel
Get the description text of the directory.- Specified by:
getDescription
in interfaceGroupDirectoryModel
- Returns:
- the description of the directory
-
getParameters
Description copied from interface:GroupDirectoryModel
Get the configuration parameters- Specified by:
getParameters
in interfaceGroupDirectoryModel
- Returns:
- The configuration parameters
-
getPluginName
Description copied from interface:GroupDirectoryModel
Returns the plugin name of declaration (for debug purpose)- Specified by:
getPluginName
in interfaceGroupDirectoryModel
- Returns:
- the plugin name
-
getGroupDirectoryClass
Description copied from interface:GroupDirectoryModel
Get the group directory class- Specified by:
getGroupDirectoryClass
in interfaceGroupDirectoryModel
- Returns:
- the group directory class
-
getGroupDirectoryConfiguration
Description copied from interface:GroupDirectoryModel
Get the additional configuration for the implementation ofGroupDirectory
- Specified by:
getGroupDirectoryConfiguration
in interfaceGroupDirectoryModel
- Returns:
- the additional configuration.
-