Package com.cloudburo.evernote
Class EvernoteInfo
- java.lang.Object
-
- com.cloudburo.evernote.EvernoteInfo
-
public class EvernoteInfo extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description EvernoteInfo(java.lang.String token, java.lang.Boolean productionEnv)
-
Method Summary
Modifier and Type Method Description java.lang.StringgetName()java.lang.StringgetNotebookName(java.lang.String notebookGuid)java.lang.StringgetUserEmail()intgetUserId()java.lang.StringgetUserName()voidrevokeLongSession()
-
-
-
Constructor Detail
-
EvernoteInfo
public EvernoteInfo(java.lang.String token, java.lang.Boolean productionEnv) throws com.evernote.edam.error.EDAMSystemException, com.evernote.edam.error.EDAMUserException, com.evernote.thrift.transport.TTransportException, com.evernote.thrift.TException, com.evernote.edam.error.EDAMNotFoundException- Throws:
com.evernote.edam.error.EDAMSystemExceptioncom.evernote.edam.error.EDAMUserExceptioncom.evernote.thrift.transport.TTransportExceptioncom.evernote.thrift.TExceptioncom.evernote.edam.error.EDAMNotFoundException
-
-
Method Detail
-
getUserId
public int getUserId() throws java.lang.Exception- Throws:
java.lang.Exception
-
getUserEmail
public java.lang.String getUserEmail() throws java.lang.Exception- Throws:
java.lang.Exception
-
getUserName
public java.lang.String getUserName() throws java.lang.Exception- Throws:
java.lang.Exception
-
getName
public java.lang.String getName() throws java.lang.Exception- Throws:
java.lang.Exception
-
getNotebookName
public java.lang.String getNotebookName(java.lang.String notebookGuid) throws java.lang.Exception- Throws:
java.lang.Exception
-
revokeLongSession
public void revokeLongSession() throws java.lang.Exception- Throws:
java.lang.Exception
-
-