|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aetrion.flickr.people.PeopleInterface
public class PeopleInterface
Interface for finding Flickr users.
Field Summary | |
---|---|
static java.lang.String |
METHOD_FIND_BY_EMAIL
|
static java.lang.String |
METHOD_FIND_BY_USERNAME
|
static java.lang.String |
METHOD_GET_INFO
|
static java.lang.String |
METHOD_GET_ONLINE_LIST
|
static java.lang.String |
METHOD_GET_PUBLIC_GROUPS
|
static java.lang.String |
METHOD_GET_PUBLIC_PHOTOS
|
static java.lang.String |
METHOD_GET_UPLOAD_STATUS
|
Constructor Summary | |
---|---|
PeopleInterface(java.lang.String apiKey,
Transport transportAPI)
|
Method Summary | |
---|---|
User |
findByEmail(java.lang.String email)
Find the user by their email address. |
User |
findByUsername(java.lang.String username)
Find a User by the username. |
User |
getInfo(java.lang.String userId)
Get info about the specified user. |
java.util.Collection |
getPublicGroups(java.lang.String userId)
Get a collection of public groups for the user. |
PhotoList |
getPublicPhotos(java.lang.String userId,
int perPage,
int page)
|
PhotoList |
getPublicPhotos(java.lang.String userId,
java.util.Set extras,
int perPage,
int page)
Get a collection of public photos for the specified user ID. |
User |
getUploadStatus()
Get upload status for the currently authenticated 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_FIND_BY_EMAIL
public static final java.lang.String METHOD_FIND_BY_USERNAME
public static final java.lang.String METHOD_GET_INFO
public static final java.lang.String METHOD_GET_ONLINE_LIST
public static final java.lang.String METHOD_GET_PUBLIC_GROUPS
public static final java.lang.String METHOD_GET_PUBLIC_PHOTOS
public static final java.lang.String METHOD_GET_UPLOAD_STATUS
Constructor Detail |
---|
public PeopleInterface(java.lang.String apiKey, Transport transportAPI)
Method Detail |
---|
public User findByEmail(java.lang.String email) throws java.io.IOException, org.xml.sax.SAXException, FlickrException
email
- The email address
java.io.IOException
org.xml.sax.SAXException
FlickrException
public User findByUsername(java.lang.String username) throws java.io.IOException, org.xml.sax.SAXException, FlickrException
username
- The username
java.io.IOException
org.xml.sax.SAXException
FlickrException
public User getInfo(java.lang.String userId) throws java.io.IOException, org.xml.sax.SAXException, FlickrException
userId
- The user ID
java.io.IOException
org.xml.sax.SAXException
FlickrException
public java.util.Collection getPublicGroups(java.lang.String userId) throws java.io.IOException, org.xml.sax.SAXException, FlickrException
userId
- The user ID
java.io.IOException
org.xml.sax.SAXException
FlickrException
public PhotoList getPublicPhotos(java.lang.String userId, int perPage, int page) throws java.io.IOException, org.xml.sax.SAXException, FlickrException
java.io.IOException
org.xml.sax.SAXException
FlickrException
public PhotoList getPublicPhotos(java.lang.String userId, java.util.Set extras, int perPage, int page) throws java.io.IOException, org.xml.sax.SAXException, FlickrException
userId
- The User IDextras
- Set of extra-attributes to include (may be null)perPage
- The number of photos per pagepage
- The page offset
java.io.IOException
org.xml.sax.SAXException
FlickrException
Extras
public User getUploadStatus() throws java.io.IOException, org.xml.sax.SAXException, FlickrException
java.io.IOException
org.xml.sax.SAXException
FlickrException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |