eg.com.espace.wenear.client
Class WeNearClient.ClientService

java.lang.Object
  extended by eg.com.espace.wenear.client.WeNearClient.ClientService
Enclosing class:
WeNearClient

public static class WeNearClient.ClientService
extends java.lang.Object

Service interface for operations common to all client types.


Constructor Summary
WeNearClient.ClientService(WeNearClient client)
           
 
Method Summary
 void deleteClient()
          Deletes the account associated with the specified login name.
 void verifyEmail(java.lang.String code)
          Verifies the logged-in client's email if the specified verification code is correct.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WeNearClient.ClientService

public WeNearClient.ClientService(WeNearClient client)
Method Detail

verifyEmail

public void verifyEmail(java.lang.String code)
                 throws WeNearClient.UnknownErrorException,
                        WeNearClient.BadResponseException,
                        WeNearClient.BadRequestException,
                        WeNearClient.NoSuchClientException,
                        WeNearClient.NotAllowedException
Verifies the logged-in client's email if the specified verification code is correct.

Throws:
WeNearClient.UnknownErrorException
WeNearClient.BadResponseException
WeNearClient.BadRequestException
WeNearClient.NoSuchClientException
WeNearClient.NotAllowedException

deleteClient

public void deleteClient()
                  throws WeNearClient.UnknownErrorException,
                         WeNearClient.BadResponseException,
                         WeNearClient.BadRequestException,
                         WeNearClient.NoSuchClientException,
                         WeNearClient.NotAllowedException
Deletes the account associated with the specified login name. Requires administrator privilege.

Throws:
WeNearClient.UnknownErrorException
WeNearClient.BadResponseException
WeNearClient.BadRequestException
WeNearClient.NoSuchClientException
WeNearClient.NotAllowedException