1 package de.webman.content.workflow.db.queries; 2 3 4 import com.teamkonzept.db.*; 5 import java.sql.*; 6 7 12 public class InsertFilterRule extends TKPrepQuery 13 { 14 15 public final static boolean IS_PREPARED = 16 true; 17 18 public final static String [] PARAM_ORDER = 19 { "FILTER_ID", "STATUS_ID", "RULE_TYPE" }; 20 21 public final static Object [][] PARAM_TYPES = 22 null; 23 24 public final static boolean[] SET_RELEVANTS = 25 { true }; 26 27 public final static String SQL_STRING = 28 29 "INSERT INTO " + 30 "VERSION_STATUS_FILTER_RULE " + 31 " (FILTER_ID, STATUS_ID, RULE_TYPE) " + 32 "VALUES(?, ?, ?) "; 33 34 public void initQuery(Connection con) { 35 super.initQuery( 36 con, 37 IS_PREPARED, 38 PARAM_ORDER, 39 PARAM_TYPES, 40 SET_RELEVANTS, 41 SQL_STRING ); 42 } 43 } 44 | Popular Tags |