public class AccountController extends BaseController
httpCallBack| Constructor and Description |
|---|
AccountController() |
| Modifier and Type | Method and Description |
|---|---|
String |
accountVerify(int activationToken)
Verify new account
|
void |
accountVerifyAsync(int activationToken,
APICallBack<String> callBack)
Verify new account
|
String |
accountVerifySend(AccountVerify accountVerify)
Send account activation token
|
void |
accountVerifySendAsync(AccountVerify accountVerify,
APICallBack<String> callBack)
Send account activation token
|
String |
createAccount(Account account)
Create An Account
|
void |
createAccountAsync(Account account,
APICallBack<String> callBack)
Create An Account
|
String |
forgotPassword(String username)
Forgot password
|
void |
forgotPasswordAsync(String username,
APICallBack<String> callBack)
Forgot password
|
String |
forgotUsername(String email)
Forgot username
|
void |
forgotUsernameAsync(String email,
APICallBack<String> callBack)
Forgot username
|
String |
getAccount()
Get account details
|
void |
getAccountAsync(APICallBack<String> callBack)
Get account details
|
static AccountController |
getInstance()
Singleton pattern implementation
|
String |
verifyForgotPassword(AccountForgotPasswordVerify verifyPassword)
Verify forgot password
|
void |
verifyForgotPasswordAsync(AccountForgotPasswordVerify verifyPassword,
APICallBack<String> callBack)
Verify forgot password
|
getClientInstance, getHttpCallBack, setClientInstance, setHttpCallBack, validateResponsepublic static AccountController getInstance()
public String getAccount() throws Throwable
Throwablepublic void getAccountAsync(APICallBack<String> callBack)
public String createAccount(Account account) throws Throwable
account - Required parameter: Example:Throwablepublic void createAccountAsync(Account account, APICallBack<String> callBack) throws com.fasterxml.jackson.core.JsonProcessingException
account - Required parameter: Example:com.fasterxml.jackson.core.JsonProcessingExceptionpublic String accountVerifySend(AccountVerify accountVerify) throws Throwable
accountVerify - Required parameter: Example:Throwablepublic void accountVerifySendAsync(AccountVerify accountVerify, APICallBack<String> callBack) throws com.fasterxml.jackson.core.JsonProcessingException
accountVerify - Required parameter: Example:com.fasterxml.jackson.core.JsonProcessingExceptionpublic String accountVerify(int activationToken) throws Throwable
activationToken - Required parameter: Example:Throwablepublic void accountVerifyAsync(int activationToken,
APICallBack<String> callBack)
activationToken - Required parameter: Example:public String forgotUsername(String email) throws Throwable
email - Required parameter: Example:Throwablepublic void forgotUsernameAsync(String email, APICallBack<String> callBack)
email - Required parameter: Example:public String forgotPassword(String username) throws Throwable
username - Required parameter: Example:Throwablepublic void forgotPasswordAsync(String username, APICallBack<String> callBack)
username - Required parameter: Example:public String verifyForgotPassword(AccountForgotPasswordVerify verifyPassword) throws Throwable
verifyPassword - Required parameter: Example:Throwablepublic void verifyForgotPasswordAsync(AccountForgotPasswordVerify verifyPassword, APICallBack<String> callBack) throws com.fasterxml.jackson.core.JsonProcessingException
verifyPassword - Required parameter: Example:com.fasterxml.jackson.core.JsonProcessingExceptionCopyright © 2017. All rights reserved.