net.kwfgrid.gwes.xmldbclient
Class QueryServiceCallbackHandler

java.lang.Object
  extended by net.kwfgrid.gwes.xmldbclient.QueryServiceCallbackHandler

public abstract class QueryServiceCallbackHandler
extends Object

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


Field Summary
protected  Object clientData
           
 
Constructor Summary
QueryServiceCallbackHandler()
          Please use this constructor if you don't want to set any clientData
QueryServiceCallbackHandler(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 receiveErrorconnect(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from connect operation
 void receiveErrordisconnect(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from disconnect operation
 void receiveErrorgetResource(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from getResource operation
 void receiveErrorgetResourceData(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from getResourceData operation
 void receiveErrorlistCollection(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from listCollection operation
 void receiveErrorquery(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from query operation
 void receiveErrorretrieve(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from retrieve operation
 void receiveErrorretrieveByDocument(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from retrieveByDocument operation
 void receiveErrorretrieveData(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from retrieveData operation
 void receiveErrorxquery(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from xquery operation
 void receiveResultconnect(QueryServiceStub.ConnectResponse result)
          auto generated Axis2 call back method for connect method override this method for handling normal response from connect operation
 void receiveResultdisconnect(QueryServiceStub.DisconnectResponse result)
          auto generated Axis2 call back method for disconnect method override this method for handling normal response from disconnect operation
 void receiveResultgetResource(QueryServiceStub.GetResourceResponse result)
          auto generated Axis2 call back method for getResource method override this method for handling normal response from getResource operation
 void receiveResultgetResourceData(QueryServiceStub.GetResourceDataResponse result)
          auto generated Axis2 call back method for getResourceData method override this method for handling normal response from getResourceData operation
 void receiveResultlistCollection(QueryServiceStub.ListCollectionResponse result)
          auto generated Axis2 call back method for listCollection method override this method for handling normal response from listCollection operation
 void receiveResultquery(QueryServiceStub.QueryResponseE result)
          auto generated Axis2 call back method for query method override this method for handling normal response from query operation
 void receiveResultretrieve(QueryServiceStub.RetrieveResponse result)
          auto generated Axis2 call back method for retrieve method override this method for handling normal response from retrieve operation
 void receiveResultretrieveByDocument(QueryServiceStub.RetrieveByDocumentResponse result)
          auto generated Axis2 call back method for retrieveByDocument method override this method for handling normal response from retrieveByDocument operation
 void receiveResultretrieveData(QueryServiceStub.RetrieveDataResponse result)
          auto generated Axis2 call back method for retrieveData method override this method for handling normal response from retrieveData operation
 void receiveResultxquery(QueryServiceStub.XqueryResponse result)
          auto generated Axis2 call back method for xquery method override this method for handling normal response from xquery 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

QueryServiceCallbackHandler

public QueryServiceCallbackHandler(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.

QueryServiceCallbackHandler

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

Method Detail

getClientData

public Object getClientData()
Get the client data


receiveResultquery

public void receiveResultquery(QueryServiceStub.QueryResponseE result)
auto generated Axis2 call back method for query method override this method for handling normal response from query operation


receiveErrorquery

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


receiveResultxquery

public void receiveResultxquery(QueryServiceStub.XqueryResponse result)
auto generated Axis2 call back method for xquery method override this method for handling normal response from xquery operation


receiveErrorxquery

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


receiveResultlistCollection

public void receiveResultlistCollection(QueryServiceStub.ListCollectionResponse result)
auto generated Axis2 call back method for listCollection method override this method for handling normal response from listCollection operation


receiveErrorlistCollection

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


receiveResultretrieve

public void receiveResultretrieve(QueryServiceStub.RetrieveResponse result)
auto generated Axis2 call back method for retrieve method override this method for handling normal response from retrieve operation


receiveErrorretrieve

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


receiveResultretrieveData

public void receiveResultretrieveData(QueryServiceStub.RetrieveDataResponse result)
auto generated Axis2 call back method for retrieveData method override this method for handling normal response from retrieveData operation


receiveErrorretrieveData

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


receiveResultdisconnect

public void receiveResultdisconnect(QueryServiceStub.DisconnectResponse result)
auto generated Axis2 call back method for disconnect method override this method for handling normal response from disconnect operation


receiveErrordisconnect

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


receiveResultretrieveByDocument

public void receiveResultretrieveByDocument(QueryServiceStub.RetrieveByDocumentResponse result)
auto generated Axis2 call back method for retrieveByDocument method override this method for handling normal response from retrieveByDocument operation


receiveErrorretrieveByDocument

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


receiveResultconnect

public void receiveResultconnect(QueryServiceStub.ConnectResponse result)
auto generated Axis2 call back method for connect method override this method for handling normal response from connect operation


receiveErrorconnect

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


receiveResultgetResource

public void receiveResultgetResource(QueryServiceStub.GetResourceResponse result)
auto generated Axis2 call back method for getResource method override this method for handling normal response from getResource operation


receiveErrorgetResource

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


receiveResultgetResourceData

public void receiveResultgetResourceData(QueryServiceStub.GetResourceDataResponse result)
auto generated Axis2 call back method for getResourceData method override this method for handling normal response from getResourceData operation


receiveErrorgetResourceData

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



Copyright © 2005-2011 Fraunhofer FIRST. All Rights Reserved.