Enum CompanyAccessLevel
- All Implemented Interfaces:
Serializable
,Comparable<CompanyAccessLevel>
,java.lang.constant.Constable
Indicates the level of companies that can be accessed
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPermission to access all companies in all accounts.Permission to access all companies in all accounts managed by a firm account.No permission to access companies.Permission to access all companies in a single account.Permission to access a single company and its children. -
Method Summary
Modifier and TypeMethodDescriptionint
getValue()
static CompanyAccessLevel
valueOf
(int intValue) Returns the enum constant of this type with the specified name.static CompanyAccessLevel
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.
-
Enum Constant Details
-
None
No permission to access companies. -
SingleCompany
Permission to access a single company and its children. -
SingleAccount
Permission to access all companies in a single account. -
AllCompanies
Permission to access all companies in all accounts. Reserved for system administration tasks. -
FirmManagedAccounts
Permission to access all companies in all accounts managed by a firm account.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
valueOf
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:
intValue
- 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
-
getValue
public int getValue()
-