public enum CompanyAccessLevel extends java.lang.Enum<CompanyAccessLevel>
| Enum Constant and Description |
|---|
AllCompanies
Permission to access all companies in all accounts.
|
None
No permission to access companies.
|
SingleAccount
Permission to access all companies in a single account.
|
SingleCompany
Permission to access a single company and its children.
|
| Modifier and Type | Method and Description |
|---|---|
static CompanyAccessLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CompanyAccessLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompanyAccessLevel None
public static final CompanyAccessLevel SingleCompany
public static final CompanyAccessLevel SingleAccount
public static final CompanyAccessLevel AllCompanies
public static CompanyAccessLevel[] values()
for (CompanyAccessLevel c : CompanyAccessLevel.values()) System.out.println(c);
public static CompanyAccessLevel 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 null