|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Permission>
org.jickr.Permission
public enum Permission
Authentication Permission allowed. They are ordered as: READ, WRITE, DELETE. Higher permissions also allow access to lower permissions.
Enum Constant Summary | |
---|---|
DELETE
DELETE permission allows the program to delete photos, if the authenticated user has permission to do it on Flickr. |
|
READ
READ permission allows the program to look at private photos that the authenticated user has permission to see on Flickr. |
|
WRITE
WRITE permission allows the program to modify data about photos on Flickr, if the authenticated user has permission to do it on Flickr. |
Method Summary | |
---|---|
static Permission |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Permission[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Permission READ
public static final Permission WRITE
public static final Permission DELETE
Method Detail |
---|
public static final Permission[] values()
for(Permission c : Permission.values()) System.out.println(c);
public static Permission 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 name
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |