org.wso2.carbon.um.ws.api.stub
Class RemoteTenantManagerServiceCallbackHandler

java.lang.Object
  extended by org.wso2.carbon.um.ws.api.stub.RemoteTenantManagerServiceCallbackHandler

public abstract class RemoteTenantManagerServiceCallbackHandler
extends Object

RemoteTenantManagerServiceCallbackHandler Callback class, Users can extend this class and implement their own receiveResult and receiveError methods.


Field Summary
protected  Object clientData
           
 
Constructor Summary
RemoteTenantManagerServiceCallbackHandler()
          Please use this constructor if you don't want to set any clientData
RemoteTenantManagerServiceCallbackHandler(Object clientData)
          User can pass in any object that needs to be accessed once the NonBlocking Web service call is finished and appropriate method of this CallBack is called.
 
Method Summary
 Object getClientData()
          Get the client data
 void receiveErroraddTenant(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from addTenant operation
 void receiveErrorgetAllTenants(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from getAllTenants operation
 void receiveErrorgetDomain(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from getDomain operation
 void receiveErrorgetSuperTenantDomain(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from getSuperTenantDomain operation
 void receiveErrorgetTenant(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from getTenant operation
 void receiveErrorgetTenantId(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from getTenantId operation
 void receiveErrorisTenantActive(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from isTenantActive operation
 void receiveResultaddTenant(int result)
          auto generated Axis2 call back method for addTenant method override this method for handling normal response from addTenant operation
 void receiveResultgetAllTenants(Tenant[] result)
          auto generated Axis2 call back method for getAllTenants method override this method for handling normal response from getAllTenants operation
 void receiveResultgetDomain(String result)
          auto generated Axis2 call back method for getDomain method override this method for handling normal response from getDomain operation
 void receiveResultgetSuperTenantDomain(String result)
          auto generated Axis2 call back method for getSuperTenantDomain method override this method for handling normal response from getSuperTenantDomain operation
 void receiveResultgetTenant(Tenant result)
          auto generated Axis2 call back method for getTenant method override this method for handling normal response from getTenant operation
 void receiveResultgetTenantId(int result)
          auto generated Axis2 call back method for getTenantId method override this method for handling normal response from getTenantId operation
 void receiveResultisTenantActive(boolean result)
          auto generated Axis2 call back method for isTenantActive method override this method for handling normal response from isTenantActive operation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

clientData

protected Object clientData
Constructor Detail

RemoteTenantManagerServiceCallbackHandler

public RemoteTenantManagerServiceCallbackHandler(Object clientData)
User can pass in any object that needs to be accessed once the NonBlocking Web service call is finished and appropriate method of this CallBack is called.

Parameters:
clientData - Object mechanism by which the user can pass in user data that will be avilable at the time this callback is called.

RemoteTenantManagerServiceCallbackHandler

public RemoteTenantManagerServiceCallbackHandler()
Please use this constructor if you don't want to set any clientData

Method Detail

getClientData

public Object getClientData()
Get the client data


receiveResultgetTenant

public void receiveResultgetTenant(Tenant result)
auto generated Axis2 call back method for getTenant method override this method for handling normal response from getTenant operation


receiveErrorgetTenant

public void receiveErrorgetTenant(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getTenant operation


receiveResultaddTenant

public void receiveResultaddTenant(int result)
auto generated Axis2 call back method for addTenant method override this method for handling normal response from addTenant operation


receiveErroraddTenant

public void receiveErroraddTenant(Exception e)
auto generated Axis2 Error handler override this method for handling error response from addTenant operation


receiveResultisTenantActive

public void receiveResultisTenantActive(boolean result)
auto generated Axis2 call back method for isTenantActive method override this method for handling normal response from isTenantActive operation


receiveErrorisTenantActive

public void receiveErrorisTenantActive(Exception e)
auto generated Axis2 Error handler override this method for handling error response from isTenantActive operation


receiveResultgetAllTenants

public void receiveResultgetAllTenants(Tenant[] result)
auto generated Axis2 call back method for getAllTenants method override this method for handling normal response from getAllTenants operation


receiveErrorgetAllTenants

public void receiveErrorgetAllTenants(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getAllTenants operation


receiveResultgetDomain

public void receiveResultgetDomain(String result)
auto generated Axis2 call back method for getDomain method override this method for handling normal response from getDomain operation


receiveErrorgetDomain

public void receiveErrorgetDomain(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getDomain operation


receiveResultgetSuperTenantDomain

public void receiveResultgetSuperTenantDomain(String result)
auto generated Axis2 call back method for getSuperTenantDomain method override this method for handling normal response from getSuperTenantDomain operation


receiveErrorgetSuperTenantDomain

public void receiveErrorgetSuperTenantDomain(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getSuperTenantDomain operation


receiveResultgetTenantId

public void receiveResultgetTenantId(int result)
auto generated Axis2 call back method for getTenantId method override this method for handling normal response from getTenantId operation


receiveErrorgetTenantId

public void receiveErrorgetTenantId(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getTenantId operation



Copyright © 2015 WSO2. All rights reserved.