public class Roles
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Roles.Role |
Modifier and Type | Field and Description |
---|---|
static Roles.Role |
ADMIN_ROLE |
static Roles.Role |
CATALOGER_ROLE |
static Roles.Role |
MANAGER_ROLE |
static Roles.Role |
NO_ROLE |
static java.util.EnumSet |
roles |
Constructor and Description |
---|
Roles() |
Modifier and Type | Method and Description |
---|---|
static Roles |
getInstance() |
static java.util.EnumSet |
getSatisfyingRoles(Roles.Role maxRole) |
static void |
main(java.lang.String[] args) |
static Roles.Role |
toRole(java.lang.String str) |
static java.lang.String |
toString(Roles.Role r) |
public static final Roles.Role NO_ROLE
public static final Roles.Role CATALOGER_ROLE
public static final Roles.Role MANAGER_ROLE
public static final Roles.Role ADMIN_ROLE
public static java.util.EnumSet roles
public static Roles.Role toRole(java.lang.String str)
public static java.lang.String toString(Roles.Role r)
public static Roles getInstance()
public static void main(java.lang.String[] args)
public static java.util.EnumSet getSatisfyingRoles(Roles.Role maxRole)