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/UserSelectByLogin.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 UserSelectByLogin extends TKPrepQuery {
15:
16: // Constants
17:
18: public static final String[] ORDER = { "LOGIN" };
19:
20: public static final Object[][] TYPES = { { "LOGIN",
21: new Integer(Types.VARCHAR) } };
22:
23: public static final boolean[] RELEVANTS = { true };
24:
25: public static final String SQL = "SELECT WM_USER_ID FROM WM_USER WHERE LOGIN = ?";
26:
27: // Method implementations
28:
29: public void initQuery(Connection connection) {
30: super .initQuery(connection, true, ORDER, TYPES, RELEVANTS, SQL);
31: }
32:
33: }
|