com.evernote.edam.notestore
Class NoteStore.AsyncClient
java.lang.Object
TAsyncClient
com.evernote.edam.notestore.NoteStore.AsyncClient
- All Implemented Interfaces:
- NoteStore.AsyncIface
- Enclosing class:
- NoteStore
public static class NoteStore.AsyncClient
- extends TAsyncClient
- implements NoteStore.AsyncIface
Constructor Summary |
NoteStore.AsyncClient(TProtocolFactory protocolFactory,
TAsyncClientManager clientManager,
TNonblockingTransport transport)
|
Method Summary |
void |
authenticateToSharedNote(java.lang.String guid,
java.lang.String noteKey,
resultHandler)
|
void |
authenticateToSharedNotebook(java.lang.String shareKey,
java.lang.String authenticationToken,
resultHandler)
|
void |
copyNote(java.lang.String authenticationToken,
java.lang.String noteGuid,
java.lang.String toNotebookGuid,
resultHandler)
|
void |
createLinkedNotebook(java.lang.String authenticationToken,
LinkedNotebook linkedNotebook,
resultHandler)
|
void |
createNote(java.lang.String authenticationToken,
Note note,
resultHandler)
|
void |
createNotebook(java.lang.String authenticationToken,
Notebook notebook,
resultHandler)
|
void |
createSearch(java.lang.String authenticationToken,
SavedSearch search,
resultHandler)
|
void |
createSharedNotebook(java.lang.String authenticationToken,
SharedNotebook sharedNotebook,
resultHandler)
|
void |
createTag(java.lang.String authenticationToken,
Tag tag,
resultHandler)
|
void |
deleteNote(java.lang.String authenticationToken,
java.lang.String guid,
resultHandler)
|
void |
emailNote(java.lang.String authenticationToken,
NoteEmailParameters parameters,
resultHandler)
|
void |
expungeInactiveNotes(java.lang.String authenticationToken,
resultHandler)
|
void |
expungeLinkedNotebook(java.lang.String authenticationToken,
java.lang.String guid,
resultHandler)
|
void |
expungeNote(java.lang.String authenticationToken,
java.lang.String guid,
resultHandler)
|
void |
expungeNotebook(java.lang.String authenticationToken,
java.lang.String guid,
resultHandler)
|
void |
expungeNotes(java.lang.String authenticationToken,
java.util.List<java.lang.String> noteGuids,
resultHandler)
|
void |
expungeSearch(java.lang.String authenticationToken,
java.lang.String guid,
resultHandler)
|
void |
expungeSharedNotebooks(java.lang.String authenticationToken,
java.util.List<java.lang.Long> sharedNotebookIds,
resultHandler)
|
void |
expungeTag(java.lang.String authenticationToken,
java.lang.String guid,
resultHandler)
|
void |
findNoteCounts(java.lang.String authenticationToken,
NoteFilter filter,
boolean withTrash,
resultHandler)
|
void |
findNoteOffset(java.lang.String authenticationToken,
NoteFilter filter,
java.lang.String guid,
resultHandler)
|
void |
findNotes(java.lang.String authenticationToken,
NoteFilter filter,
int offset,
int maxNotes,
resultHandler)
|
void |
findNotesMetadata(java.lang.String authenticationToken,
NoteFilter filter,
int offset,
int maxNotes,
NotesMetadataResultSpec resultSpec,
resultHandler)
|
void |
getAccountSize(java.lang.String authenticationToken,
resultHandler)
|
void |
getAds(java.lang.String authenticationToken,
AdParameters adParameters,
resultHandler)
|
void |
getDefaultNotebook(java.lang.String authenticationToken,
resultHandler)
|
void |
getFilteredSyncChunk(java.lang.String authenticationToken,
int afterUSN,
int maxEntries,
SyncChunkFilter filter,
resultHandler)
|
void |
getLinkedNotebookSyncChunk(java.lang.String authenticationToken,
LinkedNotebook linkedNotebook,
int afterUSN,
int maxEntries,
boolean fullSyncOnly,
resultHandler)
|
void |
getLinkedNotebookSyncState(java.lang.String authenticationToken,
LinkedNotebook linkedNotebook,
resultHandler)
|
void |
getNote(java.lang.String authenticationToken,
java.lang.String guid,
boolean withContent,
boolean withResourcesData,
boolean withResourcesRecognition,
boolean withResourcesAlternateData,
resultHandler)
|
void |
getNotebook(java.lang.String authenticationToken,
java.lang.String guid,
resultHandler)
|
void |
getNoteContent(java.lang.String authenticationToken,
java.lang.String guid,
resultHandler)
|
void |
getNoteSearchText(java.lang.String authenticationToken,
java.lang.String guid,
boolean noteOnly,
boolean tokenizeForIndexing,
resultHandler)
|
void |
getNoteTagNames(java.lang.String authenticationToken,
java.lang.String guid,
resultHandler)
|
void |
getNoteVersion(java.lang.String authenticationToken,
java.lang.String noteGuid,
int updateSequenceNum,
boolean withResourcesData,
boolean withResourcesRecognition,
boolean withResourcesAlternateData,
resultHandler)
|
void |
getPublicNotebook(int userId,
java.lang.String publicUri,
resultHandler)
|
void |
getRandomAd(java.lang.String authenticationToken,
AdParameters adParameters,
resultHandler)
|
void |
getResource(java.lang.String authenticationToken,
java.lang.String guid,
boolean withData,
boolean withRecognition,
boolean withAttributes,
boolean withAlternateData,
resultHandler)
|
void |
getResourceAlternateData(java.lang.String authenticationToken,
java.lang.String guid,
resultHandler)
|
void |
getResourceAttributes(java.lang.String authenticationToken,
java.lang.String guid,
resultHandler)
|
void |
getResourceByHash(java.lang.String authenticationToken,
java.lang.String noteGuid,
byte[] contentHash,
boolean withData,
boolean withRecognition,
boolean withAlternateData,
resultHandler)
|
void |
getResourceData(java.lang.String authenticationToken,
java.lang.String guid,
resultHandler)
|
void |
getResourceRecognition(java.lang.String authenticationToken,
java.lang.String guid,
resultHandler)
|
void |
getResourceSearchText(java.lang.String authenticationToken,
java.lang.String guid,
resultHandler)
|
void |
getSearch(java.lang.String authenticationToken,
java.lang.String guid,
resultHandler)
|
void |
getSharedNotebookByAuth(java.lang.String authenticationToken,
resultHandler)
|
void |
getSyncChunk(java.lang.String authenticationToken,
int afterUSN,
int maxEntries,
boolean fullSyncOnly,
resultHandler)
|
void |
getSyncState(java.lang.String authenticationToken,
resultHandler)
|
void |
getTag(java.lang.String authenticationToken,
java.lang.String guid,
resultHandler)
|
void |
listLinkedNotebooks(java.lang.String authenticationToken,
resultHandler)
|
void |
listNotebooks(java.lang.String authenticationToken,
resultHandler)
|
void |
listNoteVersions(java.lang.String authenticationToken,
java.lang.String noteGuid,
resultHandler)
|
void |
listSearches(java.lang.String authenticationToken,
resultHandler)
|
void |
listSharedNotebooks(java.lang.String authenticationToken,
resultHandler)
|
void |
listTags(java.lang.String authenticationToken,
resultHandler)
|
void |
listTagsByNotebook(java.lang.String authenticationToken,
java.lang.String notebookGuid,
resultHandler)
|
void |
shareNote(java.lang.String authenticationToken,
java.lang.String guid,
resultHandler)
|
void |
stopSharingNote(java.lang.String authenticationToken,
java.lang.String guid,
resultHandler)
|
void |
untagAll(java.lang.String authenticationToken,
java.lang.String guid,
resultHandler)
|
void |
updateLinkedNotebook(java.lang.String authenticationToken,
LinkedNotebook linkedNotebook,
resultHandler)
|
void |
updateNote(java.lang.String authenticationToken,
Note note,
resultHandler)
|
void |
updateNotebook(java.lang.String authenticationToken,
Notebook notebook,
resultHandler)
|
void |
updateResource(java.lang.String authenticationToken,
Resource resource,
resultHandler)
|
void |
updateSearch(java.lang.String authenticationToken,
SavedSearch search,
resultHandler)
|
void |
updateTag(java.lang.String authenticationToken,
Tag tag,
resultHandler)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoteStore.AsyncClient
public NoteStore.AsyncClient(TProtocolFactory protocolFactory,
TAsyncClientManager clientManager,
TNonblockingTransport transport)
getSyncState
public void getSyncState(java.lang.String authenticationToken,
resultHandler)
throws TException
- Specified by:
getSyncState
in interface NoteStore.AsyncIface
- Throws:
TException
getSyncChunk
public void getSyncChunk(java.lang.String authenticationToken,
int afterUSN,
int maxEntries,
boolean fullSyncOnly,
resultHandler)
throws TException
- Specified by:
getSyncChunk
in interface NoteStore.AsyncIface
- Throws:
TException
getFilteredSyncChunk
public void getFilteredSyncChunk(java.lang.String authenticationToken,
int afterUSN,
int maxEntries,
SyncChunkFilter filter,
resultHandler)
throws TException
- Specified by:
getFilteredSyncChunk
in interface NoteStore.AsyncIface
- Throws:
TException
getLinkedNotebookSyncState
public void getLinkedNotebookSyncState(java.lang.String authenticationToken,
LinkedNotebook linkedNotebook,
resultHandler)
throws TException
- Specified by:
getLinkedNotebookSyncState
in interface NoteStore.AsyncIface
- Throws:
TException
getLinkedNotebookSyncChunk
public void getLinkedNotebookSyncChunk(java.lang.String authenticationToken,
LinkedNotebook linkedNotebook,
int afterUSN,
int maxEntries,
boolean fullSyncOnly,
resultHandler)
throws TException
- Specified by:
getLinkedNotebookSyncChunk
in interface NoteStore.AsyncIface
- Throws:
TException
listNotebooks
public void listNotebooks(java.lang.String authenticationToken,
resultHandler)
throws TException
- Specified by:
listNotebooks
in interface NoteStore.AsyncIface
- Throws:
TException
getNotebook
public void getNotebook(java.lang.String authenticationToken,
java.lang.String guid,
resultHandler)
throws TException
- Specified by:
getNotebook
in interface NoteStore.AsyncIface
- Throws:
TException
getDefaultNotebook
public void getDefaultNotebook(java.lang.String authenticationToken,
resultHandler)
throws TException
- Specified by:
getDefaultNotebook
in interface NoteStore.AsyncIface
- Throws:
TException
createNotebook
public void createNotebook(java.lang.String authenticationToken,
Notebook notebook,
resultHandler)
throws TException
- Specified by:
createNotebook
in interface NoteStore.AsyncIface
- Throws:
TException
updateNotebook
public void updateNotebook(java.lang.String authenticationToken,
Notebook notebook,
resultHandler)
throws TException
- Specified by:
updateNotebook
in interface NoteStore.AsyncIface
- Throws:
TException
expungeNotebook
public void expungeNotebook(java.lang.String authenticationToken,
java.lang.String guid,
resultHandler)
throws TException
- Specified by:
expungeNotebook
in interface NoteStore.AsyncIface
- Throws:
TException
listTags
public void listTags(java.lang.String authenticationToken,
resultHandler)
throws TException
- Specified by:
listTags
in interface NoteStore.AsyncIface
- Throws:
TException
listTagsByNotebook
public void listTagsByNotebook(java.lang.String authenticationToken,
java.lang.String notebookGuid,
resultHandler)
throws TException
- Specified by:
listTagsByNotebook
in interface NoteStore.AsyncIface
- Throws:
TException
getTag
public void getTag(java.lang.String authenticationToken,
java.lang.String guid,
resultHandler)
throws TException
- Specified by:
getTag
in interface NoteStore.AsyncIface
- Throws:
TException
createTag
public void createTag(java.lang.String authenticationToken,
Tag tag,
resultHandler)
throws TException
- Specified by:
createTag
in interface NoteStore.AsyncIface
- Throws:
TException
updateTag
public void updateTag(java.lang.String authenticationToken,
Tag tag,
resultHandler)
throws TException
- Specified by:
updateTag
in interface NoteStore.AsyncIface
- Throws:
TException
untagAll
public void untagAll(java.lang.String authenticationToken,
java.lang.String guid,
resultHandler)
throws TException
- Specified by:
untagAll
in interface NoteStore.AsyncIface
- Throws:
TException
expungeTag
public void expungeTag(java.lang.String authenticationToken,
java.lang.String guid,
resultHandler)
throws TException
- Specified by:
expungeTag
in interface NoteStore.AsyncIface
- Throws:
TException
listSearches
public void listSearches(java.lang.String authenticationToken,
resultHandler)
throws TException
- Specified by:
listSearches
in interface NoteStore.AsyncIface
- Throws:
TException
getSearch
public void getSearch(java.lang.String authenticationToken,
java.lang.String guid,
resultHandler)
throws TException
- Specified by:
getSearch
in interface NoteStore.AsyncIface
- Throws:
TException
createSearch
public void createSearch(java.lang.String authenticationToken,
SavedSearch search,
resultHandler)
throws TException
- Specified by:
createSearch
in interface NoteStore.AsyncIface
- Throws:
TException
updateSearch
public void updateSearch(java.lang.String authenticationToken,
SavedSearch search,
resultHandler)
throws TException
- Specified by:
updateSearch
in interface NoteStore.AsyncIface
- Throws:
TException
expungeSearch
public void expungeSearch(java.lang.String authenticationToken,
java.lang.String guid,
resultHandler)
throws TException
- Specified by:
expungeSearch
in interface NoteStore.AsyncIface
- Throws:
TException
findNotes
public void findNotes(java.lang.String authenticationToken,
NoteFilter filter,
int offset,
int maxNotes,
resultHandler)
throws TException
- Specified by:
findNotes
in interface NoteStore.AsyncIface
- Throws:
TException
findNoteOffset
public void findNoteOffset(java.lang.String authenticationToken,
NoteFilter filter,
java.lang.String guid,
resultHandler)
throws TException
- Specified by:
findNoteOffset
in interface NoteStore.AsyncIface
- Throws:
TException
findNotesMetadata
public void findNotesMetadata(java.lang.String authenticationToken,
NoteFilter filter,
int offset,
int maxNotes,
NotesMetadataResultSpec resultSpec,
resultHandler)
throws TException
- Specified by:
findNotesMetadata
in interface NoteStore.AsyncIface
- Throws:
TException
findNoteCounts
public void findNoteCounts(java.lang.String authenticationToken,
NoteFilter filter,
boolean withTrash,
resultHandler)
throws TException
- Specified by:
findNoteCounts
in interface NoteStore.AsyncIface
- Throws:
TException
getNote
public void getNote(java.lang.String authenticationToken,
java.lang.String guid,
boolean withContent,
boolean withResourcesData,
boolean withResourcesRecognition,
boolean withResourcesAlternateData,
resultHandler)
throws TException
- Specified by:
getNote
in interface NoteStore.AsyncIface
- Throws:
TException
getNoteContent
public void getNoteContent(java.lang.String authenticationToken,
java.lang.String guid,
resultHandler)
throws TException
- Specified by:
getNoteContent
in interface NoteStore.AsyncIface
- Throws:
TException
getNoteSearchText
public void getNoteSearchText(java.lang.String authenticationToken,
java.lang.String guid,
boolean noteOnly,
boolean tokenizeForIndexing,
resultHandler)
throws TException
- Specified by:
getNoteSearchText
in interface NoteStore.AsyncIface
- Throws:
TException
getResourceSearchText
public void getResourceSearchText(java.lang.String authenticationToken,
java.lang.String guid,
resultHandler)
throws TException
- Specified by:
getResourceSearchText
in interface NoteStore.AsyncIface
- Throws:
TException
getNoteTagNames
public void getNoteTagNames(java.lang.String authenticationToken,
java.lang.String guid,
resultHandler)
throws TException
- Specified by:
getNoteTagNames
in interface NoteStore.AsyncIface
- Throws:
TException
createNote
public void createNote(java.lang.String authenticationToken,
Note note,
resultHandler)
throws TException
- Specified by:
createNote
in interface NoteStore.AsyncIface
- Throws:
TException
updateNote
public void updateNote(java.lang.String authenticationToken,
Note note,
resultHandler)
throws TException
- Specified by:
updateNote
in interface NoteStore.AsyncIface
- Throws:
TException
deleteNote
public void deleteNote(java.lang.String authenticationToken,
java.lang.String guid,
resultHandler)
throws TException
- Specified by:
deleteNote
in interface NoteStore.AsyncIface
- Throws:
TException
expungeNote
public void expungeNote(java.lang.String authenticationToken,
java.lang.String guid,
resultHandler)
throws TException
- Specified by:
expungeNote
in interface NoteStore.AsyncIface
- Throws:
TException
expungeNotes
public void expungeNotes(java.lang.String authenticationToken,
java.util.List<java.lang.String> noteGuids,
resultHandler)
throws TException
- Specified by:
expungeNotes
in interface NoteStore.AsyncIface
- Throws:
TException
expungeInactiveNotes
public void expungeInactiveNotes(java.lang.String authenticationToken,
resultHandler)
throws TException
- Specified by:
expungeInactiveNotes
in interface NoteStore.AsyncIface
- Throws:
TException
copyNote
public void copyNote(java.lang.String authenticationToken,
java.lang.String noteGuid,
java.lang.String toNotebookGuid,
resultHandler)
throws TException
- Specified by:
copyNote
in interface NoteStore.AsyncIface
- Throws:
TException
listNoteVersions
public void listNoteVersions(java.lang.String authenticationToken,
java.lang.String noteGuid,
resultHandler)
throws TException
- Specified by:
listNoteVersions
in interface NoteStore.AsyncIface
- Throws:
TException
getNoteVersion
public void getNoteVersion(java.lang.String authenticationToken,
java.lang.String noteGuid,
int updateSequenceNum,
boolean withResourcesData,
boolean withResourcesRecognition,
boolean withResourcesAlternateData,
resultHandler)
throws TException
- Specified by:
getNoteVersion
in interface NoteStore.AsyncIface
- Throws:
TException
getResource
public void getResource(java.lang.String authenticationToken,
java.lang.String guid,
boolean withData,
boolean withRecognition,
boolean withAttributes,
boolean withAlternateData,
resultHandler)
throws TException
- Specified by:
getResource
in interface NoteStore.AsyncIface
- Throws:
TException
updateResource
public void updateResource(java.lang.String authenticationToken,
Resource resource,
resultHandler)
throws TException
- Specified by:
updateResource
in interface NoteStore.AsyncIface
- Throws:
TException
getResourceData
public void getResourceData(java.lang.String authenticationToken,
java.lang.String guid,
resultHandler)
throws TException
- Specified by:
getResourceData
in interface NoteStore.AsyncIface
- Throws:
TException
getResourceByHash
public void getResourceByHash(java.lang.String authenticationToken,
java.lang.String noteGuid,
byte[] contentHash,
boolean withData,
boolean withRecognition,
boolean withAlternateData,
resultHandler)
throws TException
- Specified by:
getResourceByHash
in interface NoteStore.AsyncIface
- Throws:
TException
getResourceRecognition
public void getResourceRecognition(java.lang.String authenticationToken,
java.lang.String guid,
resultHandler)
throws TException
- Specified by:
getResourceRecognition
in interface NoteStore.AsyncIface
- Throws:
TException
getResourceAlternateData
public void getResourceAlternateData(java.lang.String authenticationToken,
java.lang.String guid,
resultHandler)
throws TException
- Specified by:
getResourceAlternateData
in interface NoteStore.AsyncIface
- Throws:
TException
getResourceAttributes
public void getResourceAttributes(java.lang.String authenticationToken,
java.lang.String guid,
resultHandler)
throws TException
- Specified by:
getResourceAttributes
in interface NoteStore.AsyncIface
- Throws:
TException
getAccountSize
public void getAccountSize(java.lang.String authenticationToken,
resultHandler)
throws TException
- Specified by:
getAccountSize
in interface NoteStore.AsyncIface
- Throws:
TException
getAds
public void getAds(java.lang.String authenticationToken,
AdParameters adParameters,
resultHandler)
throws TException
- Specified by:
getAds
in interface NoteStore.AsyncIface
- Throws:
TException
getRandomAd
public void getRandomAd(java.lang.String authenticationToken,
AdParameters adParameters,
resultHandler)
throws TException
- Specified by:
getRandomAd
in interface NoteStore.AsyncIface
- Throws:
TException
getPublicNotebook
public void getPublicNotebook(int userId,
java.lang.String publicUri,
resultHandler)
throws TException
- Specified by:
getPublicNotebook
in interface NoteStore.AsyncIface
- Throws:
TException
createSharedNotebook
public void createSharedNotebook(java.lang.String authenticationToken,
SharedNotebook sharedNotebook,
resultHandler)
throws TException
- Specified by:
createSharedNotebook
in interface NoteStore.AsyncIface
- Throws:
TException
listSharedNotebooks
public void listSharedNotebooks(java.lang.String authenticationToken,
resultHandler)
throws TException
- Specified by:
listSharedNotebooks
in interface NoteStore.AsyncIface
- Throws:
TException
expungeSharedNotebooks
public void expungeSharedNotebooks(java.lang.String authenticationToken,
java.util.List<java.lang.Long> sharedNotebookIds,
resultHandler)
throws TException
- Specified by:
expungeSharedNotebooks
in interface NoteStore.AsyncIface
- Throws:
TException
createLinkedNotebook
public void createLinkedNotebook(java.lang.String authenticationToken,
LinkedNotebook linkedNotebook,
resultHandler)
throws TException
- Specified by:
createLinkedNotebook
in interface NoteStore.AsyncIface
- Throws:
TException
updateLinkedNotebook
public void updateLinkedNotebook(java.lang.String authenticationToken,
LinkedNotebook linkedNotebook,
resultHandler)
throws TException
- Specified by:
updateLinkedNotebook
in interface NoteStore.AsyncIface
- Throws:
TException
listLinkedNotebooks
public void listLinkedNotebooks(java.lang.String authenticationToken,
resultHandler)
throws TException
- Specified by:
listLinkedNotebooks
in interface NoteStore.AsyncIface
- Throws:
TException
expungeLinkedNotebook
public void expungeLinkedNotebook(java.lang.String authenticationToken,
java.lang.String guid,
resultHandler)
throws TException
- Specified by:
expungeLinkedNotebook
in interface NoteStore.AsyncIface
- Throws:
TException
authenticateToSharedNotebook
public void authenticateToSharedNotebook(java.lang.String shareKey,
java.lang.String authenticationToken,
resultHandler)
throws TException
- Specified by:
authenticateToSharedNotebook
in interface NoteStore.AsyncIface
- Throws:
TException
getSharedNotebookByAuth
public void getSharedNotebookByAuth(java.lang.String authenticationToken,
resultHandler)
throws TException
- Specified by:
getSharedNotebookByAuth
in interface NoteStore.AsyncIface
- Throws:
TException
emailNote
public void emailNote(java.lang.String authenticationToken,
NoteEmailParameters parameters,
resultHandler)
throws TException
- Specified by:
emailNote
in interface NoteStore.AsyncIface
- Throws:
TException
shareNote
public void shareNote(java.lang.String authenticationToken,
java.lang.String guid,
resultHandler)
throws TException
- Specified by:
shareNote
in interface NoteStore.AsyncIface
- Throws:
TException
stopSharingNote
public void stopSharingNote(java.lang.String authenticationToken,
java.lang.String guid,
resultHandler)
throws TException
- Specified by:
stopSharingNote
in interface NoteStore.AsyncIface
- Throws:
TException
authenticateToSharedNote
public void authenticateToSharedNote(java.lang.String guid,
java.lang.String noteKey,
resultHandler)
throws TException
- Specified by:
authenticateToSharedNote
in interface NoteStore.AsyncIface
- Throws:
TException