01: package com.teamkonzept.webman.mainint.db.queries.content;
02:
03: import java.sql.Connection;
04: import com.teamkonzept.db.*;
05:
06: /**
07: *
08: * @author
09: * @version
10: */
11: public class DeleteFromContentTree extends TKPrepQuery {
12:
13: public final static boolean PREPARED = true;
14: public final static String[] ORDER = { "LEFT_NR", "RIGHT_NR" };
15: public final static Object[][] TYPES = null;
16: public final static boolean[] RELEVANTS = { true };
17:
18: public final static String SQLSTRING = "DELETE FROM CONTENT_TREE WHERE LEFT_NR >= ? AND RIGHT_NR <= ?";
19:
20: public void initQuery(Connection con) {
21: super.initQuery(con, PREPARED, ORDER, TYPES, RELEVANTS,
22: SQLSTRING);
23: }
24:
25: }
|