1 package com.teamkonzept.webman.mainint.db.queries.content; 2 3 import java.sql.Connection ; 4 import com.teamkonzept.db.*; 5 6 11 public class DeleteFromContentTree extends TKPrepQuery 12 { 13 14 public final static boolean PREPARED = true; 15 public final static String [] ORDER = { "LEFT_NR", "RIGHT_NR" }; 16 public final static Object [][] TYPES = null; 17 public final static boolean[] RELEVANTS = { true }; 18 19 public final static String SQLSTRING = "DELETE FROM CONTENT_TREE WHERE LEFT_NR >= ? AND RIGHT_NR <= ?"; 20 21 public void initQuery(Connection con) { 22 super.initQuery( 23 con, 24 PREPARED, 25 ORDER, 26 TYPES, 27 RELEVANTS, 28 SQLSTRING ); 29 } 30 31 } 32 | Popular Tags |