KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > mchange > v2 > sql > filter > FilterCallableStatement


1 /*
2  * Distributed as part of c3p0 v.0.9.1
3  *
4  * Copyright (C) 2005 Machinery For Change, Inc.
5  *
6  * Author: Steve Waldman <swaldman@mchange.com>
7  *
8  * This library is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU Lesser General Public License version 2.1, as
10  * published by the Free Software Foundation.
11  *
12  * This software is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public License
18  * along with this software; see the file LICENSE. If not, write to the
19  * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
20  * Boston, MA 02111-1307, USA.
21  */

22
23
24 package com.mchange.v2.sql.filter;
25
26 import java.io.InputStream JavaDoc;
27 import java.io.Reader JavaDoc;
28 import java.lang.Object JavaDoc;
29 import java.lang.String JavaDoc;
30 import java.math.BigDecimal JavaDoc;
31 import java.net.URL JavaDoc;
32 import java.sql.Array JavaDoc;
33 import java.sql.Blob JavaDoc;
34 import java.sql.CallableStatement JavaDoc;
35 import java.sql.Clob JavaDoc;
36 import java.sql.Connection JavaDoc;
37 import java.sql.Date JavaDoc;
38 import java.sql.ParameterMetaData JavaDoc;
39 import java.sql.Ref JavaDoc;
40 import java.sql.ResultSet JavaDoc;
41 import java.sql.ResultSetMetaData JavaDoc;
42 import java.sql.SQLException JavaDoc;
43 import java.sql.SQLWarning JavaDoc;
44 import java.sql.Time JavaDoc;
45 import java.sql.Timestamp JavaDoc;
46 import java.util.Calendar JavaDoc;
47 import java.util.Map JavaDoc;
48
49 public abstract class FilterCallableStatement implements CallableStatement JavaDoc
50 {
51     protected CallableStatement JavaDoc inner;
52     
53     public FilterCallableStatement(CallableStatement JavaDoc inner)
54     { this.inner = inner; }
55     
56     public FilterCallableStatement()
57     {}
58     
59     public void setInner( CallableStatement JavaDoc inner )
60     { this.inner = inner; }
61     
62     public CallableStatement JavaDoc getInner()
63     { return inner; }
64     
65     public boolean wasNull() throws SQLException JavaDoc
66     { return inner.wasNull(); }
67     
68     public BigDecimal JavaDoc getBigDecimal(int a, int b) throws SQLException JavaDoc
69     { return inner.getBigDecimal(a, b); }
70     
71     public BigDecimal JavaDoc getBigDecimal(int a) throws SQLException JavaDoc
72     { return inner.getBigDecimal(a); }
73     
74     public BigDecimal JavaDoc getBigDecimal(String JavaDoc a) throws SQLException JavaDoc
75     { return inner.getBigDecimal(a); }
76     
77     public Timestamp JavaDoc getTimestamp(String JavaDoc a) throws SQLException JavaDoc
78     { return inner.getTimestamp(a); }
79     
80     public Timestamp JavaDoc getTimestamp(String JavaDoc a, Calendar JavaDoc b) throws SQLException JavaDoc
81     { return inner.getTimestamp(a, b); }
82     
83     public Timestamp JavaDoc getTimestamp(int a, Calendar JavaDoc b) throws SQLException JavaDoc
84     { return inner.getTimestamp(a, b); }
85     
86     public Timestamp JavaDoc getTimestamp(int a) throws SQLException JavaDoc
87     { return inner.getTimestamp(a); }
88     
89     public Blob JavaDoc getBlob(String JavaDoc a) throws SQLException JavaDoc
90     { return inner.getBlob(a); }
91     
92     public Blob JavaDoc getBlob(int a) throws SQLException JavaDoc
93     { return inner.getBlob(a); }
94     
95     public Clob JavaDoc getClob(String JavaDoc a) throws SQLException JavaDoc
96     { return inner.getClob(a); }
97     
98     public Clob JavaDoc getClob(int a) throws SQLException JavaDoc
99     { return inner.getClob(a); }
100     
101     public void setNull(String JavaDoc a, int b, String JavaDoc c) throws SQLException JavaDoc
102     { inner.setNull(a, b, c); }
103     
104     public void setNull(String JavaDoc a, int b) throws SQLException JavaDoc
105     { inner.setNull(a, b); }
106     
107     public void setBigDecimal(String JavaDoc a, BigDecimal JavaDoc b) throws SQLException JavaDoc
108     { inner.setBigDecimal(a, b); }
109     
110     public void setBytes(String JavaDoc a, byte[] b) throws SQLException JavaDoc
111     { inner.setBytes(a, b); }
112     
113     public void setTimestamp(String JavaDoc a, Timestamp JavaDoc b, Calendar JavaDoc c) throws SQLException JavaDoc
114     { inner.setTimestamp(a, b, c); }
115     
116     public void setTimestamp(String JavaDoc a, Timestamp JavaDoc b) throws SQLException JavaDoc
117     { inner.setTimestamp(a, b); }
118     
119     public void setAsciiStream(String JavaDoc a, InputStream JavaDoc b, int c) throws SQLException JavaDoc
120     { inner.setAsciiStream(a, b, c); }
121     
122     public void setBinaryStream(String JavaDoc a, InputStream JavaDoc b, int c) throws SQLException JavaDoc
123     { inner.setBinaryStream(a, b, c); }
124     
125     public void setObject(String JavaDoc a, Object JavaDoc b) throws SQLException JavaDoc
126     { inner.setObject(a, b); }
127     
128     public void setObject(String JavaDoc a, Object JavaDoc b, int c, int d) throws SQLException JavaDoc
129     { inner.setObject(a, b, c, d); }
130     
131     public void setObject(String JavaDoc a, Object JavaDoc b, int c) throws SQLException JavaDoc
132     { inner.setObject(a, b, c); }
133     
134     public void setCharacterStream(String JavaDoc a, Reader JavaDoc b, int c) throws SQLException JavaDoc
135     { inner.setCharacterStream(a, b, c); }
136     
137     public void registerOutParameter(String JavaDoc a, int b) throws SQLException JavaDoc
138     { inner.registerOutParameter(a, b); }
139     
140     public void registerOutParameter(int a, int b) throws SQLException JavaDoc
141     { inner.registerOutParameter(a, b); }
142     
143     public void registerOutParameter(int a, int b, int c) throws SQLException JavaDoc
144     { inner.registerOutParameter(a, b, c); }
145     
146     public void registerOutParameter(int a, int b, String JavaDoc c) throws SQLException JavaDoc
147     { inner.registerOutParameter(a, b, c); }
148     
149     public void registerOutParameter(String JavaDoc a, int b, int c) throws SQLException JavaDoc
150     { inner.registerOutParameter(a, b, c); }
151     
152     public void registerOutParameter(String JavaDoc a, int b, String JavaDoc c) throws SQLException JavaDoc
153     { inner.registerOutParameter(a, b, c); }
154     
155     public Object JavaDoc getObject(String JavaDoc a, Map JavaDoc b) throws SQLException JavaDoc
156     { return inner.getObject(a, b); }
157     
158     public Object JavaDoc getObject(int a, Map JavaDoc b) throws SQLException JavaDoc
159     { return inner.getObject(a, b); }
160     
161     public Object JavaDoc getObject(int a) throws SQLException JavaDoc
162     { return inner.getObject(a); }
163     
164     public Object JavaDoc getObject(String JavaDoc a) throws SQLException JavaDoc
165     { return inner.getObject(a); }
166     
167     public boolean getBoolean(int a) throws SQLException JavaDoc
168     { return inner.getBoolean(a); }
169     
170     public boolean getBoolean(String JavaDoc a) throws SQLException JavaDoc
171     { return inner.getBoolean(a); }
172     
173     public byte getByte(String JavaDoc a) throws SQLException JavaDoc
174     { return inner.getByte(a); }
175     
176     public byte getByte(int a) throws SQLException JavaDoc
177     { return inner.getByte(a); }
178     
179     public short getShort(int a) throws SQLException JavaDoc
180     { return inner.getShort(a); }
181     
182     public short getShort(String JavaDoc a) throws SQLException JavaDoc
183     { return inner.getShort(a); }
184     
185     public int getInt(String JavaDoc a) throws SQLException JavaDoc
186     { return inner.getInt(a); }
187     
188     public int getInt(int a) throws SQLException JavaDoc
189     { return inner.getInt(a); }
190     
191     public long getLong(int a) throws SQLException JavaDoc
192     { return inner.getLong(a); }
193     
194     public long getLong(String JavaDoc a) throws SQLException JavaDoc
195     { return inner.getLong(a); }
196     
197     public float getFloat(String JavaDoc a) throws SQLException JavaDoc
198     { return inner.getFloat(a); }
199     
200     public float getFloat(int a) throws SQLException JavaDoc
201     { return inner.getFloat(a); }
202     
203     public double getDouble(String JavaDoc a) throws SQLException JavaDoc
204     { return inner.getDouble(a); }
205     
206     public double getDouble(int a) throws SQLException JavaDoc
207     { return inner.getDouble(a); }
208     
209     public byte[] getBytes(int a) throws SQLException JavaDoc
210     { return inner.getBytes(a); }
211     
212     public byte[] getBytes(String JavaDoc a) throws SQLException JavaDoc
213     { return inner.getBytes(a); }
214     
215     public URL JavaDoc getURL(String JavaDoc a) throws SQLException JavaDoc
216     { return inner.getURL(a); }
217     
218     public URL JavaDoc getURL(int a) throws SQLException JavaDoc
219     { return inner.getURL(a); }
220     
221     public void setBoolean(String JavaDoc a, boolean b) throws SQLException JavaDoc
222     { inner.setBoolean(a, b); }
223     
224     public void setByte(String JavaDoc a, byte b) throws SQLException JavaDoc
225     { inner.setByte(a, b); }
226     
227     public void setShort(String JavaDoc a, short b) throws SQLException JavaDoc
228     { inner.setShort(a, b); }
229     
230     public void setInt(String JavaDoc a, int b) throws SQLException JavaDoc
231     { inner.setInt(a, b); }
232     
233     public void setLong(String JavaDoc a, long b) throws SQLException JavaDoc
234     { inner.setLong(a, b); }
235     
236     public void setFloat(String JavaDoc a, float b) throws SQLException JavaDoc
237     { inner.setFloat(a, b); }
238     
239     public void setDouble(String JavaDoc a, double b) throws SQLException JavaDoc
240     { inner.setDouble(a, b); }
241     
242     public String JavaDoc getString(String JavaDoc a) throws SQLException JavaDoc
243     { return inner.getString(a); }
244     
245     public String JavaDoc getString(int a) throws SQLException JavaDoc
246     { return inner.getString(a); }
247     
248     public Ref JavaDoc getRef(int a) throws SQLException JavaDoc
249     { return inner.getRef(a); }
250     
251     public Ref JavaDoc getRef(String JavaDoc a) throws SQLException JavaDoc
252     { return inner.getRef(a); }
253     
254     public void setURL(String JavaDoc a, URL JavaDoc b) throws SQLException JavaDoc
255     { inner.setURL(a, b); }
256     
257     public void setTime(String JavaDoc a, Time JavaDoc b) throws SQLException JavaDoc
258     { inner.setTime(a, b); }
259     
260     public void setTime(String JavaDoc a, Time JavaDoc b, Calendar JavaDoc c) throws SQLException JavaDoc
261     { inner.setTime(a, b, c); }
262     
263     public Time JavaDoc getTime(int a, Calendar JavaDoc b) throws SQLException JavaDoc
264     { return inner.getTime(a, b); }
265     
266     public Time JavaDoc getTime(String JavaDoc a) throws SQLException JavaDoc
267     { return inner.getTime(a); }
268     
269     public Time JavaDoc getTime(int a) throws SQLException JavaDoc
270     { return inner.getTime(a); }
271     
272     public Time JavaDoc getTime(String JavaDoc a, Calendar JavaDoc b) throws SQLException JavaDoc
273     { return inner.getTime(a, b); }
274     
275     public Date JavaDoc getDate(int a, Calendar JavaDoc b) throws SQLException JavaDoc
276     { return inner.getDate(a, b); }
277     
278     public Date JavaDoc getDate(String JavaDoc a) throws SQLException JavaDoc
279     { return inner.getDate(a); }
280     
281     public Date JavaDoc getDate(int a) throws SQLException JavaDoc
282     { return inner.getDate(a); }
283     
284     public Date JavaDoc getDate(String JavaDoc a, Calendar JavaDoc b) throws SQLException JavaDoc
285     { return inner.getDate(a, b); }
286     
287     public void setString(String JavaDoc a, String JavaDoc b) throws SQLException JavaDoc
288     { inner.setString(a, b); }
289     
290     public Array JavaDoc getArray(int a) throws SQLException JavaDoc
291     { return inner.getArray(a); }
292     
293     public Array JavaDoc getArray(String JavaDoc a) throws SQLException JavaDoc
294     { return inner.getArray(a); }
295     
296     public void setDate(String JavaDoc a, Date JavaDoc b, Calendar JavaDoc c) throws SQLException JavaDoc
297     { inner.setDate(a, b, c); }
298     
299     public void setDate(String JavaDoc a, Date JavaDoc b) throws SQLException JavaDoc
300     { inner.setDate(a, b); }
301     
302     public ResultSetMetaData JavaDoc getMetaData() throws SQLException JavaDoc
303     { return inner.getMetaData(); }
304     
305     public ResultSet JavaDoc executeQuery() throws SQLException JavaDoc
306     { return inner.executeQuery(); }
307     
308     public int executeUpdate() throws SQLException JavaDoc
309     { return inner.executeUpdate(); }
310     
311     public void addBatch() throws SQLException JavaDoc
312     { inner.addBatch(); }
313     
314     public void setNull(int a, int b, String JavaDoc c) throws SQLException JavaDoc
315     { inner.setNull(a, b, c); }
316     
317     public void setNull(int a, int b) throws SQLException JavaDoc
318     { inner.setNull(a, b); }
319     
320     public void setBigDecimal(int a, BigDecimal JavaDoc b) throws SQLException JavaDoc
321     { inner.setBigDecimal(a, b); }
322     
323     public void setBytes(int a, byte[] b) throws SQLException JavaDoc
324     { inner.setBytes(a, b); }
325     
326     public void setTimestamp(int a, Timestamp JavaDoc b, Calendar JavaDoc c) throws SQLException JavaDoc
327     { inner.setTimestamp(a, b, c); }
328     
329     public void setTimestamp(int a, Timestamp JavaDoc b) throws SQLException JavaDoc
330     { inner.setTimestamp(a, b); }
331     
332     public void setAsciiStream(int a, InputStream JavaDoc b, int c) throws SQLException JavaDoc
333     { inner.setAsciiStream(a, b, c); }
334     
335     public void setUnicodeStream(int a, InputStream JavaDoc b, int c) throws SQLException JavaDoc
336     { inner.setUnicodeStream(a, b, c); }
337     
338     public void setBinaryStream(int a, InputStream JavaDoc b, int c) throws SQLException JavaDoc
339     { inner.setBinaryStream(a, b, c); }
340     
341     public void clearParameters() throws SQLException JavaDoc
342     { inner.clearParameters(); }
343     
344     public void setObject(int a, Object JavaDoc b) throws SQLException JavaDoc
345     { inner.setObject(a, b); }
346     
347     public void setObject(int a, Object JavaDoc b, int c, int d) throws SQLException JavaDoc
348     { inner.setObject(a, b, c, d); }
349     
350     public void setObject(int a, Object JavaDoc b, int c) throws SQLException JavaDoc
351     { inner.setObject(a, b, c); }
352     
353     public void setCharacterStream(int a, Reader JavaDoc b, int c) throws SQLException JavaDoc
354     { inner.setCharacterStream(a, b, c); }
355     
356     public void setRef(int a, Ref JavaDoc b) throws SQLException JavaDoc
357     { inner.setRef(a, b); }
358     
359     public void setBlob(int a, Blob JavaDoc b) throws SQLException JavaDoc
360     { inner.setBlob(a, b); }
361     
362     public void setClob(int a, Clob JavaDoc b) throws SQLException JavaDoc
363     { inner.setClob(a, b); }
364     
365     public void setArray(int a, Array JavaDoc b) throws SQLException JavaDoc
366     { inner.setArray(a, b); }
367     
368     public ParameterMetaData JavaDoc getParameterMetaData() throws SQLException JavaDoc
369     { return inner.getParameterMetaData(); }
370     
371     public void setBoolean(int a, boolean b) throws SQLException JavaDoc
372     { inner.setBoolean(a, b); }
373     
374     public void setByte(int a, byte b) throws SQLException JavaDoc
375     { inner.setByte(a, b); }
376     
377     public void setShort(int a, short b) throws SQLException JavaDoc
378     { inner.setShort(a, b); }
379     
380     public void setInt(int a, int b) throws SQLException JavaDoc
381     { inner.setInt(a, b); }
382     
383     public void setLong(int a, long b) throws SQLException JavaDoc
384     { inner.setLong(a, b); }
385     
386     public void setFloat(int a, float b) throws SQLException JavaDoc
387     { inner.setFloat(a, b); }
388     
389     public void setDouble(int a, double b) throws SQLException JavaDoc
390     { inner.setDouble(a, b); }
391     
392     public void setURL(int a, URL JavaDoc b) throws SQLException JavaDoc
393     { inner.setURL(a, b); }
394     
395     public void setTime(int a, Time JavaDoc b) throws SQLException JavaDoc
396     { inner.setTime(a, b); }
397     
398     public void setTime(int a, Time JavaDoc b, Calendar JavaDoc c) throws SQLException JavaDoc
399     { inner.setTime(a, b, c); }
400     
401     public boolean execute() throws SQLException JavaDoc
402     { return inner.execute(); }
403     
404     public void setString(int a, String JavaDoc b) throws SQLException JavaDoc
405     { inner.setString(a, b); }
406     
407     public void setDate(int a, Date JavaDoc b, Calendar JavaDoc c) throws SQLException JavaDoc
408     { inner.setDate(a, b, c); }
409     
410     public void setDate(int a, Date JavaDoc b) throws SQLException JavaDoc
411     { inner.setDate(a, b); }
412     
413     public SQLWarning JavaDoc getWarnings() throws SQLException JavaDoc
414     { return inner.getWarnings(); }
415     
416     public void clearWarnings() throws SQLException JavaDoc
417     { inner.clearWarnings(); }
418     
419     public void setFetchDirection(int a) throws SQLException JavaDoc
420     { inner.setFetchDirection(a); }
421     
422     public int getFetchDirection() throws SQLException JavaDoc
423     { return inner.getFetchDirection(); }
424     
425     public void setFetchSize(int a) throws SQLException JavaDoc
426     { inner.setFetchSize(a); }
427     
428     public int getFetchSize() throws SQLException JavaDoc
429     { return inner.getFetchSize(); }
430     
431     public int getResultSetHoldability() throws SQLException JavaDoc
432     { return inner.getResultSetHoldability(); }
433     
434     public ResultSet JavaDoc executeQuery(String JavaDoc a) throws SQLException JavaDoc
435     { return inner.executeQuery(a); }
436     
437     public int executeUpdate(String JavaDoc a, int b) throws SQLException JavaDoc
438     { return inner.executeUpdate(a, b); }
439     
440     public int executeUpdate(String JavaDoc a, String JavaDoc[] b) throws SQLException JavaDoc
441     { return inner.executeUpdate(a, b); }
442     
443     public int executeUpdate(String JavaDoc a, int[] b) throws SQLException JavaDoc
444     { return inner.executeUpdate(a, b); }
445     
446     public int executeUpdate(String JavaDoc a) throws SQLException JavaDoc
447     { return inner.executeUpdate(a); }
448     
449     public int getMaxFieldSize() throws SQLException JavaDoc
450     { return inner.getMaxFieldSize(); }
451     
452     public void setMaxFieldSize(int a) throws SQLException JavaDoc
453     { inner.setMaxFieldSize(a); }
454     
455     public int getMaxRows() throws SQLException JavaDoc
456     { return inner.getMaxRows(); }
457     
458     public void setMaxRows(int a) throws SQLException JavaDoc
459     { inner.setMaxRows(a); }
460     
461     public void setEscapeProcessing(boolean a) throws SQLException JavaDoc
462     { inner.setEscapeProcessing(a); }
463     
464     public int getQueryTimeout() throws SQLException JavaDoc
465     { return inner.getQueryTimeout(); }
466     
467     public void setQueryTimeout(int a) throws SQLException JavaDoc
468     { inner.setQueryTimeout(a); }
469     
470     public void setCursorName(String JavaDoc a) throws SQLException JavaDoc
471     { inner.setCursorName(a); }
472     
473     public ResultSet JavaDoc getResultSet() throws SQLException JavaDoc
474     { return inner.getResultSet(); }
475     
476     public int getUpdateCount() throws SQLException JavaDoc
477     { return inner.getUpdateCount(); }
478     
479     public boolean getMoreResults() throws SQLException JavaDoc
480     { return inner.getMoreResults(); }
481     
482     public boolean getMoreResults(int a) throws SQLException JavaDoc
483     { return inner.getMoreResults(a); }
484     
485     public int getResultSetConcurrency() throws SQLException JavaDoc
486     { return inner.getResultSetConcurrency(); }
487     
488     public int getResultSetType() throws SQLException JavaDoc
489     { return inner.getResultSetType(); }
490     
491     public void addBatch(String JavaDoc a) throws SQLException JavaDoc
492     { inner.addBatch(a); }
493     
494     public void clearBatch() throws SQLException JavaDoc
495     { inner.clearBatch(); }
496     
497     public int[] executeBatch() throws SQLException JavaDoc
498     { return inner.executeBatch(); }
499     
500     public ResultSet JavaDoc getGeneratedKeys() throws SQLException JavaDoc
501     { return inner.getGeneratedKeys(); }
502     
503     public void close() throws SQLException JavaDoc
504     { inner.close(); }
505     
506     public boolean execute(String JavaDoc a, int b) throws SQLException JavaDoc
507     { return inner.execute(a, b); }
508     
509     public boolean execute(String JavaDoc a) throws SQLException JavaDoc
510     { return inner.execute(a); }
511     
512     public boolean execute(String JavaDoc a, int[] b) throws SQLException JavaDoc
513     { return inner.execute(a, b); }
514     
515     public boolean execute(String JavaDoc a, String JavaDoc[] b) throws SQLException JavaDoc
516     { return inner.execute(a, b); }
517     
518     public Connection JavaDoc getConnection() throws SQLException JavaDoc
519     { return inner.getConnection(); }
520     
521     public void cancel() throws SQLException JavaDoc
522     { inner.cancel(); }
523 }
524
Popular Tags