Enum User.Right
- java.lang.Object
-
- java.lang.Enum<User.Right>
-
- org.apache.openmeetings.db.entity.user.User.Right
-
- All Implemented Interfaces:
Serializable,Comparable<User.Right>
- Enclosing class:
- User
public static enum User.Right extends Enum<User.Right>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADMINADMIN_BACKUPADMIN_CONFIGADMIN_CONNECTIONSADMIN_LABELDASHBOARDGROUP_ADMINLOGINROOMSOAP
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static List<User.Right>getAllowed(boolean groupAdmin)booleanisGroupAdminAllowed()static User.RightvalueOf(String name)Returns the enum constant of this type with the specified name.static User.Right[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADMIN
public static final User.Right ADMIN
-
GROUP_ADMIN
public static final User.Right GROUP_ADMIN
-
ADMIN_CONFIG
public static final User.Right ADMIN_CONFIG
-
ADMIN_CONNECTIONS
public static final User.Right ADMIN_CONNECTIONS
-
ADMIN_BACKUP
public static final User.Right ADMIN_BACKUP
-
ADMIN_LABEL
public static final User.Right ADMIN_LABEL
-
ROOM
public static final User.Right ROOM
-
DASHBOARD
public static final User.Right DASHBOARD
-
LOGIN
public static final User.Right LOGIN
-
SOAP
public static final User.Right SOAP
-
-
Method Detail
-
values
public static User.Right[] 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 (User.Right c : User.Right.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static User.Right 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 nameNullPointerException- if the argument is null
-
isGroupAdminAllowed
public boolean isGroupAdminAllowed()
-
getAllowed
public static List<User.Right> getAllowed(boolean groupAdmin)
-
-