com.aetrion.flickr.photos.notes
Class NotesInterface
java.lang.Object
com.aetrion.flickr.photos.notes.NotesInterface
public class NotesInterface
- extends java.lang.Object
- Author:
- Anthony Eden
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 |
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
NotesInterface
public NotesInterface(java.lang.String apiKey,
Transport transport)
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 IDnote
- 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-2007 Aetrion LLC. All Rights Reserved.