KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > teamkonzept > webman > mainint > db > queries > sitetree > GetStRootID


1 /*
2  * $Header: /cvsroot/webman-cms/source/webman/com/teamkonzept/webman/mainint/db/queries/sitetree/Attic/GetStRootID.java,v 1.5 2036/02/08 19:14:30 markus Exp $
3  *
4  */

5 package com.teamkonzept.webman.mainint.db.queries.sitetree;
6
7 import java.sql.*;
8
9 import com.teamkonzept.db.*;
10
11 /**
12  * @author
13  * @version
14  */

15 public class GetStRootID extends TKPrepQuery implements QueryConstants{
16
17     public final static boolean ISPREPARED = true;
18     public final static String JavaDoc[] PARAMORDER = null;
19     public final static Object JavaDoc[][] PARAMTYPES = null;
20     public final static boolean[] SETRELEVANTS = { true };
21         
22     public final static String JavaDoc SQLSTRING =
23         
24             " SELECT SITE_NODE_ID AS " + NODE_ID +
25             " FROM SITE_TREE " +
26             " WHERE SITE_NODE_PARENT " + DBStringFactory.equalsNull() ;
27     
28     public void initQuery(Connection con) {
29         super.initQuery(
30             con,
31             ISPREPARED,
32             PARAMORDER,
33             PARAMTYPES,
34             SETRELEVANTS,
35             SQLSTRING );
36     }
37 }
38
39
40
Popular Tags