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

Java Open Source » Content Management System » webman 
webman » com » teamkonzept » webman » mainint » db » queries » TKDBStructContDel.java
/*
 * $Header: /cvsroot/webman-cms/source/webman/com/teamkonzept/webman/mainint/db/queries/Attic/TKDBStructContDel.java,v 1.5 2000/05/22 15:01:50 careck Exp $
 *
 */
package com.teamkonzept.webman.mainint.db.queries;

import java.sql.*;

import com.teamkonzept.db.*;

/*
 * TKDBStructContDel
 *
 * Input: SITE_NODE_ID, FORM_ID
 * Output: none
 */
public class TKDBStructContDel extends TKPrepQuery{

  public final static boolean isPrepared =
    true;
  
  public final static String[] paramOrder =
    {"SITE_NODE_ID", "FORM_ID"};
  
  public final static Object[][] paramTypes =
    null;
    
  public final static boolean[] setRelevants =
    { false };
    
  public final static String sqlString =
    "DELETE FROM " +
    " STRUCTURED_CONTENT " +
    "WHERE " +
    " SITE_NODE_ID = ? " +
    "AND " +
    " FORM_ID = ? ";
  
  public void initQuery(Connection con) {
    super.initQuery(
      con, 
      isPrepared, 
      paramOrder, 
      paramTypes,
      setRelevants,
      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.