|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objecteg.com.espace.wenear.client.WeNearClient.UserService
public static class WeNearClient.UserService
Service interface for operations on user accounts.
| Nested Class Summary | |
|---|---|
static class |
WeNearClient.UserService.TUser
|
| Constructor Summary | |
|---|---|
WeNearClient.UserService(WeNearClient client)
|
|
| Method Summary | |
|---|---|
void |
appear()
Causes the logged-in user to be visible to his/her friends. |
void |
createUser(java.lang.String login,
java.lang.String password,
java.lang.String fullName,
java.lang.String email,
java.lang.String secretQuestion,
java.lang.String secretQuestionAnswer)
Creates a new user account. |
void |
disableAccount(java.lang.String password)
Disables the logged-in user's account (in case the handset is stolen, for example). |
void |
disappear()
Causes the logged-in user to be invisible to his/her friends. |
void |
enableAccount(java.lang.String oldPassword,
java.lang.String newPassword,
java.lang.String secretQuestion,
java.lang.String secretQuestionAnswer)
Enables the logged-in user account, provided that the given credentials are correct. |
WeNearClient.UserService.TUser |
getUser()
Retrieves the user object associated with the logged-in user. |
WeNearClient.UserService.TUser[] |
getUsers(int page)
Retrieves all user objects within the specified page. |
void |
updateUser(java.lang.String oldPassword,
java.lang.String newPassword,
java.lang.String fullName,
java.lang.String email)
Updates the account information of the logged-in user. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WeNearClient.UserService(WeNearClient client)
| Method Detail |
|---|
public WeNearClient.UserService.TUser getUser()
throws WeNearClient.UnknownErrorException,
WeNearClient.BadResponseException,
WeNearClient.BadRequestException,
WeNearClient.NoSuchClientException
WeNearClient.UnknownErrorException
WeNearClient.BadResponseException
WeNearClient.BadRequestException
WeNearClient.NoSuchClientException
public WeNearClient.UserService.TUser[] getUsers(int page)
throws WeNearClient.UnknownErrorException,
WeNearClient.BadResponseException,
WeNearClient.BadRequestException
WeNearClient.UnknownErrorException
WeNearClient.BadResponseException
WeNearClient.BadRequestException
public void createUser(java.lang.String login,
java.lang.String password,
java.lang.String fullName,
java.lang.String email,
java.lang.String secretQuestion,
java.lang.String secretQuestionAnswer)
throws WeNearClient.UnknownErrorException,
WeNearClient.BadResponseException,
WeNearClient.BadRequestException,
WeNearClient.DuplicateNameException
WeNearClient.UnknownErrorException
WeNearClient.BadResponseException
WeNearClient.BadRequestException
WeNearClient.DuplicateNameException
public void updateUser(java.lang.String oldPassword,
java.lang.String newPassword,
java.lang.String fullName,
java.lang.String email)
throws WeNearClient.UnknownErrorException,
WeNearClient.BadResponseException,
WeNearClient.BadRequestException,
WeNearClient.NoSuchClientException,
WeNearClient.NotAllowedException
WeNearClient.UnknownErrorException
WeNearClient.BadResponseException
WeNearClient.BadRequestException
WeNearClient.NoSuchClientException
WeNearClient.NotAllowedException
public void appear()
throws WeNearClient.UnknownErrorException,
WeNearClient.BadResponseException,
WeNearClient.BadRequestException,
WeNearClient.NoSuchClientException
WeNearClient.UnknownErrorException
WeNearClient.BadResponseException
WeNearClient.BadRequestException
WeNearClient.NoSuchClientException
public void disappear()
throws WeNearClient.UnknownErrorException,
WeNearClient.BadResponseException,
WeNearClient.BadRequestException,
WeNearClient.NoSuchClientException
WeNearClient.UnknownErrorException
WeNearClient.BadResponseException
WeNearClient.BadRequestException
WeNearClient.NoSuchClientException
public void disableAccount(java.lang.String password)
throws WeNearClient.UnknownErrorException,
WeNearClient.BadResponseException,
WeNearClient.BadRequestException,
WeNearClient.NoSuchClientException,
WeNearClient.NotAllowedException
WeNearClient.UnknownErrorException
WeNearClient.BadResponseException
WeNearClient.BadRequestException
WeNearClient.NoSuchClientException
WeNearClient.NotAllowedException
public void enableAccount(java.lang.String oldPassword,
java.lang.String newPassword,
java.lang.String secretQuestion,
java.lang.String secretQuestionAnswer)
throws WeNearClient.UnknownErrorException,
WeNearClient.BadResponseException,
WeNearClient.BadRequestException,
WeNearClient.NoSuchClientException,
WeNearClient.NotAllowedException
WeNearClient.UnknownErrorException
WeNearClient.BadResponseException
WeNearClient.BadRequestException
WeNearClient.NoSuchClientException
WeNearClient.NotAllowedException
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||