1 package com.teamkonzept.webman.mainint.db.queries.presentation; 2 3 import com.teamkonzept.db.TKPrepQuery; 4 import java.sql.Connection ; 5 6 10 public class CheckPresentationDependency extends TKPrepQuery 11 { 12 13 public final static boolean PREPARED = true; 14 15 public final static String [] ORDER = { "PRESENTATION_ID" }; 16 17 public final static Object [][] TYPES = { }; 18 19 public final static boolean[] RELEVANTS = { true }; 20 21 public final static String SQL_STRING = "SELECT DOCUMENT_NAME, SITE_NODE_ID FROM SITE_DOCUMENT " 22 + " WHERE PRESENTATION_ID = ?"; 23 24 public void initQuery(Connection con) { 25 super.initQuery( 26 con, 27 PREPARED, 28 ORDER, 29 TYPES, 30 RELEVANTS, 31 SQL_STRING ); 32 } 33 34 } | Popular Tags |