com.iplanet.jato.model.sql
Interface DeleteQueryModel

All Superinterfaces:
DeletingModel, ExecutingModel, Model, ModifyingQueryModel, QueryModel, SQLModel
All Known Implementing Classes:
QueryModelBase

public interface DeleteQueryModel
extends ModifyingQueryModel, DeletingModel

Specialization of QueryModel that supports DELETE SQL queries

Version:
JATO/1.2.2 $Id: DeleteQueryModel.java,v 1.9 2002/03/16 03:26:32 todd Exp $

Method Summary
 int executeDelete(ModelExecutionContext context)
          Executes the model in deleting mode, using the provided execution context
 
Methods inherited from interface com.iplanet.jato.model.sql.ModifyingQueryModel
getNumAffectedRows
 
Methods inherited from interface com.iplanet.jato.model.sql.QueryModel
getFieldSchema
 
Methods inherited from interface com.iplanet.jato.model.sql.SQLModel
getDataSourceName
 
Methods inherited from interface com.iplanet.jato.model.ExecutingModel
execute
 
Methods inherited from interface com.iplanet.jato.model.Model
getName, getValue, getValues, setName, setValue, setValues
 
Methods inherited from interface com.iplanet.jato.model.DeletingModel
delete
 

Method Detail

executeDelete

public int executeDelete(ModelExecutionContext context)
                  throws java.sql.SQLException,
                         ModelControlException
Executes the model in deleting mode, using the provided execution context
Parameters:
context - The execution context to be used during the execution of this query. This parameter cannot be null or an java.lang.IllegalArgumentException will be thrown.
Returns:
The number of rows in the database affected by this query