org.springframework.social.evernote.api
Interface UserStoreOperations

All Superinterfaces:
StoreOperations

public interface UserStoreOperations
extends StoreOperations

Interface specifying a basic of UserStoreClient operations.

Author:
Tadaya Tsuyukubo

Method Summary
 com.evernote.edam.userstore.AuthenticationResult authenticate(String username, String password, String consumerKey, String consumerSecret, boolean supportsTwoFactor)
          Equivalent to UserStoreClient.authenticate(String, String, String, String, boolean).
 com.evernote.edam.userstore.AuthenticationResult authenticateLongSession(String username, String password, String consumerKey, String consumerSecret, String deviceIdentifier, String deviceDescription, boolean supportsTwoFactor)
          Equivalent to UserStoreClient.authenticateLongSession(String, String, String, String, String, String, boolean).
 com.evernote.edam.userstore.AuthenticationResult authenticateToBusiness()
          Equivalent to UserStoreClient.authenticateToBusiness().
 boolean checkVersion(String clientName, short edamVersionMajor, short edamVersionMinor)
          Equivalent to UserStoreClient.checkVersion(String, short, short).
 void completeTwoFactorAuthentication(String authenticationToken, String oneTimeCode, String deviceIdentifier, String deviceDescription)
          Equivalent to UserStoreClient.completeTwoFactorAuthentication(String, String, String, String).
 com.evernote.edam.userstore.BootstrapInfo getBootstrapInfo(String locale)
          Equivalent to UserStoreClient.getBootstrapInfo(String).
 String getNoteStoreUrl()
          Equivalent to UserStoreClient.getNoteStoreUrl().
 com.evernote.edam.type.PremiumInfo getPremiumInfo()
          Equivalent to UserStoreClient.getPremiumInfo().
 com.evernote.edam.userstore.PublicUserInfo getPublicUserInfo(String username)
          Equivalent to UserStoreClient.getPublicUserInfo(String).
 com.evernote.edam.type.User getUser()
          Equivalent to UserStoreClient.getUser().
 boolean isBusinessUser()
          Equivalent to UserStoreClient.isBusinessUser().
 com.evernote.edam.userstore.AuthenticationResult refreshAuthentication()
          Equivalent to UserStoreClient.refreshAuthentication().
 void revokeLongSession()
          Equivalent to UserStoreClient.revokeLongSession().
 

Method Detail

isBusinessUser

boolean isBusinessUser()
                       throws EvernoteException
Equivalent to UserStoreClient.isBusinessUser().

Throws:
EvernoteException - converted unchecked exception
See Also:
UserStoreClient.isBusinessUser()

checkVersion

boolean checkVersion(String clientName,
                     short edamVersionMajor,
                     short edamVersionMinor)
                     throws EvernoteException
Equivalent to UserStoreClient.checkVersion(String, short, short).

Throws:
EvernoteException - converted unchecked exception
See Also:
UserStoreClient.checkVersion(String, short, short), UserStore.Client.checkVersion(String, short, short)

getBootstrapInfo

com.evernote.edam.userstore.BootstrapInfo getBootstrapInfo(String locale)
                                                           throws EvernoteException
Equivalent to UserStoreClient.getBootstrapInfo(String).

Throws:
EvernoteException - converted unchecked exception
See Also:
UserStoreClient.getBootstrapInfo(String), UserStore.Client.getBootstrapInfo(String)

authenticate

com.evernote.edam.userstore.AuthenticationResult authenticate(String username,
                                                              String password,
                                                              String consumerKey,
                                                              String consumerSecret,
                                                              boolean supportsTwoFactor)
                                                              throws EvernoteException
Equivalent to UserStoreClient.authenticate(String, String, String, String, boolean).

Throws:
EvernoteException - converted unchecked exception
See Also:
UserStoreClient.authenticate(String, String, String, String, boolean), UserStore.Client.authenticate(String, String, String, String, boolean)

authenticateLongSession

com.evernote.edam.userstore.AuthenticationResult authenticateLongSession(String username,
                                                                         String password,
                                                                         String consumerKey,
                                                                         String consumerSecret,
                                                                         String deviceIdentifier,
                                                                         String deviceDescription,
                                                                         boolean supportsTwoFactor)
                                                                         throws EvernoteException
Equivalent to UserStoreClient.authenticateLongSession(String, String, String, String, String, String, boolean).

Throws:
EvernoteException - converted unchecked exception
See Also:
UserStoreClient.authenticateLongSession(String, String, String, String, String, String, boolean), UserStore.Client.authenticateLongSession(String, String, String, String, String, String, boolean)

authenticateToBusiness

com.evernote.edam.userstore.AuthenticationResult authenticateToBusiness()
                                                                        throws EvernoteException
Equivalent to UserStoreClient.authenticateToBusiness().

Throws:
EvernoteException - converted unchecked exception
See Also:
UserStoreClient.authenticateToBusiness(), UserStore.Client.authenticateToBusiness(String)

refreshAuthentication

com.evernote.edam.userstore.AuthenticationResult refreshAuthentication()
                                                                       throws EvernoteException
Equivalent to UserStoreClient.refreshAuthentication().

Throws:
EvernoteException - converted unchecked exception
See Also:
UserStoreClient.refreshAuthentication(), UserStore.Client.refreshAuthentication(String)

getUser

com.evernote.edam.type.User getUser()
                                    throws EvernoteException
Equivalent to UserStoreClient.getUser().

Throws:
EvernoteException - converted unchecked exception
See Also:
UserStoreClient.getUser(), UserStore.Client.getUser(String)

getPublicUserInfo

com.evernote.edam.userstore.PublicUserInfo getPublicUserInfo(String username)
                                                             throws EvernoteException
Equivalent to UserStoreClient.getPublicUserInfo(String).

Throws:
EvernoteException - converted unchecked exception
See Also:
UserStoreClient.getPublicUserInfo(String), UserStore.Client.getPublicUserInfo(String)

getPremiumInfo

com.evernote.edam.type.PremiumInfo getPremiumInfo()
                                                  throws EvernoteException
Equivalent to UserStoreClient.getPremiumInfo().

Throws:
EvernoteException - converted unchecked exception
See Also:
UserStoreClient.getPremiumInfo(), UserStore.Client.getPremiumInfo(String)

getNoteStoreUrl

String getNoteStoreUrl()
                       throws EvernoteException
Equivalent to UserStoreClient.getNoteStoreUrl().

Throws:
EvernoteException - converted unchecked exception
See Also:
UserStoreClient.getNoteStoreUrl(), UserStore.Client.getNoteStoreUrl(String)

revokeLongSession

void revokeLongSession()
                       throws EvernoteException
Equivalent to UserStoreClient.revokeLongSession().

Throws:
EvernoteException - converted unchecked exception
See Also:
UserStoreClient.revokeLongSession(), UserStore.Client.revokeLongSession(String)

completeTwoFactorAuthentication

void completeTwoFactorAuthentication(String authenticationToken,
                                     String oneTimeCode,
                                     String deviceIdentifier,
                                     String deviceDescription)
                                     throws EvernoteException
Equivalent to UserStoreClient.completeTwoFactorAuthentication(String, String, String, String).

Throws:
EvernoteException - converted unchecked exception
See Also:
UserStoreClient.completeTwoFactorAuthentication(String, String, String, String), UserStore.Client.completeTwoFactorAuthentication(String, String, String, String)


Copyright © 2014. All Rights Reserved.