Package org.silverpeas.core.html.plugin
Class UserGroupSelectProducer
- java.lang.Object
-
- org.silverpeas.core.html.plugin.AbstractPluginInitializationProducer
-
- org.silverpeas.core.html.plugin.UserGroupSelectProducer
-
public class UserGroupSelectProducer extends AbstractPluginInitializationProducer
A producer of HTML data necessary to initialize theUserGroupSelect
plugin on the WEB browser. The plugin is available underSupportedWebPlugin.Constants.LISTOFUSERSANDGROUPS
.- Author:
- silveryocha
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UserGroupSelectProducer.SelectionType
-
Constructor Summary
Constructors Constructor Description UserGroupSelectProducer()
-
Method Summary
-
Methods inherited from class org.silverpeas.core.html.plugin.AbstractPluginInitializationProducer
addOption, addOption, addOption, addOption, booleanValue, getUserLanguage, numericValue, produce, stringValue, withJsInstanceVar, withUserLanguage
-
-
-
-
Method Detail
-
withContainerId
public static UserGroupSelectProducer withContainerId(String id)
Initializing the producer with the most important data.- Parameters:
id
- the identifier of the container which the plugin will fill.- Returns:
- the new instance of the producer.
-
withUserInputName
public UserGroupSelectProducer withUserInputName(String inputName)
-
withGroupInputName
public UserGroupSelectProducer withGroupInputName(String inputName)
-
selectionOf
public UserGroupSelectProducer selectionOf(UserGroupSelectProducer.SelectionType selectionType)
-
multiple
public UserGroupSelectProducer multiple(boolean multiple)
-
readOnly
public UserGroupSelectProducer readOnly(boolean readOnly)
-
hidden
public UserGroupSelectProducer hidden(boolean hidden)
-
mandatory
public UserGroupSelectProducer mandatory(boolean mandatory)
-
withUserIds
public UserGroupSelectProducer withUserIds(String... ids)
-
withGroupIds
public UserGroupSelectProducer withGroupIds(String... ids)
-
filterOnComponentId
public UserGroupSelectProducer filterOnComponentId(String id)
-
filterOnRoles
public UserGroupSelectProducer filterOnRoles(String... roles)
-
withUserPanelButtonLabel
public UserGroupSelectProducer withUserPanelButtonLabel(String label)
-
withRemoveButtonLabel
public UserGroupSelectProducer withRemoveButtonLabel(String label)
-
getDependencies
protected String getDependencies()
- Specified by:
getDependencies
in classAbstractPluginInitializationProducer
-
-