01: /*
02: * $Header: /cvsroot/webman-cms/source/webman/com/teamkonzept/webman/mainint/db/queries/content/MediaDelete.java,v 1.1 2001/05/23 09:12:49 marwan Exp $
03: *
04: */
05: package com.teamkonzept.webman.mainint.db.queries.content;
06:
07: import java.sql.*;
08:
09: import com.teamkonzept.db.*;
10:
11: public class MediaDelete extends TKPrepQuery implements QueryConstants {
12:
13: public final static boolean isPrepared = true;
14:
15: public final static String[] paramOrder = { MEDIA_ID };
16:
17: public final static Object[][] paramTypes = null;
18:
19: public final static boolean[] setRelevants = null;
20:
21: public final static String sqlString =
22:
23: " DELETE FROM MEDIA " + " WHERE MEDIA_ID = ? "
24:
25: ;
26:
27: public void initQuery(Connection con) {
28: super.initQuery(con, isPrepared, paramOrder, paramTypes,
29: setRelevants, sqlString);
30: }
31: }
|