01: package de.webman.acl.db.queries;
02:
03: import java.sql.Connection;
04: import java.sql.Types;
05: import com.teamkonzept.db.TKPrepQuery;
06:
07: /**
08: * $Header: /cvsroot/webman-cms/source/webman/de/webman/acl/db/queries/EventSelect.java,v 1.1 2001/08/20 08:25:09 mischa Exp $
09: *
10: * @version 0.10
11: * @since 0.10
12: * @author © 2000 Team-Konzept
13: */
14: public class EventSelect extends TKPrepQuery {
15:
16: // Constants
17:
18: public static final String[] ORDER = { "WM_EVENT_ID" };
19:
20: public static final Object[][] TYPES = { { "WM_EVENT_ID",
21: new Integer(Types.INTEGER) } };
22:
23: public static final boolean[] RELEVANTS = { true };
24:
25: public static final String SQL = "SELECT * FROM WM_EVENT WHERE WM_EVENT_ID = ?";
26:
27: // Method implementations
28:
29: public void initQuery(Connection connection) {
30: super .initQuery(connection, true, ORDER, TYPES, RELEVANTS, SQL);
31: }
32:
33: }
|