Class UserPreference

    • Method Detail

      • setDisplayGroup

        public void setDisplayGroup​(I18nizableText displayGroup)
        Set the parameter display group.
        Parameters:
        displayGroup - the display group to set.
      • getManagerRole

        public String getManagerRole()
        Get the storage manager role.
        Returns:
        the manager role. Can be null to use the default storage manager.
      • setManagerRole

        public void setManagerRole​(String managerRole)
        Set the storage manager role.
        Parameters:
        managerRole - the manager role to set. Can be null to use the default storage manager.
      • isMultiple

        public boolean isMultiple()
        Test if the preference is multiple-valued.
        Returns:
        true if the preference is multiple-valued, false if the preference is single-valued.
      • setMultiple

        public void setMultiple​(boolean multiple)
        Set if the preference is multiple-valued.
        Parameters:
        multiple - true if the preference is multiple-valued, false if the preference is single-valued.
      • getOrder

        public int getOrder()
        Get the preference order.
        Returns:
        the preference order.
      • setOrder

        public void setOrder​(int order)
        Set the preference order.
        Parameters:
        order - the preference order.
      • isPrivate

        public boolean isPrivate()
        Get whether the preference is private, i.e. should not be visible by the regular user preferences interface.
        Returns:
        true if the preference is private, false if it is public.
      • setPrivate

        public void setPrivate​(boolean privateStatus)
        Set the private status of the preference
        Parameters:
        privateStatus - true if the preference is private, false if it is public.