/** * @see NoteStore.Client#getSyncState(String) */ public SyncState getSyncState() throws EDAMUserException, EDAMSystemException, TException { return getClient().getSyncState(getToken()); }
/** * @see NoteStore.Client#getFilteredSyncChunk(String, int, int, * com.evernote.edam.notestore.SyncChunkFilter) */ public SyncChunk getFilteredSyncChunk(int afterUSN, int maxEntries, SyncChunkFilter filter) throws EDAMUserException, EDAMSystemException, TException { return getClient().getFilteredSyncChunk(getToken(), afterUSN, maxEntries, filter); }
/** * @see NoteStore.Client#getDefaultNotebook(String) */ public Notebook getDefaultNotebook() throws EDAMUserException, EDAMSystemException, TException { return getClient().getDefaultNotebook(getToken()); }
/** * @see NoteStore.Client#updateTag(String, com.evernote.edam.type.Tag) */ public int updateTag(Tag tag) throws EDAMUserException, EDAMSystemException, EDAMNotFoundException, TException { return getClient().updateTag(getToken(), tag); }
/** * @see NoteStore.Client#listSearches(String) */ public List<SavedSearch> listSearches() throws EDAMUserException, EDAMSystemException, TException { return getClient().listSearches(getToken()); }
/** * @see NoteStore.Client#createSearch(String, * com.evernote.edam.type.SavedSearch) */ public SavedSearch createSearch(SavedSearch search) throws EDAMUserException, EDAMSystemException, TException { return getClient().createSearch(getToken(), search); }
/** * @see NoteStore.Client#findNotes(String, * com.evernote.edam.notestore.NoteFilter, int, int) */ public NoteList findNotes(NoteFilter filter, int offset, int maxNotes) throws EDAMUserException, EDAMSystemException, EDAMNotFoundException, TException { return getClient().findNotes(getToken(), filter, offset, maxNotes); }
/** * @see NoteStore.Client#findNoteCounts(String, * com.evernote.edam.notestore.NoteFilter, boolean) */ public NoteCollectionCounts findNoteCounts(NoteFilter filter, boolean withTrash) throws EDAMUserException, EDAMSystemException, EDAMNotFoundException, TException { return getClient().findNoteCounts(getToken(), filter, withTrash); }
/** * @see NoteStore.Client#deleteNote(String, String) */ public int deleteNote(String guid) throws EDAMUserException, EDAMSystemException, EDAMNotFoundException, TException { return getClient().deleteNote(getToken(), guid); }
/** * @see NoteStore.Client#listNoteVersions(String, String) */ public List<NoteVersionId> listNoteVersions(String noteGuid) throws EDAMUserException, EDAMSystemException, EDAMNotFoundException, TException { return getClient().listNoteVersions(getToken(), noteGuid); }
/** * @see NoteStore.Client#getResource(String, String, boolean, boolean, * boolean, boolean) */ public Resource getResource(String guid, boolean withData, boolean withRecognition, boolean withAttributes, boolean withAlternateData) throws EDAMUserException, EDAMSystemException, EDAMNotFoundException, TException { return getClient().getResource(getToken(), guid, withData, withRecognition, withAttributes, withAlternateData); }
/** * @see NoteStore.Client#updateResource(String, * com.evernote.edam.type.Resource) */ public int updateResource(Resource resource) throws EDAMUserException, EDAMSystemException, EDAMNotFoundException, TException { return getClient().updateResource(getToken(), resource); }
/** * @see NoteStore.Client#getResourceByHash(String, String, byte[], boolean, * boolean, boolean) */ public Resource getResourceByHash(String noteGuid, byte[] contentHash, boolean withData, boolean withRecognition, boolean withAlternateData) throws EDAMUserException, EDAMSystemException, EDAMNotFoundException, TException { return getClient().getResourceByHash(getToken(), noteGuid, contentHash, withData, withRecognition, withAlternateData); }
/** * @see NoteStore.Client#createSharedNotebook(String, * com.evernote.edam.type.SharedNotebook) */ public SharedNotebook createSharedNotebook(SharedNotebook sharedNotebook) throws EDAMUserException, EDAMNotFoundException, EDAMSystemException, TException { return getClient().createSharedNotebook(getToken(), sharedNotebook); }
/** * @see NoteStore.Client#updateSharedNotebook(String, * com.evernote.edam.type.SharedNotebook) */ public int updateSharedNotebook(SharedNotebook sharedNotebook) throws EDAMUserException, EDAMNotFoundException, EDAMSystemException, TException { return getClient().updateSharedNotebook(getToken(), sharedNotebook); }
/** * @see NoteStore.Client#getNotebook(String, String) */ public Notebook getNotebook(String guid) throws EDAMUserException, EDAMSystemException, EDAMNotFoundException, TException { return getClient().getNotebook(getToken(), guid); }
/** * @see NoteStore.Client#createNotebook(String, * com.evernote.edam.type.Notebook) */ public Notebook createNotebook(Notebook notebook) throws EDAMUserException, EDAMSystemException, TException { return getClient().createNotebook(getToken(), notebook); }
/** * @see NoteStore.Client#expungeNotes(String, java.util.List) */ public int expungeNotes(List<String> noteGuids) throws EDAMUserException, EDAMSystemException, EDAMNotFoundException, TException { return getClient().expungeNotes(getToken(), noteGuids); }
/** * @see NoteStore.Client#getResourceData(String, String) */ public byte[] getResourceData(String guid) throws EDAMUserException, EDAMSystemException, EDAMNotFoundException, TException { return getClient().getResourceData(getToken(), guid); }
/** * @see NoteStore.Client#createLinkedNotebook(String, * com.evernote.edam.type.LinkedNotebook) */ public LinkedNotebook createLinkedNotebook(LinkedNotebook linkedNotebook) throws EDAMUserException, EDAMNotFoundException, EDAMSystemException, TException { return getClient().createLinkedNotebook(getToken(), linkedNotebook); }