01: package com.teamkonzept.field.db.queries;
02:
03: import com.teamkonzept.db.*;
04: import com.teamkonzept.lib.*;
05:
06: import java.io.*;
07: import java.util.*;
08: import java.sql.*;
09:
10: public class TKDBGetContentTreeChildren extends TKPrepQuery {
11:
12: public final static boolean isPrepared = true;
13:
14: public final static String[] paramOrder = { "PARENT_NODE_ID" };
15:
16: public final static Object[][] paramTypes = null;
17:
18: public final static boolean[] setRelevants = { true };
19:
20: public final static String sqlString = "SELECT " + " * " + "FROM "
21: + " CONTENT_TREE CT " + "WHERE "
22: + " CT.CONTENT_NODE_PARENT = ? ";
23:
24: public void initQuery(Connection con) {
25: super.initQuery(con, isPrepared, paramOrder, paramTypes,
26: setRelevants, sqlString);
27: }
28: }
|