Enum UserSearchInMenuMode

    • Enum Constant Detail

      • ALL_IN_USER_SEARCH

        public static final UserSearchInMenuMode ALL_IN_USER_SEARCH
        The available groups for search are those in the "Search users on groups" product setting for logged users (in case of administrators are the accessible ones) and as configuration setting for guests.
      • SPECIFIC_GROUPS

        public static final UserSearchInMenuMode SPECIFIC_GROUPS
        The available groups for search users is a specific list.
      • NONE

        public static final UserSearchInMenuMode NONE
        There is no available groups for search from the menu (i.e the search users menu is hidden)
    • Method Detail

      • values

        public static UserSearchInMenuMode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (UserSearchInMenuMode c : UserSearchInMenuMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static UserSearchInMenuMode valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • isHideUserSearchInMenu

        public boolean isHideUserSearchInMenu()
        Returns true if the search users menu must be hidden