public class

AsyncBusinessNoteStoreClient

extends AsyncLinkedNoteStoreClient
java.lang.Object
   ↳ com.evernote.client.android.AsyncLinkedNoteStoreClient
     ↳ com.evernote.client.android.AsyncBusinessNoteStoreClient

Class Overview

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.

Summary

Public Methods
Note createNote(Note note, LinkedNotebook linkedNotebook)
Helper method to create a note synchronously in a business notebook@return
LinkedNotebook createNotebook(Notebook notebook)
Create Business Notebook from a Notebook Synchronous call
int deleteNotebook(LinkedNotebook linkedNotebook)
Providing a LinkedNotebook referencing a Business notebook, perform a delete Synchronous call
Notebook getCorrespondingNotebook(LinkedNotebook linkedNotebook)
Will return the Notebook associated with the LinkedNotebook from the business account Synchronous call
List<LinkedNotebook> listNotebooks()
Helper method to list business notebooks synchronously@return
[Expand]
Inherited Methods
From class com.evernote.client.android.AsyncLinkedNoteStoreClient
From class java.lang.Object

Public Methods

public Note createNote (Note note, LinkedNotebook linkedNotebook)

Helper method to create a note synchronously in a business notebook@return

Throws
com.evernote.edam.error.EDAMUserException
com.evernote.edam.error.EDAMSystemException
com.evernote.thrift.TException
EDAMNotFoundException
EDAMUserException
EDAMSystemException
TException

public LinkedNotebook createNotebook (Notebook notebook)

Create Business Notebook from a Notebook Synchronous call

Returns
  • LinkedNotebook with guid from server
Throws
TException
EDAMUserException
EDAMSystemException
EDAMNotFoundException

public int deleteNotebook (LinkedNotebook linkedNotebook)

Providing a LinkedNotebook referencing a Business notebook, perform a delete Synchronous call

Returns
  • guid of notebook deleted
Throws
TException
EDAMUserException
EDAMSystemException
EDAMNotFoundException

public Notebook getCorrespondingNotebook (LinkedNotebook linkedNotebook)

Will return the Notebook associated with the LinkedNotebook from the business account Synchronous call

Throws
TException
EDAMUserException
EDAMSystemException
EDAMNotFoundException

public List<LinkedNotebook> listNotebooks ()

Helper method to list business notebooks synchronously@return

Throws
EDAMUserException
EDAMSystemException
TException
EDAMNotFoundException
EDAMUserException
EDAMSystemException
TException