public enum CompanyAccessLevel extends java.lang.Enum<CompanyAccessLevel>
Enum Constant and Description |
---|
AllCompanies
Permission to access all companies in all accounts.
|
FirmManagedAccounts
Permission to access all companies in all accounts managed by a firm account.
|
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 |
---|---|
int |
getValue() |
static CompanyAccessLevel |
valueOf(int intValue) |
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 final CompanyAccessLevel FirmManagedAccounts
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 nullpublic static CompanyAccessLevel valueOf(int intValue)
public int getValue()