|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.evernote.clients.LinkedNoteStoreClient
public class LinkedNoteStoreClient
This is a wrapper/helper class that manages the connection to a linked
notestore. It maintains two LinkedNoteStoreClient objects, one points
to the users personal store and the other to linked notebooks shard.
| Method Summary | |
|---|---|
Note |
createNote(Note note,
LinkedNotebook linkedNotebook)
Helper method to create a note in a linked notebook |
NoteStoreClient |
getClient()
Returns the NoteStoreClient object that has been instantiated to
the appropriate shard |
Notebook |
getCorrespondingNotebook(LinkedNotebook linkedNotebook)
Will return the Notebook associated with the
LinkedNotebook from the linked account |
boolean |
isNotebookWritable(LinkedNotebook linkedNotebook)
Checks writable permissions of LinkedNotebook on Linked account |
List<LinkedNotebook> |
listNotebooks()
Helper method to list linked notebooks |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public NoteStoreClient getClient()
NoteStoreClient object that has been instantiated to
the appropriate shard
public Note createNote(Note note,
LinkedNotebook linkedNotebook)
throws EDAMUserException,
EDAMSystemException,
TException,
EDAMNotFoundException
note - linkedNotebook -
EDAMUserException
EDAMSystemException
TException
EDAMNotFoundException
public List<LinkedNotebook> listNotebooks()
throws EDAMUserException,
EDAMSystemException,
TException,
EDAMNotFoundException
EDAMUserException
EDAMSystemException
TException
EDAMNotFoundExceptioncom.evernote.edam.notestore.NoteStore.Client#listLinkedNotebooks(String)}
public Notebook getCorrespondingNotebook(LinkedNotebook linkedNotebook)
throws TException,
EDAMUserException,
EDAMSystemException,
EDAMNotFoundException
Notebook associated with the
LinkedNotebook from the linked account
linkedNotebook -
TException
EDAMUserException
EDAMSystemException
EDAMNotFoundException
public boolean isNotebookWritable(LinkedNotebook linkedNotebook)
throws EDAMUserException,
TException,
EDAMSystemException,
EDAMNotFoundException
LinkedNotebook on Linked account
linkedNotebook -
EDAMUserException
TException
EDAMSystemException
EDAMNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||