KickJava   Java API By Example, From Geeks To Geeks.

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


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 DeleteFromPresentationComponent 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_COMPONENT ")
18                                          .append("WHERE ")
19                                          .append("PRESENTATION_ID = ? AND PRESENTATION_COMPONENT_IDX = ?")).toString();
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 }
Popular Tags