01: package com.teamkonzept.webman.mainint.db.queries.content;
02:
03: import java.sql.Connection;
04: import com.teamkonzept.db.*;
05:
06: public class SelectContentTree extends TKPrepQuery {
07:
08: public final static boolean prepared = true;
09:
10: public final static String[] order = { "ID" };
11:
12: public final static Object[][] types = null;
13:
14: public final static boolean[] relevants = { true };
15:
16: public final static String sqlString = (new StringBuffer(
17: "SELECT CONTENT_NODE_ID, CONTENT_NODE_NAME, CONTENT_NODE_SHORTNAME, ")
18: .append("CONTENT_NODE_TYPE, LEFT_NR, RIGHT_NR, CONTENT_FORM ")
19: .append("FROM CONTENT_TREE WHERE CONTENT_NODE_ID = ?"))
20: .toString();
21:
22: public void initQuery(Connection con) {
23: super.initQuery(con, prepared, order, types, relevants,
24: sqlString);
25: }
26:
27: }
|