KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > teamkonzept > webman > mainint > db > queries > TKDBContentTreeGetForm


1 package com.teamkonzept.webman.mainint.db.queries;
2
3 import com.teamkonzept.db.*;
4 import java.sql.*;
5
6 /*
7  * TKDBContentTreeGetType
8  * Holt alle Contents eines Content-Tree-Knotens
9  *
10  * Input: CONTENT_NODE_TYPE
11  * Output: alle Datensaetze des Typs order by LEFT_NR
12  */

13 public class TKDBContentTreeGetForm extends TKPrepQuery {
14
15     public final static boolean isPrepared =
16         true;
17     
18     public final static String JavaDoc[] paramOrder =
19         { "CONTENT_NODE_ID" };
20     
21     public final static Object JavaDoc[][] paramTypes =
22         null;
23                 
24     public final static boolean[] setRelevants =
25         { true };
26         
27     public final static String JavaDoc sqlString =
28         "SELECT " +
29         " CONTENT_FORM " +
30         "FROM " +
31         " CONTENT_TREE " +
32         "WHERE " +
33         " CONTENT_NODE_ID = ? ";
34
35     
36     public void initQuery(Connection con) {
37         super.initQuery(
38             con,
39             isPrepared,
40             paramOrder,
41             paramTypes,
42             setRelevants,
43             sqlString );
44     }
45 }
46
Popular Tags