com.evernote.clients
Class BusinessNoteStoreClient
java.lang.Object
com.evernote.clients.LinkedNoteStoreClient
com.evernote.clients.BusinessNoteStoreClient
public class BusinessNoteStoreClient
- extends LinkedNoteStoreClient
This is a wrapper/helper class that manages the connection to a business
notestore. It maintains two AsyncLinkedNoteStoreClient objects, one
points to the users personal store and the other to the business shard.
These helper methods make network calls across both shards to return the
appropriate data.
- Author:
- @tylersmithnet, kentaro suzuki
createNotebook
public LinkedNotebook createNotebook(Notebook notebook)
throws TException,
EDAMUserException,
EDAMSystemException,
EDAMNotFoundException
- Create Linked Notebook from a Notebook
- Returns:
LinkedNotebook with guid from server
- Throws:
TException
EDAMUserException
EDAMSystemException
EDAMNotFoundException
listNotebooks
public List<LinkedNotebook> listNotebooks()
throws EDAMUserException,
EDAMSystemException,
TException,
EDAMNotFoundException
- Helper method to list business notebooks synchronously
- Overrides:
listNotebooks in class LinkedNoteStoreClient
- Returns:
-
- Throws:
EDAMUserException
EDAMSystemException
TException
EDAMNotFoundException- See Also:
com.evernote.edam.notestore.NoteStore.Client#listLinkedNotebooks(String)}
Copyright © 2013. All Rights Reserved.