KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > teamkonzept > webman > mainint > db > queries > presentation > DeleteFromPresentationContent


1 package com.teamkonzept.webman.mainint.db.queries.presentation;
2
3 import java.sql.Connection JavaDoc;
4 import com.teamkonzept.db.*;
5
6 public class DeleteFromPresentationContent extends TKPrepQuery
7 {
8
9     public final static boolean prepared = true;
10
11     public final static String JavaDoc[] order = { "PRESENTATION_ID", "PRESENTATION_COMPONENT_IDX" };
12
13     public final static Object JavaDoc[][] types = null;
14
15     public final static boolean[] relevants = { true };
16
17     public final static String JavaDoc sqlString = (new StringBuffer JavaDoc("DELETE FROM PRESENTATION_CONTENT ")
18                                           .append("WHERE ")
19                                           .append("PRESENTATION_ID = ? AND ")
20                                           .append("PRESENTATION_COMPONENT_IDX = ?")).toString();
21
22     public void initQuery(Connection JavaDoc con) {
23         super.initQuery(
24             con,
25             prepared,
26             order,
27             types,
28             relevants,
29             sqlString );
30     }
31
32 }
Popular Tags