KickJava   Java API By Example, From Geeks To Geeks.

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


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/ContextSelectAll.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 ContextSelectAll
15     extends TKPrepQuery
16 {
17
18     // Constants
19

20     public static final boolean[] RELEVANTS = {true};
21
22     public static final String JavaDoc SQL = "SELECT WM_CONTEXT_ID FROM WM_CONTEXT";
23
24
25     // Method implementations
26

27     public void initQuery (Connection JavaDoc connection)
28     {
29         super.initQuery(connection,
30                         true,
31                         null,
32                         null,
33                         RELEVANTS,
34                         SQL);
35     }
36
37 }
38
Popular Tags