org.dasein.persist.jdbc
Class Deleter

java.lang.Object
  extended by org.dasein.persist.Execution
      extended by org.dasein.persist.jdbc.AutomatedSql
          extended by org.dasein.persist.jdbc.Deleter

public class Deleter
extends AutomatedSql


Nested Class Summary
 
Nested classes/interfaces inherited from class org.dasein.persist.jdbc.AutomatedSql
AutomatedSql.Criterion, AutomatedSql.Join, AutomatedSql.Operator, AutomatedSql.TranslationMethod
 
Field Summary
 
Fields inherited from class org.dasein.persist.Execution
connection, DASEIN_PERSIST_PROPERTIES, data, dsn, PROPERTIES, results, statement
 
Constructor Summary
Deleter()
           
 
Method Summary
 String getStatement()
           
 void prepare(Map<String,Object> params)
           
 Map<String,Object> run(Transaction xaction, Map<String,Object> params)
           
 
Methods inherited from class org.dasein.persist.jdbc.AutomatedSql
getColumns, getCriteria, getEntityJoin, getJoin, getJoinEntities, getJoinTable, getSqlName, getSqlName, getSqlNameForClassName, getTableName, getTarget, getTranslationMethod, getTranslators, getTypes, init, isTranslating, loadStringTranslations, parseFields, prepare, prepare, prepareFor, prepareFor, removeStringTranslations, saveStringTranslation, setCriteria, setCriteria, setCriteria, setCriteria, setCustomTranslating, setEntityJoins, setTarget, setTarget, setTarget, setTranslating, setTranslating
 
Methods inherited from class org.dasein.persist.Execution
close, execute, getConnection, getDataSource, getDataSourceName, getDataSourceName, getIdentifier, getIdentifier, getInstance, getQuotes, getState, getStatement, getStatement, isReadOnly, isUpperCase, run, saveStringTranslation, setData, setDsn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Deleter

public Deleter()
Method Detail

getStatement

public String getStatement()
                    throws SQLException
Overrides:
getStatement in class Execution
Returns:
the SQL for this event
Throws:
SQLException

prepare

public void prepare(Map<String,Object> params)
             throws SQLException
Throws:
SQLException

run

public Map<String,Object> run(Transaction xaction,
                              Map<String,Object> params)
                       throws SQLException,
                              PersistenceException
Overrides:
run in class Execution
Throws:
SQLException
PersistenceException


Copyright © 2011 enStratus Networks LLC. All Rights Reserved.