1 package com.teamkonzept.webman.mainint.db.queries.content; 2 3 import java.sql.Connection ; 4 import com.teamkonzept.db.*; 5 6 public class SelectDocumentContent extends TKPrepQuery 7 { 8 9 public final static boolean prepared = true; 10 11 public final static String [] paramOrder = 12 { 13 "SITE_NODE_ID", "SITE_NODE_DOC_IDX", 14 "PRESENTATION_COMPONENT_IDX" 15 }; 16 17 public final static Object [][] types = null; 18 19 public final static boolean[] relevants = { true }; 20 21 public final static String sqlString = "SELECT SELECTION_ID FROM DOCUMENT_CONTENT WHERE SITE_NODE_ID = ? AND SITE_NODE_DOC_IDX = ? AND PRESENTATION_COMPONENT_IDX = ?"; 22 23 public void initQuery(Connection con) { 24 super.initQuery( 25 con, 26 prepared, 27 paramOrder, 28 types, 29 relevants, 30 sqlString ); 31 } 32 33 } | Popular Tags |