01: /*
02: * $Header: /cvsroot/webman-cms/source/webman/com/teamkonzept/webman/mainint/db/queries/content/MediaGetAttributes.java,v 1.2 2001/02/01 12:28:13 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 MediaGetAttributes extends TKPrepQuery {
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 = { true };
20:
21: public final static String sqlString =
22:
23: " SELECT " + " NAME, MEDIA_SIZE, UP_DATE " + " FROM MEDIA "
24: + " WHERE MEDIA_ID = ? ";
25:
26: public void initQuery(Connection con) {
27: super.initQuery(con, isPrepared, paramOrder, paramTypes,
28: setRelevants, sqlString);
29: }
30: }
|