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

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

import java.sql.Connection;
import com.teamkonzept.db.*;

public class DeleteFromPresentationComponent extends TKPrepQuery
{

  public final static boolean prepared = true;

  public final static String[] order = { "PRESENTATION_ID", "PRESENTATION_COMPONENT_IDX" };

  public final static Object[][] types = null;

  public final static boolean[] relevants = { true };

  public final static String sqlString = (new StringBuffer("DELETE FROM PRESENTATION_COMPONENT ")
                                         .append("WHERE ")
                                         .append("PRESENTATION_ID = ? AND PRESENTATION_COMPONENT_IDX = ?")).toString();

  public void initQuery(Connection con) {
    super.initQuery(
      con,
      prepared,
      order,
      types,
      relevants,
      sqlString );
  }

}
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.