KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > teamkonzept > webman > mainint > db > queries > sitetree > DeleteFromContentValue


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

11 public class DeleteFromContentValue extends TKPrepQuery
12 {
13
14     public final static boolean PREPARED = true;
15     public final static String JavaDoc[] ORDER = { "CONTENT_ID" };
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 " +
20                            " CONTENT_VALUE " +
21                            " WHERE " +
22                            " CONTENT_ID = ? ";
23
24     public void initQuery(Connection JavaDoc con) {
25         super.initQuery(
26             con,
27             PREPARED,
28             ORDER,
29             TYPES,
30             RELEVANTS,
31             SQLSTRING );
32     }
33
34 }
35
Popular Tags