Class Selection


  • public final class Selection
    extends Object
    • Field Detail

      • registeredServerDomains

        protected List<Domain> registeredServerDomains
      • goBackURL

        protected String goBackURL
      • cancelURL

        protected String cancelURL
      • htmlFormName

        protected String htmlFormName
      • htmlFormElementName

        protected String htmlFormElementName
      • htmlFormElementId

        protected String htmlFormElementId
      • htmlFormElementType

        protected String htmlFormElementType
      • selectedSets

        protected String[] selectedSets
      • selectedElements

        protected String[] selectedElements
      • popupMode

        protected boolean popupMode
      • multiSelect

        protected boolean multiSelect
      • setSelectable

        protected boolean setSelectable
      • elementSelectable

        protected boolean elementSelectable
      • hostSpaceName

        protected String hostSpaceName
      • hostComponentName

        protected org.silverpeas.kernel.util.Pair<String,​String> hostComponentName
      • hostPath

        protected org.silverpeas.kernel.util.Pair<String,​String>[] hostPath
      • selectedUserLimit

        protected int selectedUserLimit
      • filterOnDeactivatedState

        protected boolean filterOnDeactivatedState
    • Constructor Detail

      • Selection

        public Selection()
    • Method Detail

      • resetAll

        public void resetAll()
      • getSelectionURL

        public static String getSelectionURL()
      • setHostSpaceName

        public void setHostSpaceName​(String hostSpaceName)
      • getHostSpaceName

        public String getHostSpaceName()
      • setHostComponentName

        public void setHostComponentName​(org.silverpeas.kernel.util.Pair<String,​String> hostComponentName)
      • getHostComponentName

        public org.silverpeas.kernel.util.Pair<String,​String> getHostComponentName()
      • setHostPath

        public void setHostPath​(org.silverpeas.kernel.util.Pair<String,​String>[] hostPath)
      • getHostPath

        public org.silverpeas.kernel.util.Pair<String,​String>[] getHostPath()
      • getCancelURL

        public String getCancelURL()
      • setCancelURL

        public void setCancelURL​(String cancelURL)
      • getGoBackURL

        public String getGoBackURL()
      • setGoBackURL

        public void setGoBackURL​(String goBackURL)
      • isPopupMode

        public boolean isPopupMode()
      • setPopupMode

        public void setPopupMode​(boolean popupMode)
      • isHotSetting

        public boolean isHotSetting()
        Is the set of fields with the selection could be done directly from the user panel ? This can be done only if : - the user panel is opened within a window popup (PopupMode = true), - not with multi selection (MultiSelect = false) and - the information about HTML form of the opener is provided (see the setHtmlForm kind methods).
        Returns:
        true if the user panel should modify directly the opener with the result of the selection, false otherwise.
      • isMultiSelect

        public boolean isMultiSelect()
      • setMultiSelect

        public void setMultiSelect​(boolean multiSelect)
      • isSetSelectable

        public boolean isSetSelectable()
      • setSetSelectable

        public void setSetSelectable​(boolean setSelectable)
      • isElementSelectable

        public boolean isElementSelectable()
      • setElementSelectable

        public void setElementSelectable​(boolean elementSelectable)
      • getSelectedElements

        public String[] getSelectedElements()
      • setSelectedElements

        public void setSelectedElements​(String[] selectedElements)
      • setSelectedElements

        public void setSelectedElements​(Collection<String> selectedElements)
      • getFirstSelectedElement

        public String getFirstSelectedElement()
      • getSelectedSets

        public String[] getSelectedSets()
      • setSelectedSets

        public void setSelectedSets​(String[] selectedSets)
      • setSelectedSets

        public void setSelectedSets​(Collection<String> selectedSets)
      • getFirstSelectedSet

        public String getFirstSelectedSet()
      • getHtmlFormElementId

        public String getHtmlFormElementId()
      • setHtmlFormElementId

        public void setHtmlFormElementId​(String formElementId)
      • getHtmlFormElementName

        public String getHtmlFormElementName()
      • setHtmlFormElementName

        public void setHtmlFormElementName​(String formElementName)
      • getHtmlFormName

        public String getHtmlFormName()
      • setHtmlFormName

        public void setHtmlFormName​(String formName)
      • getHtmlFormElementType

        public String getHtmlFormElementType()
      • setHtmlFormElementType

        public void setHtmlFormElementType​(String formElementType)
      • getSelectedUserLimit

        public int getSelectedUserLimit()
      • setSelectedUserLimit

        public void setSelectedUserLimit​(int selectedUserLimit)
      • getRegisteredServerDomains

        public List<Domain> getRegisteredServerDomains()
        Gets all the domains registered on the server.
      • isFilterOnDeactivatedState

        public boolean isFilterOnDeactivatedState()
      • setFilterOnDeactivatedState

        public void setFilterOnDeactivatedState​(boolean filterOnDeactivatedState)