KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > teamkonzept > webman > mainint > db > queries > content > DeleteFromContentTree


1 package com.teamkonzept.webman.mainint.db.queries.content;
2
3 import java.sql.Connection JavaDoc;
4 import com.teamkonzept.db.*;
5
6 /**
7  *
8  * @author
9  * @version
10  */

11 public class DeleteFromContentTree extends TKPrepQuery
12 {
13
14     public final static boolean PREPARED = true;
15     public final static String JavaDoc[] ORDER = { "LEFT_NR", "RIGHT_NR" };
16     public final static Object JavaDoc[][] TYPES = null;
17     public final static boolean[] RELEVANTS = { true };
18
19     public final static String JavaDoc SQLSTRING = "DELETE FROM CONTENT_TREE WHERE LEFT_NR >= ? AND RIGHT_NR <= ?";
20
21     public void initQuery(Connection JavaDoc con) {
22         super.initQuery(
23             con,
24             PREPARED,
25             ORDER,
26             TYPES,
27             RELEVANTS,
28             SQLSTRING );
29     }
30
31 }
32
Popular Tags