public enum UserSearchInMenuMode extends java.lang.Enum<UserSearchInMenuMode> implements HasMessageKey
| Enum Constant and Description |
|---|
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.
|
NONE
There is no available groups for search from the menu (i.e the search users menu is hidden)
|
SPECIFIC_GROUPS
The available groups for search users is a specific list.
|
| Modifier and Type | Method and Description |
|---|---|
MessageKey |
getMessageKey() |
boolean |
isHideUserSearchInMenu()
Returns true if the search users menu must be hidden
|
static UserSearchInMenuMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UserSearchInMenuMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserSearchInMenuMode ALL_IN_USER_SEARCH
public static final UserSearchInMenuMode SPECIFIC_GROUPS
public static final UserSearchInMenuMode NONE
public static UserSearchInMenuMode[] values()
for (UserSearchInMenuMode c : UserSearchInMenuMode.values()) System.out.println(c);
public static UserSearchInMenuMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic MessageKey getMessageKey()
getMessageKey in interface HasMessageKeypublic boolean isHideUserSearchInMenu()