|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aetrion.flickr.groups.pools.PoolsInterface
public class PoolsInterface
Field Summary | |
---|---|
static java.lang.String |
METHOD_ADD
|
static java.lang.String |
METHOD_GET_CONTEXT
|
static java.lang.String |
METHOD_GET_GROUPS
|
static java.lang.String |
METHOD_GET_PHOTOS
|
static java.lang.String |
METHOD_REMOVE
|
Constructor Summary | |
---|---|
PoolsInterface(java.lang.String apiKey,
Transport transport)
|
Method Summary | |
---|---|
void |
add(java.lang.String photoId,
java.lang.String groupId)
Add a photo to a group's pool. |
PhotoContext |
getContext(java.lang.String photoId,
java.lang.String groupId)
Get the context for a photo in the group pool. |
java.util.Collection |
getGroups()
Get a collection of all of the user's groups. |
PhotoList |
getPhotos(java.lang.String groupId,
java.lang.String[] tags,
int perPage,
int page)
Convenience/Compatibility method. |
PhotoList |
getPhotos(java.lang.String groupId,
java.lang.String[] tags,
java.util.Set extras,
int perPage,
int page)
Get the photos for the specified group pool, optionally filtering by taf. |
void |
remove(java.lang.String photoId,
java.lang.String groupId)
Remove the specified photo from the group. |
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_ADD
public static final java.lang.String METHOD_GET_CONTEXT
public static final java.lang.String METHOD_GET_GROUPS
public static final java.lang.String METHOD_GET_PHOTOS
public static final java.lang.String METHOD_REMOVE
Constructor Detail |
---|
public PoolsInterface(java.lang.String apiKey, Transport transport)
Method Detail |
---|
public void add(java.lang.String photoId, java.lang.String groupId) throws java.io.IOException, org.xml.sax.SAXException, FlickrException
photoId
- The photo IDgroupId
- The group ID
java.io.IOException
org.xml.sax.SAXException
FlickrException
public PhotoContext getContext(java.lang.String photoId, java.lang.String groupId) throws java.io.IOException, org.xml.sax.SAXException, FlickrException
photoId
- The photo IDgroupId
- The group ID
java.io.IOException
org.xml.sax.SAXException
FlickrException
public java.util.Collection getGroups() throws java.io.IOException, org.xml.sax.SAXException, FlickrException
java.io.IOException
org.xml.sax.SAXException
FlickrException
public PhotoList getPhotos(java.lang.String groupId, java.lang.String[] tags, java.util.Set extras, int perPage, int page) throws java.io.IOException, org.xml.sax.SAXException, FlickrException
groupId
- The group IDtags
- The optional tags (may be null)extras
- Set of extra-attributes to include (may be null)perPage
- The number of photos per page (0 to ignore)page
- The page offset (0 to ignore)
java.io.IOException
org.xml.sax.SAXException
FlickrException
Extras
public PhotoList getPhotos(java.lang.String groupId, java.lang.String[] tags, int perPage, int page) throws java.io.IOException, org.xml.sax.SAXException, FlickrException
groupId
- The group IDtags
- The optional tags (may be null)perPage
- The number of photos per page (0 to ignore)page
- The page offset (0 to ignore)
java.io.IOException
org.xml.sax.SAXException
FlickrException
Extras
public void remove(java.lang.String photoId, java.lang.String groupId) throws java.io.IOException, org.xml.sax.SAXException, FlickrException
photoId
- The photo IDgroupId
- The group ID
java.io.IOException
org.xml.sax.SAXException
FlickrException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |