1 package com.teamkonzept.webman.mainint.db; 2 3 import com.teamkonzept.db.*; 4 import com.teamkonzept.webman.mainint.db.queries.*; 5 6 import java.sql.*; 7 8 public class TKContentInstanceDBInterface extends TKDBInterface { 9 10 public final static Class newPrimQuery = TKContentInstanceNew.class; 11 public final static Class updatePrimQuery = TKContentInstanceUpdate.class; 12 public final static Class getPrimQuery = TKContentInstanceGet.class; 13 public final static Class delPrimQuery = TKContentInstanceDel.class; 14 15 public static TKContentInstanceDBInterface self = new TKContentInstanceDBInterface(); 16 17 public TKContentInstanceDBInterface () { 18 19 super (newPrimQuery,updatePrimQuery,getPrimQuery,delPrimQuery); 20 } 21 22 public static void Put (TKContentInstanceDBData dbData) throws SQLException { 23 24 self.updateEntry (dbData); 25 } 26 27 public static void Get (TKContentInstanceDBData dbData) throws SQLException { 28 29 self.getEntry (dbData); 30 } 31 32 public static void Del (TKContentInstanceDBData dbData) throws SQLException { 33 34 self.delEntry (dbData); 35 } 36 37 public static void New (TKContentInstanceDBData dbData) throws SQLException { 38 39 self.newEntry (dbData); 40 } 41 } 44
| Popular Tags
|