|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.aetrion.flickr.prefs.PrefsInterface
public class PrefsInterface
Requesting preferences for the current authenticated user.
| Field Summary | |
|---|---|
static java.lang.String |
METHOD_GET_CONTENT_TYPE
|
static java.lang.String |
METHOD_GET_HIDDEN
|
static java.lang.String |
METHOD_GET_PRIVACY
|
static java.lang.String |
METHOD_GET_SAFETY_LEVEL
|
| Constructor Summary | |
|---|---|
PrefsInterface(java.lang.String apiKey,
Transport transport)
Construct a PrefsInterface. |
|
| Method Summary | |
|---|---|
java.lang.String |
getContentType()
Returns the default content type preference for the user. |
boolean |
getHidden()
Returns the default hidden preference for the user. |
int |
getPrivacy()
Returns the default privacy level preference for the user. |
java.lang.String |
getSafetyLevel()
Returns the default safety level preference for the user. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String METHOD_GET_CONTENT_TYPE
public static final java.lang.String METHOD_GET_HIDDEN
public static final java.lang.String METHOD_GET_SAFETY_LEVEL
public static final java.lang.String METHOD_GET_PRIVACY
| Constructor Detail |
|---|
public PrefsInterface(java.lang.String apiKey,
Transport transport)
apiKey - The API keytransport - The Transport interface| Method Detail |
|---|
public java.lang.String getContentType()
throws java.io.IOException,
org.xml.sax.SAXException,
FlickrException
java.io.IOException
org.xml.sax.SAXException
FlickrExceptionFlickr.CONTENTTYPE_OTHER,
Flickr.CONTENTTYPE_PHOTO,
Flickr.CONTENTTYPE_SCREENSHOT
public boolean getHidden()
throws java.io.IOException,
org.xml.sax.SAXException,
FlickrException
java.io.IOException
org.xml.sax.SAXException
FlickrException
public java.lang.String getSafetyLevel()
throws java.io.IOException,
org.xml.sax.SAXException,
FlickrException
java.io.IOException
org.xml.sax.SAXException
FlickrExceptionFlickr.SAFETYLEVEL_MODERATE,
Flickr.SAFETYLEVEL_RESTRICTED,
Flickr.SAFETYLEVEL_SAFE
public int getPrivacy()
throws java.io.IOException,
org.xml.sax.SAXException,
FlickrException
java.io.IOException
org.xml.sax.SAXException
FlickrExceptionFlickr.PRIVACY_LEVEL_NO_FILTER,
Flickr.PRIVACY_LEVEL_PUBLIC,
Flickr.PRIVACY_LEVEL_FRIENDS,
Flickr.PRIVACY_LEVEL_FRIENDS_FAMILY,
Flickr.PRIVACY_LEVEL_FAMILY,
Flickr.PRIVACY_LEVEL_FRIENDS
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||