Enum VdrDocumentFilter
- java.lang.Object
-
- java.lang.Enum<VdrDocumentFilter>
-
- com.blackberry.workspaces.api.sdk.enums.VdrDocumentFilter
-
- All Implemented Interfaces:
Serializable
,Comparable<VdrDocumentFilter>
public enum VdrDocumentFilter extends Enum<VdrDocumentFilter>
An enum of values for filtering workspace files
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL
All files.READ
Only files that have been read.STARRED
Only starred (favorites) filesUNREAD
Only files that have not been read yet.UNSTARRED
Only unstarred (non-favorites) filesVALID_ONLY
Only viewable files; expired files will not be sent.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VdrDocumentFilter
valueOf(String name)
Returns the enum constant of this type with the specified name.static VdrDocumentFilter[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL
public static final VdrDocumentFilter ALL
All files.
-
VALID_ONLY
public static final VdrDocumentFilter VALID_ONLY
Only viewable files; expired files will not be sent.
-
UNREAD
public static final VdrDocumentFilter UNREAD
Only files that have not been read yet.
-
READ
public static final VdrDocumentFilter READ
Only files that have been read.
-
STARRED
public static final VdrDocumentFilter STARRED
Only starred (favorites) files
-
UNSTARRED
public static final VdrDocumentFilter UNSTARRED
Only unstarred (non-favorites) files
-
-
Method Detail
-
values
public static VdrDocumentFilter[] 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 (VdrDocumentFilter c : VdrDocumentFilter.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VdrDocumentFilter 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
-
-