com.aetrion.flickr.contacts
Class ContactsInterface
java.lang.Object
com.aetrion.flickr.contacts.ContactsInterface
public class ContactsInterface
- extends java.lang.Object
Interface for working with Flickr contacts.
- Author:
- Anthony Eden
Method Summary |
java.util.Collection |
getList()
Get the collection of contacts for the calling user. |
java.util.Collection |
getPublicList(java.lang.String userId)
Get the collection of public contacts for the specified user ID. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
METHOD_GET_LIST
public static final java.lang.String METHOD_GET_LIST
- See Also:
- Constant Field Values
METHOD_GET_PUBLIC_LIST
public static final java.lang.String METHOD_GET_PUBLIC_LIST
- See Also:
- Constant Field Values
ContactsInterface
public ContactsInterface(java.lang.String apiKey,
Transport transportAPI)
getList
public java.util.Collection getList()
throws java.io.IOException,
org.xml.sax.SAXException,
FlickrException
- Get the collection of contacts for the calling user.
- Returns:
- The Collection of Contact objects
- Throws:
java.io.IOException
org.xml.sax.SAXException
FlickrException
getPublicList
public java.util.Collection getPublicList(java.lang.String userId)
throws java.io.IOException,
org.xml.sax.SAXException,
FlickrException
- Get the collection of public contacts for the specified user ID.
- Parameters:
userId
- The user ID
- Returns:
- The Collection of Contact objects
- Throws:
java.io.IOException
org.xml.sax.SAXException
FlickrException
Copyright (C) 2005-2007 Aetrion LLC. All Rights Reserved.