|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aetrion.flickr.auth.Permission
public class Permission
Enum class for Permissions defined for auth results.
Field Summary | |
---|---|
static Permission |
DELETE
Delete (and Write, Read). |
static int |
DELETE_TYPE
Type value for Delete Permission (and Write, Read). |
static Permission |
NONE
No permissions. |
static int |
NONE_TYPE
Type value for no permissions If no permissions are requested, the application will only display public photos. |
static Permission |
READ
Read Permission. |
static int |
READ_TYPE
Type value for Read Permission. |
static Permission |
WRITE
Write (and Read). |
static int |
WRITE_TYPE
Type value for Write Permission (and Read). |
Method Summary | |
---|---|
static Permission |
fromString(java.lang.String permission)
Convert the permission String to a Permission object. |
int |
getType()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int NONE_TYPE
public static final int READ_TYPE
public static final int WRITE_TYPE
public static final int DELETE_TYPE
public static final Permission NONE
public static final Permission READ
public static final Permission WRITE
public static final Permission DELETE
Method Detail |
---|
public int getType()
public static Permission fromString(java.lang.String permission)
permission
- The permission String
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |