1 package com.teamkonzept.webman.mainint.db.queries.duplication.postgresql; 2 3 import com.teamkonzept.db.*; 4 import com.teamkonzept.webman.mainint.DatabaseDefaults; 5 6 import java.io.*; 7 import java.util.*; 8 import java.sql.*; 9 10 public class ExecuteDuplication extends TKPrepQuery implements DatabaseDefaults{ 11 12 public final static boolean ISPREPARED = 13 true; 14 15 public final static String [] PARAMORDER = 16 { 17 TKDBDuplicateQuery.TEMPLATE_ROOT_ID, 18 TKDBDuplicateQuery.TARGET_ROOT_ID, 19 TKDBDuplicateQuery.NEW_CONTENT_ROOT_NAME, 20 TKDBDuplicateQuery.NEW_CONTENT_ROOT_SHORTNAME, 21 TKDBDuplicateQuery.ST_SUBTREE_ROOT_ID, 22 TKDBDuplicateQuery.ST_TARGET_ROOT_ID, 23 TKDBDuplicateQuery.NEW_SITE_ROOT_NAME, 24 TKDBDuplicateQuery.NEW_SITE_ROOT_SHORTNAME 25 }; 26 27 public final static Object [][] PARAMTYPES = 28 null; 29 30 public final static boolean[] SETRELEVANTS = 31 null; 32 33 public final static String SQLSTRING = 34 "select dup__duplicate_manager(?,?,?,?,?,?,?,?)"; 35 36 public void initQuery(Connection con) { 37 super.initQuery( 38 con, 39 ISPREPARED, 40 PARAMORDER, 41 PARAMTYPES, 42 SETRELEVANTS, 43 SQLSTRING ); 44 } 45 } 46 47 | Popular Tags |