KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > teamkonzept > webman > mainint > db > queries > TKDBContentTreeIsDependent


1 package com.teamkonzept.webman.mainint.db.queries;
2
3 import java.sql.*;
4 import java.util.Enumeration JavaDoc;
5 import com.teamkonzept.db.*;
6 import com.teamkonzept.webman.mainint.db.queries.content.*;
7 import com.teamkonzept.webman.mainint.WebmanExceptionHandler;
8
9 /*
10  * TKDBContentTreeIsDependent
11  * Schaut ob abhaengigkeiten CONTENT_TREE zu DOCUMENT_CONTENT oder
12  * SITE_TREE
13  * Input: CONTENT_NODE_ID
14  * Output: "ISDEPENDENT" = 0 || 1
15  */

16 public class TKDBContentTreeIsDependent extends TKPrepQuery
17 {
18
19     public static boolean isPrepared = true;
20     public static String JavaDoc[] paramOrder = { "CONTENT_NODE_ID" };
21     public static Object JavaDoc[][] types = null;
22     public static boolean[] setRelevants = { true };
23
24
25     public boolean execute()
26     {
27         throw new RuntimeException JavaDoc("datenbank-spezifische Query im jeweiligen Sub-Package fehlt!");
28     }
29
30     public void initQuery(Connection con)
31     {
32     super.initQuery(con,
33             isPrepared, paramOrder, types, setRelevants, null);
34     }
35 }
36
Popular Tags