com.aetrion.flickr.photos.notes
Class NotesInterface

java.lang.Object
  extended by com.aetrion.flickr.photos.notes.NotesInterface

public class NotesInterface
extends java.lang.Object

Author:
Anthony Eden

Field Summary
static java.lang.String METHOD_ADD
           
static java.lang.String METHOD_DELETE
           
static java.lang.String METHOD_EDIT
           
 
Constructor Summary
NotesInterface(java.lang.String apiKey, java.lang.String sharedSecret, Transport transportAPI)
           
 
Method Summary
 Note add(java.lang.String photoId, Note note)
          Add a note to a photo.
 void delete(java.lang.String noteId)
          Delete the specified note.
 void edit(Note note)
          Update a note.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

METHOD_ADD

public static final java.lang.String METHOD_ADD
See Also:
Constant Field Values

METHOD_DELETE

public static final java.lang.String METHOD_DELETE
See Also:
Constant Field Values

METHOD_EDIT

public static final java.lang.String METHOD_EDIT
See Also:
Constant Field Values
Constructor Detail

NotesInterface

public NotesInterface(java.lang.String apiKey,
                      java.lang.String sharedSecret,
                      Transport transportAPI)
Method Detail

add

public Note add(java.lang.String photoId,
                Note note)
         throws java.io.IOException,
                org.xml.sax.SAXException,
                FlickrException
Add a note to a photo. The Note object bounds and text must be specified.

Parameters:
photoId - The photo ID
note - The Note object
Returns:
The updated Note object
Throws:
java.io.IOException
org.xml.sax.SAXException
FlickrException

delete

public void delete(java.lang.String noteId)
            throws java.io.IOException,
                   org.xml.sax.SAXException,
                   FlickrException
Delete the specified note.

Parameters:
noteId - The node ID
Throws:
java.io.IOException
org.xml.sax.SAXException
FlickrException

edit

public void edit(Note note)
          throws java.io.IOException,
                 org.xml.sax.SAXException,
                 FlickrException
Update a note.

Parameters:
note - The Note to update
Throws:
java.io.IOException
org.xml.sax.SAXException
FlickrException


Copyright (C) 2005-2008 Aetrion LLC. All Rights Reserved.