KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > de > webman > acl > db > queries > ActionEventSelectByAction


1 package de.webman.acl.db.queries;
2
3 import java.sql.Connection JavaDoc;
4 import java.sql.Types JavaDoc;
5 import com.teamkonzept.db.TKPrepQuery;
6
7 /**
8  * $Header: /cvsroot/webman-cms/source/webman/de/webman/acl/db/queries/ActionEventSelectByAction.java,v 1.1 2001/08/20 08:25:09 mischa Exp $
9  *
10  * @version 0.10
11  * @since 0.10
12  * @author © 2000 Team-Konzept
13  */

14 public class ActionEventSelectByAction
15     extends TKPrepQuery
16 {
17
18     // Constants
19

20     public static final String JavaDoc[] ORDER =
21     {
22         "WM_ACTION_ID"
23     };
24
25     public static final Object JavaDoc[][] TYPES =
26     {
27         {"WM_ACTION_ID", new Integer JavaDoc(Types.INTEGER)}
28     };
29
30     public static final boolean[] RELEVANTS =
31     {
32         true
33     };
34
35     public static final String JavaDoc SQL = "SELECT WM_EVENT_ID FROM WM_ACTION_EVENT WHERE WM_ACTION_ID = ?";
36
37
38     // Method implementations
39

40     public void initQuery (Connection JavaDoc connection)
41     {
42         super.initQuery(connection,
43                         true,
44                         ORDER,
45                         TYPES,
46                         RELEVANTS,
47                         SQL);
48     }
49
50 }
51
Popular Tags