View Javadoc

1   
2   /**
3    * QueryServiceCallbackHandler.java
4    *
5    * This file was auto-generated from WSDL
6    * by the Apache Axis2 version: 1.5.1  Built on : Oct 19, 2009 (10:59:00 EDT)
7    */
8   
9       package net.kwfgrid.gwes.xmldbclient;
10  
11      /**
12       *  QueryServiceCallbackHandler Callback class, Users can extend this class and implement
13       *  their own receiveResult and receiveError methods.
14       */
15      public abstract class QueryServiceCallbackHandler{
16  
17  
18  
19      protected Object clientData;
20  
21      /**
22      * User can pass in any object that needs to be accessed once the NonBlocking
23      * Web service call is finished and appropriate method of this CallBack is called.
24      * @param clientData Object mechanism by which the user can pass in user data
25      * that will be avilable at the time this callback is called.
26      */
27      public QueryServiceCallbackHandler(Object clientData){
28          this.clientData = clientData;
29      }
30  
31      /**
32      * Please use this constructor if you don't want to set any clientData
33      */
34      public QueryServiceCallbackHandler(){
35          this.clientData = null;
36      }
37  
38      /**
39       * Get the client data
40       */
41  
42       public Object getClientData() {
43          return clientData;
44       }
45  
46          
47             /**
48              * auto generated Axis2 call back method for query method
49              * override this method for handling normal response from query operation
50              */
51             public void receiveResultquery(
52                      net.kwfgrid.gwes.xmldbclient.QueryServiceStub.QueryResponseE result
53                          ) {
54             }
55  
56            /**
57             * auto generated Axis2 Error handler
58             * override this method for handling error response from query operation
59             */
60              public void receiveErrorquery(java.lang.Exception e) {
61              }
62                  
63             /**
64              * auto generated Axis2 call back method for xquery method
65              * override this method for handling normal response from xquery operation
66              */
67             public void receiveResultxquery(
68                      net.kwfgrid.gwes.xmldbclient.QueryServiceStub.XqueryResponse result
69                          ) {
70             }
71  
72            /**
73             * auto generated Axis2 Error handler
74             * override this method for handling error response from xquery operation
75             */
76              public void receiveErrorxquery(java.lang.Exception e) {
77              }
78                  
79             /**
80              * auto generated Axis2 call back method for listCollection method
81              * override this method for handling normal response from listCollection operation
82              */
83             public void receiveResultlistCollection(
84                      net.kwfgrid.gwes.xmldbclient.QueryServiceStub.ListCollectionResponse result
85                          ) {
86             }
87  
88            /**
89             * auto generated Axis2 Error handler
90             * override this method for handling error response from listCollection operation
91             */
92              public void receiveErrorlistCollection(java.lang.Exception e) {
93              }
94                  
95             /**
96              * auto generated Axis2 call back method for retrieve method
97              * override this method for handling normal response from retrieve operation
98              */
99             public void receiveResultretrieve(
100                     net.kwfgrid.gwes.xmldbclient.QueryServiceStub.RetrieveResponse result
101                         ) {
102            }
103 
104           /**
105            * auto generated Axis2 Error handler
106            * override this method for handling error response from retrieve operation
107            */
108             public void receiveErrorretrieve(java.lang.Exception e) {
109             }
110                 
111            /**
112             * auto generated Axis2 call back method for retrieveData method
113             * override this method for handling normal response from retrieveData operation
114             */
115            public void receiveResultretrieveData(
116                     net.kwfgrid.gwes.xmldbclient.QueryServiceStub.RetrieveDataResponse result
117                         ) {
118            }
119 
120           /**
121            * auto generated Axis2 Error handler
122            * override this method for handling error response from retrieveData operation
123            */
124             public void receiveErrorretrieveData(java.lang.Exception e) {
125             }
126                 
127            /**
128             * auto generated Axis2 call back method for disconnect method
129             * override this method for handling normal response from disconnect operation
130             */
131            public void receiveResultdisconnect(
132                     net.kwfgrid.gwes.xmldbclient.QueryServiceStub.DisconnectResponse result
133                         ) {
134            }
135 
136           /**
137            * auto generated Axis2 Error handler
138            * override this method for handling error response from disconnect operation
139            */
140             public void receiveErrordisconnect(java.lang.Exception e) {
141             }
142                 
143            /**
144             * auto generated Axis2 call back method for retrieveByDocument method
145             * override this method for handling normal response from retrieveByDocument operation
146             */
147            public void receiveResultretrieveByDocument(
148                     net.kwfgrid.gwes.xmldbclient.QueryServiceStub.RetrieveByDocumentResponse result
149                         ) {
150            }
151 
152           /**
153            * auto generated Axis2 Error handler
154            * override this method for handling error response from retrieveByDocument operation
155            */
156             public void receiveErrorretrieveByDocument(java.lang.Exception e) {
157             }
158                 
159            /**
160             * auto generated Axis2 call back method for connect method
161             * override this method for handling normal response from connect operation
162             */
163            public void receiveResultconnect(
164                     net.kwfgrid.gwes.xmldbclient.QueryServiceStub.ConnectResponse result
165                         ) {
166            }
167 
168           /**
169            * auto generated Axis2 Error handler
170            * override this method for handling error response from connect operation
171            */
172             public void receiveErrorconnect(java.lang.Exception e) {
173             }
174                 
175            /**
176             * auto generated Axis2 call back method for getResource method
177             * override this method for handling normal response from getResource operation
178             */
179            public void receiveResultgetResource(
180                     net.kwfgrid.gwes.xmldbclient.QueryServiceStub.GetResourceResponse result
181                         ) {
182            }
183 
184           /**
185            * auto generated Axis2 Error handler
186            * override this method for handling error response from getResource operation
187            */
188             public void receiveErrorgetResource(java.lang.Exception e) {
189             }
190                 
191            /**
192             * auto generated Axis2 call back method for getResourceData method
193             * override this method for handling normal response from getResourceData operation
194             */
195            public void receiveResultgetResourceData(
196                     net.kwfgrid.gwes.xmldbclient.QueryServiceStub.GetResourceDataResponse result
197                         ) {
198            }
199 
200           /**
201            * auto generated Axis2 Error handler
202            * override this method for handling error response from getResourceData operation
203            */
204             public void receiveErrorgetResourceData(java.lang.Exception e) {
205             }
206                 
207 
208 
209     }
210