TKContentInstanceDBInterface.java :  » Content-Management-System » webman » com » teamkonzept » webman » mainint » db » Java Open Source

Java Open Source » Content Management System » webman 
webman » com » teamkonzept » webman » mainint » db » TKContentInstanceDBInterface.java
package com.teamkonzept.webman.mainint.db;

import com.teamkonzept.db.*;
import com.teamkonzept.webman.mainint.db.queries.*;

import java.sql.*;

public class TKContentInstanceDBInterface extends TKDBInterface {

  public final static Class newPrimQuery = TKContentInstanceNew.class;
  public final static Class updatePrimQuery = TKContentInstanceUpdate.class;
  public final static Class getPrimQuery = TKContentInstanceGet.class;
  public final static Class delPrimQuery = TKContentInstanceDel.class;

  public static TKContentInstanceDBInterface self = new TKContentInstanceDBInterface();

  public TKContentInstanceDBInterface () {

    super (newPrimQuery,updatePrimQuery,getPrimQuery,delPrimQuery);
  }

  public static void Put (TKContentInstanceDBData dbData) throws SQLException {

    self.updateEntry (dbData);
  }

  public static void Get (TKContentInstanceDBData dbData) throws SQLException {

    self.getEntry (dbData);
  }

  public static void Del (TKContentInstanceDBData dbData) throws SQLException {

    self.delEntry (dbData);
  }

  public static void New (TKContentInstanceDBData dbData) throws SQLException {

    self.newEntry (dbData);
  }
  //{{DECLARE_CONTROLS
  //}}
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.