org.springframework.social.evernote.api
Interface Evernote

All Superinterfaces:
org.springframework.social.ApiBinding
All Known Implementing Classes:
EvernoteTemplate

public interface Evernote
extends org.springframework.social.ApiBinding

Interface specifying basic set of operations to evernote.

This interface provides spring-social-evernote's core API for features, such as:

Implemented by EvernoteTemplate.

Author:
Tadaya Tsuyukubo

Method Summary
 com.evernote.clients.BusinessNoteStoreClient businessNoteStoreClient()
          Retrieve BusinessNoteStoreClient instance from underlying ClientFactory.
 BusinessNoteStoreOperations businessNoteStoreOperations()
          API for performing operations on BusinessNoteStoreClient.
 com.evernote.clients.ClientFactory clientFactory()
          Returns underlying ClientFactory instance.
 com.evernote.clients.LinkedNoteStoreClient linkedNoteStoreClient(com.evernote.edam.type.LinkedNotebook linkedNotebook)
          Retrieve LinkedNoteStoreClient instance from underlying ClientFactory.
 LinkedNoteStoreOperations linkedNoteStoreOperations(com.evernote.edam.type.LinkedNotebook linkedNotebook)
          API for performing operations on LinkedNoteStoreClient.
 com.evernote.clients.NoteStoreClient noteStoreClient()
          Retrieve NoteStoreClient instance from underlying ClientFactory.
 NoteStoreOperations noteStoreOperations()
          API for performing operations on NoteStoreClient.
 void setApplyNullSafe(boolean applyNullSafe)
          Set to false not to make a proxy for thrift object for null safe collections.
 com.evernote.clients.UserStoreClient userStoreClient()
          Retrieve UserStoreClient instance from underlying ClientFactory.
 UserStoreOperations userStoreOperations()
          API for performing operations on UserStoreClient.
 
Methods inherited from interface org.springframework.social.ApiBinding
isAuthorized
 

Method Detail

businessNoteStoreOperations

BusinessNoteStoreOperations businessNoteStoreOperations()
                                                        throws EvernoteException
API for performing operations on BusinessNoteStoreClient.

Returns:
operations for BusinessNoteStoreClient.
Throws:
EvernoteException - converted unchecked exception.

linkedNoteStoreOperations

LinkedNoteStoreOperations linkedNoteStoreOperations(com.evernote.edam.type.LinkedNotebook linkedNotebook)
                                                    throws EvernoteException
API for performing operations on LinkedNoteStoreClient.

Parameters:
linkedNotebook -
Returns:
operations for LinkedNoteStoreClient.
Throws:
EvernoteException - converted unchecked exception.

noteStoreOperations

NoteStoreOperations noteStoreOperations()
                                        throws EvernoteException
API for performing operations on NoteStoreClient.

Returns:
operations for NoteStoreClient.
Throws:
EvernoteException - converted unchecked exception.

userStoreOperations

UserStoreOperations userStoreOperations()
                                        throws EvernoteException
API for performing operations on UserStoreClient.

Returns:
operations for UserStoreClient.
Throws:
EvernoteException - converted unchecked exception.

clientFactory

com.evernote.clients.ClientFactory clientFactory()
Returns underlying ClientFactory instance.

Returns:
ClientFactory instance.

businessNoteStoreClient

com.evernote.clients.BusinessNoteStoreClient businessNoteStoreClient()
                                                                     throws EvernoteException
Retrieve BusinessNoteStoreClient instance from underlying ClientFactory.

When checked exception has thrown while creating BusinessNoteStoreClient, it will be converted to EvernoteException which is an unchecked exception.

Returns:
BusinessNoteStoreClient instance.
Throws:
EvernoteException - encapsulating thrown checked exception.

linkedNoteStoreClient

com.evernote.clients.LinkedNoteStoreClient linkedNoteStoreClient(com.evernote.edam.type.LinkedNotebook linkedNotebook)
                                                                 throws EvernoteException
Retrieve LinkedNoteStoreClient instance from underlying ClientFactory.

When checked exception has thrown while creating LinkedNoteStoreClient, it will be converted to EvernoteException which is an unchecked exception.

Returns:
LinkedNoteStoreClient instance.
Throws:
EvernoteException - encapsulating thrown checked exception.

noteStoreClient

com.evernote.clients.NoteStoreClient noteStoreClient()
                                                     throws EvernoteException
Retrieve NoteStoreClient instance from underlying ClientFactory.

When checked exception has thrown while creating NoteStoreClient, it will be converted to EvernoteException which is an unchecked exception.

Returns:
NoteStoreClient instance.
Throws:
EvernoteException - encapsulating thrown checked exception.

userStoreClient

com.evernote.clients.UserStoreClient userStoreClient()
                                                     throws EvernoteException
Retrieve UserStoreClient instance from underlying ClientFactory.

When checked exception has thrown while creating UserStoreClient, it will be converted to EvernoteException which is an unchecked exception.

Returns:
UserStoreClient instance.
Throws:
EvernoteException - encapsulating thrown checked exception.

setApplyNullSafe

void setApplyNullSafe(boolean applyNullSafe)
Set to false not to make a proxy for thrift object for null safe collections.

Default is true.

Parameters:
applyNullSafe - set false to disable ThriftWrapper


Copyright © 2014. All Rights Reserved.