com.evernote.clients
Class NoteStoreClient

java.lang.Object
  extended by com.evernote.clients.NoteStoreClient

public class NoteStoreClient
extends Object

A wrapper for NoteStore.Client

Author:
kentaro suzuki

Method Summary
 AuthenticationResult authenticateToSharedNote(String guid, String noteKey, String authenticationToken)
           
 AuthenticationResult authenticateToSharedNotebook(String shareKey)
           
 Note copyNote(String noteGuid, String toNotebookGuid)
           
 LinkedNotebook createLinkedNotebook(LinkedNotebook linkedNotebook)
           
 Note createNote(Note note)
           
 Notebook createNotebook(Notebook notebook)
           
 SavedSearch createSearch(SavedSearch search)
           
 SharedNotebook createSharedNotebook(SharedNotebook sharedNotebook)
           
 Tag createTag(Tag tag)
           
 int deleteNote(String guid)
           
 void emailNote(NoteEmailParameters parameters)
           
 int expungeInactiveNotes()
           
 int expungeLinkedNotebook(String guid)
           
 int expungeNote(String guid)
           
 int expungeNotebook(String guid)
           
 int expungeNotes(List<String> noteGuids)
           
 int expungeSearch(String guid)
           
 int expungeSharedNotebooks(List<Long> sharedNotebookIds)
           
 int expungeTag(String guid)
           
 NoteCollectionCounts findNoteCounts(NoteFilter filter, boolean withTrash)
           
 int findNoteOffset(NoteFilter filter, String guid)
           
 NoteList findNotes(NoteFilter filter, int offset, int maxNotes)
           
 NotesMetadataList findNotesMetadata(NoteFilter filter, int offset, int maxNotes, NotesMetadataResultSpec resultSpec)
           
 RelatedResult findRelated(RelatedQuery query, RelatedResultSpec resultSpec)
           
 NoteStore.Client getClient()
          If direct access to the Note Store is needed, all of these calls are synchronous
 Notebook getDefaultNotebook()
           
 SyncChunk getFilteredSyncChunk(int afterUSN, int maxEntries, SyncChunkFilter filter)
           
 SyncChunk getLinkedNotebookSyncChunk(LinkedNotebook linkedNotebook, int afterUSN, int maxEntries, boolean fullSyncOnly)
           
 SyncState getLinkedNotebookSyncState(LinkedNotebook linkedNotebook)
           
 Note getNote(String guid, boolean withContent, boolean withResourcesData, boolean withResourcesRecognition, boolean withResourcesAlternateData)
           
 LazyMap getNoteApplicationData(String guid)
           
 String getNoteApplicationDataEntry(String guid, String key)
           
 Notebook getNotebook(String guid)
           
 String getNoteContent(String guid)
           
 String getNoteSearchText(String guid, boolean noteOnly, boolean tokenizeForIndexing)
           
 List<String> getNoteTagNames(String guid)
           
 Note getNoteVersion(String noteGuid, int updateSequenceNum, boolean withResourcesData, boolean withResourcesRecognition, boolean withResourcesAlternateData)
           
 Notebook getPublicNotebook(int userId, String publicUri)
           
 Resource getResource(String guid, boolean withData, boolean withRecognition, boolean withAttributes, boolean withAlternateData)
           
 byte[] getResourceAlternateData(String guid)
           
 LazyMap getResourceApplicationData(String guid)
           
 String getResourceApplicationDataEntry(String guid, String key)
           
 ResourceAttributes getResourceAttributes(String guid)
           
 Resource getResourceByHash(String noteGuid, byte[] contentHash, boolean withData, boolean withRecognition, boolean withAlternateData)
           
 byte[] getResourceData(String guid)
           
 byte[] getResourceRecognition(String guid)
           
 String getResourceSearchText(String guid)
           
 SavedSearch getSearch(String guid)
           
 SharedNotebook getSharedNotebookByAuth()
           
 SyncChunk getSyncChunk(int afterUSN, int maxEntries, boolean fullSyncOnly)
           
 SyncState getSyncState()
           
 SyncState getSyncStateWithMetrics(ClientUsageMetrics clientMetrics)
           
 Tag getTag(String guid)
           
 List<LinkedNotebook> listLinkedNotebooks()
           
 List<Notebook> listNotebooks()
           
 List<NoteVersionId> listNoteVersions(String noteGuid)
           
 List<SavedSearch> listSearches()
           
 List<SharedNotebook> listSharedNotebooks()
           
 List<Tag> listTags()
           
 List<Tag> listTagsByNotebook(String notebookGuid)
           
 int sendMessageToSharedNotebookMembers(String notebookGuid, String messageText, List<String> recipients)
           
 int setNoteApplicationDataEntry(String guid, String key, String value)
           
 int setResourceApplicationDataEntry(String guid, String key, String value)
           
 void setSharedNotebookRecipientSettings(String authenticationToken, long sharedNotebookId, SharedNotebookRecipientSettings recipientSettings)
           
 String shareNote(String guid)
           
 void stopSharingNote(String guid)
           
 int unsetNoteApplicationDataEntry(String guid, String key)
           
 int unsetResourceApplicationDataEntry(String guid, String key)
           
 void untagAll(String guid)
           
 int updateLinkedNotebook(LinkedNotebook linkedNotebook)
           
 Note updateNote(Note note)
           
 int updateNotebook(Notebook notebook)
           
 int updateResource(Resource resource)
           
 int updateSearch(SavedSearch search)
           
 int updateSharedNotebook(SharedNotebook sharedNotebook)
           
 int updateTag(Tag tag)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getClient

public NoteStore.Client getClient()
If direct access to the Note Store is needed, all of these calls are synchronous

Returns:
NoteStore.Client

getSyncState

public SyncState getSyncState()
                       throws EDAMUserException,
                              EDAMSystemException,
                              TException
Throws:
EDAMUserException
EDAMSystemException
TException
See Also:
NoteStore.Client#getSyncState(String)

getSyncStateWithMetrics

public SyncState getSyncStateWithMetrics(ClientUsageMetrics clientMetrics)
                                  throws EDAMUserException,
                                         EDAMSystemException,
                                         TException
Throws:
EDAMUserException
EDAMSystemException
TException
See Also:
NoteStore.Client##getSyncStateWithMetrics(com.evernote.edam.notestore .ClientUsageMetrics, OnClientCallback)

getSyncChunk

public SyncChunk getSyncChunk(int afterUSN,
                              int maxEntries,
                              boolean fullSyncOnly)
                       throws EDAMUserException,
                              EDAMSystemException,
                              TException
Throws:
EDAMUserException
EDAMSystemException
TException
See Also:
NoteStore.Client#getSyncChunk(String, int, int, boolean)

getFilteredSyncChunk

public SyncChunk getFilteredSyncChunk(int afterUSN,
                                      int maxEntries,
                                      SyncChunkFilter filter)
                               throws EDAMUserException,
                                      EDAMSystemException,
                                      TException
Throws:
EDAMUserException
EDAMSystemException
TException
See Also:
NoteStore.Client#getFilteredSyncChunk(String, int, int, com.evernote.edam.notestore.SyncChunkFilter)

getLinkedNotebookSyncState

public SyncState getLinkedNotebookSyncState(LinkedNotebook linkedNotebook)
                                     throws EDAMUserException,
                                            EDAMSystemException,
                                            EDAMNotFoundException,
                                            TException
Throws:
EDAMUserException
EDAMSystemException
EDAMNotFoundException
TException
See Also:
NoteStore.Client#getLinkedNotebookSyncState(String, com.evernote.edam.type.LinkedNotebook)

getLinkedNotebookSyncChunk

public SyncChunk getLinkedNotebookSyncChunk(LinkedNotebook linkedNotebook,
                                            int afterUSN,
                                            int maxEntries,
                                            boolean fullSyncOnly)
                                     throws EDAMUserException,
                                            EDAMSystemException,
                                            EDAMNotFoundException,
                                            TException
Returns:
Throws:
EDAMUserException
EDAMSystemException
EDAMNotFoundException
TException
See Also:
NoteStore.Client#getLinkedNotebookSyncChunk(String, com.evernote.edam.type.LinkedNotebook, int, int, boolean)

listNotebooks

public List<Notebook> listNotebooks()
                             throws EDAMUserException,
                                    EDAMSystemException,
                                    TException
Throws:
EDAMUserException
EDAMSystemException
TException
See Also:
NoteStore.Client#listNotebooks(String)

getNotebook

public Notebook getNotebook(String guid)
                     throws EDAMUserException,
                            EDAMSystemException,
                            EDAMNotFoundException,
                            TException
Throws:
EDAMUserException
EDAMSystemException
EDAMNotFoundException
TException
See Also:
NoteStore.Client#getNotebook(String, String)

getDefaultNotebook

public Notebook getDefaultNotebook()
                            throws EDAMUserException,
                                   EDAMSystemException,
                                   TException
Throws:
EDAMUserException
EDAMSystemException
TException
See Also:
NoteStore.Client#getDefaultNotebook(String)

createNotebook

public Notebook createNotebook(Notebook notebook)
                        throws EDAMUserException,
                               EDAMSystemException,
                               TException
Throws:
EDAMUserException
EDAMSystemException
TException
See Also:
NoteStore.Client#createNotebook(String, com.evernote.edam.type.Notebook)

updateNotebook

public int updateNotebook(Notebook notebook)
                   throws EDAMUserException,
                          EDAMSystemException,
                          EDAMNotFoundException,
                          TException
Throws:
EDAMUserException
EDAMSystemException
EDAMNotFoundException
TException
See Also:
NoteStore.Client#updateNotebook(String, com.evernote.edam.type.Notebook)

expungeNotebook

public int expungeNotebook(String guid)
                    throws EDAMUserException,
                           EDAMSystemException,
                           EDAMNotFoundException,
                           TException
Throws:
EDAMUserException
EDAMSystemException
EDAMNotFoundException
TException
See Also:
NoteStore.Client#expungeNotebook(String, String)

listTags

public List<Tag> listTags()
                   throws EDAMUserException,
                          EDAMSystemException,
                          TException
Throws:
EDAMUserException
EDAMSystemException
TException
See Also:
NoteStore.Client#listTags(String)

listTagsByNotebook

public List<Tag> listTagsByNotebook(String notebookGuid)
                             throws EDAMUserException,
                                    EDAMSystemException,
                                    EDAMNotFoundException,
                                    TException
Throws:
EDAMUserException
EDAMSystemException
EDAMNotFoundException
TException
See Also:
NoteStore.Client#listTagsByNotebook(String, String)

getTag

public Tag getTag(String guid)
           throws EDAMUserException,
                  EDAMSystemException,
                  EDAMNotFoundException,
                  TException
Throws:
EDAMUserException
EDAMSystemException
EDAMNotFoundException
TException
See Also:
NoteStore.Client#getTag(String, String)

createTag

public Tag createTag(Tag tag)
              throws EDAMUserException,
                     EDAMSystemException,
                     EDAMNotFoundException,
                     TException
Throws:
EDAMUserException
EDAMSystemException
EDAMNotFoundException
TException
See Also:
NoteStore.Client#createTag(String, com.evernote.edam.type.Tag)

updateTag

public int updateTag(Tag tag)
              throws EDAMUserException,
                     EDAMSystemException,
                     EDAMNotFoundException,
                     TException
Throws:
EDAMUserException
EDAMSystemException
EDAMNotFoundException
TException
See Also:
NoteStore.Client#updateTag(String, com.evernote.edam.type.Tag)

untagAll

public void untagAll(String guid)
              throws EDAMUserException,
                     EDAMSystemException,
                     EDAMNotFoundException,
                     TException
Throws:
EDAMUserException
EDAMSystemException
EDAMNotFoundException
TException
See Also:
NoteStore.Client#untagAll(String, String)

expungeTag

public int expungeTag(String guid)
               throws EDAMUserException,
                      EDAMSystemException,
                      EDAMNotFoundException,
                      TException
Throws:
EDAMUserException
EDAMSystemException
EDAMNotFoundException
TException
See Also:
NoteStore.Client#expungeTag(String, String)

listSearches

public List<SavedSearch> listSearches()
                               throws EDAMUserException,
                                      EDAMSystemException,
                                      TException
Throws:
EDAMUserException
EDAMSystemException
TException
See Also:
NoteStore.Client#listSearches(String)

getSearch

public SavedSearch getSearch(String guid)
                      throws EDAMUserException,
                             EDAMSystemException,
                             EDAMNotFoundException,
                             TException
Throws:
EDAMUserException
EDAMSystemException
EDAMNotFoundException
TException
See Also:
NoteStore.Client#getSearch(String, String)

createSearch

public SavedSearch createSearch(SavedSearch search)
                         throws EDAMUserException,
                                EDAMSystemException,
                                TException
Throws:
EDAMUserException
EDAMSystemException
TException
See Also:
NoteStore.Client#createSearch(String, com.evernote.edam.type.SavedSearch)

updateSearch

public int updateSearch(SavedSearch search)
                 throws EDAMUserException,
                        EDAMSystemException,
                        EDAMNotFoundException,
                        TException
Throws:
EDAMUserException
EDAMSystemException
EDAMNotFoundException
TException
See Also:
NoteStore.Client#updateSearch(String, com.evernote.edam.type.SavedSearch)

expungeSearch

public int expungeSearch(String guid)
                  throws EDAMUserException,
                         EDAMSystemException,
                         EDAMNotFoundException,
                         TException
Throws:
EDAMUserException
EDAMSystemException
EDAMNotFoundException
TException
See Also:
NoteStore.Client#expungeSearch(String, String)

findNotes

public NoteList findNotes(NoteFilter filter,
                          int offset,
                          int maxNotes)
                   throws EDAMUserException,
                          EDAMSystemException,
                          EDAMNotFoundException,
                          TException
Throws:
EDAMUserException
EDAMSystemException
EDAMNotFoundException
TException
See Also:
NoteStore.Client#findNotes(String, com.evernote.edam.notestore.NoteFilter, int, int)

findNoteOffset

public int findNoteOffset(NoteFilter filter,
                          String guid)
                   throws EDAMUserException,
                          EDAMSystemException,
                          EDAMNotFoundException,
                          TException
Throws:
EDAMUserException
EDAMSystemException
EDAMNotFoundException
TException
See Also:
NoteStore.Client#findNoteOffset(String, com.evernote.edam.notestore.NoteFilter, String)

findNotesMetadata

public NotesMetadataList findNotesMetadata(NoteFilter filter,
                                           int offset,
                                           int maxNotes,
                                           NotesMetadataResultSpec resultSpec)
                                    throws EDAMUserException,
                                           EDAMSystemException,
                                           EDAMNotFoundException,
                                           TException
Throws:
EDAMUserException
EDAMSystemException
EDAMNotFoundException
TException
See Also:
NoteStore.Client#findNotesMetadata(String, com.evernote.edam.notestore.NoteFilter, int, int, com.evernote.edam.notestore.NotesMetadataResultSpec)

findNoteCounts

public NoteCollectionCounts findNoteCounts(NoteFilter filter,
                                           boolean withTrash)
                                    throws EDAMUserException,
                                           EDAMSystemException,
                                           EDAMNotFoundException,
                                           TException
Throws:
EDAMUserException
EDAMSystemException
EDAMNotFoundException
TException
See Also:
NoteStore.Client#findNoteCounts(String, com.evernote.edam.notestore.NoteFilter, boolean)

getNote

public Note getNote(String guid,
                    boolean withContent,
                    boolean withResourcesData,
                    boolean withResourcesRecognition,
                    boolean withResourcesAlternateData)
             throws EDAMUserException,
                    EDAMSystemException,
                    EDAMNotFoundException,
                    TException
Throws:
EDAMUserException
EDAMSystemException
EDAMNotFoundException
TException
See Also:
NoteStore.Client#getNote(String, String, boolean, boolean, boolean, boolean)

getNoteApplicationData

public LazyMap getNoteApplicationData(String guid)
                               throws EDAMUserException,
                                      EDAMSystemException,
                                      EDAMNotFoundException,
                                      TException
Throws:
EDAMUserException
EDAMSystemException
EDAMNotFoundException
TException
See Also:
NoteStore.Client#getNoteApplicationData(String, String)

getNoteApplicationDataEntry

public String getNoteApplicationDataEntry(String guid,
                                          String key)
                                   throws EDAMUserException,
                                          EDAMSystemException,
                                          EDAMNotFoundException,
                                          TException
Throws:
EDAMUserException
EDAMSystemException
EDAMNotFoundException
TException
See Also:
NoteStore.Client#getNoteApplicationDataEntry(String, String, String)

setNoteApplicationDataEntry

public int setNoteApplicationDataEntry(String guid,
                                       String key,
                                       String value)
                                throws EDAMUserException,
                                       EDAMSystemException,
                                       EDAMNotFoundException,
                                       TException
Throws:
EDAMUserException
EDAMSystemException
EDAMNotFoundException
TException
See Also:
NoteStore.Client#setNoteApplicationDataEntry(String, String, String, String)

unsetNoteApplicationDataEntry

public int unsetNoteApplicationDataEntry(String guid,
                                         String key)
                                  throws EDAMUserException,
                                         EDAMSystemException,
                                         EDAMNotFoundException,
                                         TException
Throws:
EDAMUserException
EDAMSystemException
EDAMNotFoundException
TException
See Also:
NoteStore.Client#unsetNoteApplicationDataEntry(String, String, String)

getNoteContent

public String getNoteContent(String guid)
                      throws EDAMUserException,
                             EDAMSystemException,
                             EDAMNotFoundException,
                             TException
Throws:
EDAMUserException
EDAMSystemException
EDAMNotFoundException
TException
See Also:
NoteStore.Client#getNoteContent(String, String)

getNoteSearchText

public String getNoteSearchText(String guid,
                                boolean noteOnly,
                                boolean tokenizeForIndexing)
                         throws EDAMUserException,
                                EDAMSystemException,
                                EDAMNotFoundException,
                                TException
Throws:
EDAMUserException
EDAMSystemException
EDAMNotFoundException
TException
See Also:
NoteStore.Client#getNoteSearchText(String, String, boolean, boolean)

getResourceSearchText

public String getResourceSearchText(String guid)
                             throws EDAMUserException,
                                    EDAMSystemException,
                                    EDAMNotFoundException,
                                    TException
Throws:
EDAMUserException
EDAMSystemException
EDAMNotFoundException
TException
See Also:
NoteStore.Client#getResourceSearchText(String, String)

getNoteTagNames

public List<String> getNoteTagNames(String guid)
                             throws EDAMUserException,
                                    EDAMSystemException,
                                    EDAMNotFoundException,
                                    TException
Throws:
EDAMUserException
EDAMSystemException
EDAMNotFoundException
TException
See Also:
NoteStore.Client#getNoteTagNames(String, String)

createNote

public Note createNote(Note note)
                throws EDAMUserException,
                       EDAMSystemException,
                       EDAMNotFoundException,
                       TException
Throws:
EDAMUserException
EDAMSystemException
EDAMNotFoundException
TException
See Also:
NoteStore.Client#createNote(String, com.evernote.edam.type.Note)

updateNote

public Note updateNote(Note note)
                throws EDAMUserException,
                       EDAMSystemException,
                       EDAMNotFoundException,
                       TException
Throws:
EDAMUserException
EDAMSystemException
EDAMNotFoundException
TException
See Also:
NoteStore.Client#updateNote(String, com.evernote.edam.type.Note)

deleteNote

public int deleteNote(String guid)
               throws EDAMUserException,
                      EDAMSystemException,
                      EDAMNotFoundException,
                      TException
Throws:
EDAMUserException
EDAMSystemException
EDAMNotFoundException
TException
See Also:
NoteStore.Client#deleteNote(String, String)

expungeNote

public int expungeNote(String guid)
                throws EDAMUserException,
                       EDAMSystemException,
                       EDAMNotFoundException,
                       TException
Throws:
EDAMUserException
EDAMSystemException
EDAMNotFoundException
TException
See Also:
NoteStore.Client#expungeNote(String, String)

expungeNotes

public int expungeNotes(List<String> noteGuids)
                 throws EDAMUserException,
                        EDAMSystemException,
                        EDAMNotFoundException,
                        TException
Throws:
EDAMUserException
EDAMSystemException
EDAMNotFoundException
TException
See Also:
NoteStore.Client#expungeNotes(String, java.util.List)

expungeInactiveNotes

public int expungeInactiveNotes()
                         throws EDAMUserException,
                                EDAMSystemException,
                                TException
Throws:
EDAMUserException
EDAMSystemException
TException
See Also:
NoteStore.Client#expungeInactiveNotes(String)

copyNote

public Note copyNote(String noteGuid,
                     String toNotebookGuid)
              throws EDAMUserException,
                     EDAMSystemException,
                     EDAMNotFoundException,
                     TException
Throws:
EDAMUserException
EDAMSystemException
EDAMNotFoundException
TException
See Also:
NoteStore.Client#copyNote(String, String, String)

listNoteVersions

public List<NoteVersionId> listNoteVersions(String noteGuid)
                                     throws EDAMUserException,
                                            EDAMSystemException,
                                            EDAMNotFoundException,
                                            TException
Throws:
EDAMUserException
EDAMSystemException
EDAMNotFoundException
TException
See Also:
NoteStore.Client#listNoteVersions(String, String)

getNoteVersion

public Note getNoteVersion(String noteGuid,
                           int updateSequenceNum,
                           boolean withResourcesData,
                           boolean withResourcesRecognition,
                           boolean withResourcesAlternateData)
                    throws EDAMUserException,
                           EDAMSystemException,
                           EDAMNotFoundException,
                           TException
Throws:
EDAMUserException
EDAMSystemException
EDAMNotFoundException
TException
See Also:
NoteStore.Client#getNoteVersion(String, String, int, boolean, boolean, boolean)

getResource

public Resource getResource(String guid,
                            boolean withData,
                            boolean withRecognition,
                            boolean withAttributes,
                            boolean withAlternateData)
                     throws EDAMUserException,
                            EDAMSystemException,
                            EDAMNotFoundException,
                            TException
Throws:
EDAMUserException
EDAMSystemException
EDAMNotFoundException
TException
See Also:
NoteStore.Client#getResource(String, String, boolean, boolean, boolean, boolean)

getResourceApplicationData

public LazyMap getResourceApplicationData(String guid)
                                   throws EDAMUserException,
                                          EDAMSystemException,
                                          EDAMNotFoundException,
                                          TException
Throws:
EDAMUserException
EDAMSystemException
EDAMNotFoundException
TException
See Also:
NoteStore.Client#getResourceApplicationData(String, String)

getResourceApplicationDataEntry

public String getResourceApplicationDataEntry(String guid,
                                              String key)
                                       throws EDAMUserException,
                                              EDAMSystemException,
                                              EDAMNotFoundException,
                                              TException
Throws:
EDAMUserException
EDAMSystemException
EDAMNotFoundException
TException
See Also:
NoteStore.Client#getResourceApplicationDataEntry(String, String, String)

setResourceApplicationDataEntry

public int setResourceApplicationDataEntry(String guid,
                                           String key,
                                           String value)
                                    throws EDAMUserException,
                                           EDAMSystemException,
                                           EDAMNotFoundException,
                                           TException
Throws:
EDAMUserException
EDAMSystemException
EDAMNotFoundException
TException
See Also:
NoteStore.Client#setResourceApplicationDataEntry(String, String, String, String)

unsetResourceApplicationDataEntry

public int unsetResourceApplicationDataEntry(String guid,
                                             String key)
                                      throws EDAMUserException,
                                             EDAMSystemException,
                                             EDAMNotFoundException,
                                             TException
Throws:
EDAMUserException
EDAMSystemException
EDAMNotFoundException
TException
See Also:
NoteStore.Client#unsetResourceApplicationDataEntry(String, String, String)

updateResource

public int updateResource(Resource resource)
                   throws EDAMUserException,
                          EDAMSystemException,
                          EDAMNotFoundException,
                          TException
Throws:
EDAMUserException
EDAMSystemException
EDAMNotFoundException
TException
See Also:
NoteStore.Client#updateResource(String, com.evernote.edam.type.Resource)

getResourceData

public byte[] getResourceData(String guid)
                       throws EDAMUserException,
                              EDAMSystemException,
                              EDAMNotFoundException,
                              TException
Throws:
EDAMUserException
EDAMSystemException
EDAMNotFoundException
TException
See Also:
NoteStore.Client#getResourceData(String, String)

getResourceByHash

public Resource getResourceByHash(String noteGuid,
                                  byte[] contentHash,
                                  boolean withData,
                                  boolean withRecognition,
                                  boolean withAlternateData)
                           throws EDAMUserException,
                                  EDAMSystemException,
                                  EDAMNotFoundException,
                                  TException
Throws:
EDAMUserException
EDAMSystemException
EDAMNotFoundException
TException
See Also:
NoteStore.Client#getResourceByHash(String, String, byte[], boolean, boolean, boolean)

getResourceRecognition

public byte[] getResourceRecognition(String guid)
                              throws EDAMUserException,
                                     EDAMSystemException,
                                     EDAMNotFoundException,
                                     TException
Throws:
EDAMUserException
EDAMSystemException
EDAMNotFoundException
TException
See Also:
NoteStore.Client#getResourceRecognition(String, String)

getResourceAlternateData

public byte[] getResourceAlternateData(String guid)
                                throws EDAMUserException,
                                       EDAMSystemException,
                                       EDAMNotFoundException,
                                       TException
Throws:
EDAMUserException
EDAMSystemException
EDAMNotFoundException
TException
See Also:
NoteStore.Client#getResourceAlternateData(String, String)

getResourceAttributes

public ResourceAttributes getResourceAttributes(String guid)
                                         throws EDAMUserException,
                                                EDAMSystemException,
                                                EDAMNotFoundException,
                                                TException
Throws:
EDAMUserException
EDAMSystemException
EDAMNotFoundException
TException
See Also:
NoteStore.Client#getResourceAttributes(String, String)

getPublicNotebook

public Notebook getPublicNotebook(int userId,
                                  String publicUri)
                           throws EDAMSystemException,
                                  EDAMNotFoundException,
                                  TException
Throws:
EDAMSystemException
EDAMNotFoundException
TException
See Also:
NoteStore.Client#getPublicNotebook(int, String)

createSharedNotebook

public SharedNotebook createSharedNotebook(SharedNotebook sharedNotebook)
                                    throws EDAMUserException,
                                           EDAMNotFoundException,
                                           EDAMSystemException,
                                           TException
Throws:
EDAMUserException
EDAMNotFoundException
EDAMSystemException
TException
See Also:
NoteStore.Client#createSharedNotebook(String, com.evernote.edam.type.SharedNotebook)

updateSharedNotebook

public int updateSharedNotebook(SharedNotebook sharedNotebook)
                         throws EDAMUserException,
                                EDAMNotFoundException,
                                EDAMSystemException,
                                TException
Throws:
EDAMUserException
EDAMNotFoundException
EDAMSystemException
TException
See Also:
NoteStore.Client#updateSharedNotebook(String, com.evernote.edam.type.SharedNotebook)

sendMessageToSharedNotebookMembers

public int sendMessageToSharedNotebookMembers(String notebookGuid,
                                              String messageText,
                                              List<String> recipients)
                                       throws EDAMUserException,
                                              EDAMNotFoundException,
                                              EDAMSystemException,
                                              TException
Throws:
EDAMUserException
EDAMNotFoundException
EDAMSystemException
TException
See Also:
NoteStore.Client#sendMessageToSharedNotebookMembers(String, String, String, java.util.List)

listSharedNotebooks

public List<SharedNotebook> listSharedNotebooks()
                                         throws EDAMUserException,
                                                EDAMNotFoundException,
                                                EDAMSystemException,
                                                TException
Throws:
EDAMUserException
EDAMNotFoundException
EDAMSystemException
TException
See Also:
NoteStore.Client#listSharedNotebooks(String)

expungeSharedNotebooks

public int expungeSharedNotebooks(List<Long> sharedNotebookIds)
                           throws EDAMUserException,
                                  EDAMNotFoundException,
                                  EDAMSystemException,
                                  TException
Throws:
EDAMUserException
EDAMNotFoundException
EDAMSystemException
TException
See Also:
NoteStore.Client#expungeSharedNotebooks(String, java.util.List)

createLinkedNotebook

public LinkedNotebook createLinkedNotebook(LinkedNotebook linkedNotebook)
                                    throws EDAMUserException,
                                           EDAMNotFoundException,
                                           EDAMSystemException,
                                           TException
Throws:
EDAMUserException
EDAMNotFoundException
EDAMSystemException
TException
See Also:
NoteStore.Client#createLinkedNotebook(String, com.evernote.edam.type.LinkedNotebook)

updateLinkedNotebook

public int updateLinkedNotebook(LinkedNotebook linkedNotebook)
                         throws EDAMUserException,
                                EDAMNotFoundException,
                                EDAMSystemException,
                                TException
Throws:
EDAMUserException
EDAMNotFoundException
EDAMSystemException
TException
See Also:
NoteStore.Client#updateLinkedNotebook(String, com.evernote.edam.type.LinkedNotebook)

listLinkedNotebooks

public List<LinkedNotebook> listLinkedNotebooks()
                                         throws EDAMUserException,
                                                EDAMNotFoundException,
                                                EDAMSystemException,
                                                TException
Throws:
EDAMUserException
EDAMNotFoundException
EDAMSystemException
TException
See Also:
NoteStore.Client#listLinkedNotebooks(String)

expungeLinkedNotebook

public int expungeLinkedNotebook(String guid)
                          throws EDAMUserException,
                                 EDAMNotFoundException,
                                 EDAMSystemException,
                                 TException
Throws:
EDAMUserException
EDAMNotFoundException
EDAMSystemException
TException
See Also:
NoteStore.Client#expungeLinkedNotebook(String, String)

authenticateToSharedNotebook

public AuthenticationResult authenticateToSharedNotebook(String shareKey)
                                                  throws EDAMUserException,
                                                         EDAMNotFoundException,
                                                         EDAMSystemException,
                                                         TException
Throws:
EDAMUserException
EDAMNotFoundException
EDAMSystemException
TException
See Also:
NoteStore.Client#authenticateToSharedNotebook(String, String)

getSharedNotebookByAuth

public SharedNotebook getSharedNotebookByAuth()
                                       throws EDAMUserException,
                                              EDAMNotFoundException,
                                              EDAMSystemException,
                                              TException
Throws:
EDAMUserException
EDAMNotFoundException
EDAMSystemException
TException
See Also:
NoteStore.Client#getSharedNotebookByAuth(String)

emailNote

public void emailNote(NoteEmailParameters parameters)
               throws EDAMUserException,
                      EDAMNotFoundException,
                      EDAMSystemException,
                      TException
Throws:
EDAMUserException
EDAMNotFoundException
EDAMSystemException
TException
See Also:
NoteStore.Client#emailNote(String, com.evernote.edam.notestore.NoteEmailParameters)

shareNote

public String shareNote(String guid)
                 throws EDAMUserException,
                        EDAMNotFoundException,
                        EDAMSystemException,
                        TException
Throws:
EDAMUserException
EDAMNotFoundException
EDAMSystemException
TException
See Also:
NoteStore.Client#shareNote(String, String)

stopSharingNote

public void stopSharingNote(String guid)
                     throws EDAMUserException,
                            EDAMNotFoundException,
                            EDAMSystemException,
                            TException
Throws:
EDAMUserException
EDAMNotFoundException
EDAMSystemException
TException
See Also:
NoteStore.Client#stopSharingNote(String, String)

authenticateToSharedNote

public AuthenticationResult authenticateToSharedNote(String guid,
                                                     String noteKey,
                                                     String authenticationToken)
                                              throws EDAMUserException,
                                                     EDAMNotFoundException,
                                                     EDAMSystemException,
                                                     TException
Throws:
EDAMUserException
EDAMNotFoundException
EDAMSystemException
TException
See Also:
NoteStore.Client#authenticateToSharedNote(String, String)

findRelated

public RelatedResult findRelated(RelatedQuery query,
                                 RelatedResultSpec resultSpec)
                          throws EDAMUserException,
                                 EDAMSystemException,
                                 EDAMNotFoundException,
                                 TException
Throws:
EDAMUserException
EDAMSystemException
EDAMNotFoundException
TException
See Also:
NoteStore.Client#findRelated(String, com.evernote.edam.notestore.RelatedQuery, com.evernote.edam.notestore.RelatedResultSpec)

setSharedNotebookRecipientSettings

public void setSharedNotebookRecipientSettings(String authenticationToken,
                                               long sharedNotebookId,
                                               SharedNotebookRecipientSettings recipientSettings)
                                        throws EDAMUserException,
                                               EDAMNotFoundException,
                                               EDAMSystemException,
                                               TException
Throws:
EDAMUserException
EDAMNotFoundException
EDAMSystemException
TException
See Also:
NoteStore.Client#setSharedNotebookRecipientSettings(String, long, SharedNotebookRecipientSettings)


Copyright © 2013. All Rights Reserved.