com.evernote.clients
Class BusinessNoteStoreClient

java.lang.Object
  extended by com.evernote.clients.LinkedNoteStoreClient
      extended by 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

Method Summary
 LinkedNotebook createNotebook(Notebook notebook)
          Create Linked Notebook from a Notebook
 List<LinkedNotebook> listNotebooks()
          Helper method to list business notebooks synchronously
 
Methods inherited from class com.evernote.clients.LinkedNoteStoreClient
createNote, getClient, getCorrespondingNotebook, isNotebookWritable
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.