Enum VdrDocumentOrder
- java.lang.Object
-
- java.lang.Enum<VdrDocumentOrder>
-
- com.blackberry.workspaces.sdk.api.enums.VdrDocumentOrder
-
- All Implemented Interfaces:
Serializable
,Comparable<VdrDocumentOrder>
public enum VdrDocumentOrder extends Enum<VdrDocumentOrder>
An enum of values for ordering workspace files. This is is to be used for API V3 and up!
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DOCUMENT_NAME
Sort by nameLAST_UPDATED
Sort by last updatedLAST_VIEWED
not supportedMODIFIED_DATE
Sort by modified dateSENDER
Sort by send name.SENDER_ADDRESS
Sort by sender email address.SIZE
Sort by size
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VdrDocumentOrder
valueOf(String name)
Returns the enum constant of this type with the specified name.static VdrDocumentOrder[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DOCUMENT_NAME
public static final VdrDocumentOrder DOCUMENT_NAME
Sort by name
-
SENDER
public static final VdrDocumentOrder SENDER
Sort by send name.
-
SENDER_ADDRESS
public static final VdrDocumentOrder SENDER_ADDRESS
Sort by sender email address.
-
LAST_UPDATED
public static final VdrDocumentOrder LAST_UPDATED
Sort by last updated
-
LAST_VIEWED
public static final VdrDocumentOrder LAST_VIEWED
not supported
-
SIZE
public static final VdrDocumentOrder SIZE
Sort by size
-
MODIFIED_DATE
public static final VdrDocumentOrder MODIFIED_DATE
Sort by modified date
-
-
Method Detail
-
values
public static VdrDocumentOrder[] 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 (VdrDocumentOrder c : VdrDocumentOrder.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VdrDocumentOrder 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
-
-