Enum PermissionTemplateNameRequest
- java.lang.Object
-
- java.lang.Enum<PermissionTemplateNameRequest>
-
- com.blackberry.workspaces.api.sdk.enums.PermissionTemplateNameRequest
-
- All Implemented Interfaces:
Serializable
,Comparable<PermissionTemplateNameRequest>
public enum PermissionTemplateNameRequest extends Enum<PermissionTemplateNameRequest>
This must be synced with the existing templates in the database which are static at the moment
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTROLLED
ControlledCONTROLLED_EDIT
Controlled editCONTROLLED_FULL
Controlled fullCONTROLLED_PRINT
Controlled printCONTROLLED_PRINT_EDIT
Controlled print editFULL_ACCESS
Full accessONLINE_VIEW
Online viewPRINT
PrintSPOTLIGHT_VIEW
Spotlight view
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PermissionTemplateNameRequest
valueOf(String name)
Returns the enum constant of this type with the specified name.static PermissionTemplateNameRequest[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FULL_ACCESS
public static final PermissionTemplateNameRequest FULL_ACCESS
Full access
-
ONLINE_VIEW
public static final PermissionTemplateNameRequest ONLINE_VIEW
Online view
-
PRINT
public static final PermissionTemplateNameRequest PRINT
Print
-
SPOTLIGHT_VIEW
public static final PermissionTemplateNameRequest SPOTLIGHT_VIEW
Spotlight view
-
CONTROLLED
public static final PermissionTemplateNameRequest CONTROLLED
Controlled
-
CONTROLLED_EDIT
public static final PermissionTemplateNameRequest CONTROLLED_EDIT
Controlled edit
-
CONTROLLED_PRINT
public static final PermissionTemplateNameRequest CONTROLLED_PRINT
Controlled print
-
CONTROLLED_PRINT_EDIT
public static final PermissionTemplateNameRequest CONTROLLED_PRINT_EDIT
Controlled print edit
-
CONTROLLED_FULL
public static final PermissionTemplateNameRequest CONTROLLED_FULL
Controlled full
-
-
Method Detail
-
values
public static PermissionTemplateNameRequest[] 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 (PermissionTemplateNameRequest c : PermissionTemplateNameRequest.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PermissionTemplateNameRequest 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
-
-