org.axiondb.engine.commands
Class ChildTableUpdater

java.lang.Object
  extended by org.axiondb.engine.commands.BaseAxionCommand
      extended by org.axiondb.engine.commands.ChildTableUpdater
All Implemented Interfaces:
AxionCommand
Direct Known Subclasses:
DeleteCommand, UpdateCommand, UpsertCommand

public abstract class ChildTableUpdater
extends BaseAxionCommand

Update/Delete Child rows for a given relation.


Constructor Summary
ChildTableUpdater()
           
 
Method Summary
protected  void deleteOrSetNullChildRows(Database db, Table parentTable, RowDecorator dec)
           
protected  void deleteOrSetNullChildRows(Database db, Table parentTable, RowDecorator dec, ForeignKeyConstraint fk)
           
protected  void updateOrSetNullChildRows(Database db, Table parentTable, Row parentOldRow, Row parentNewRow)
           
protected  void updateOrSetNullChildRows(Database db, Table parentTable, Row parentOldRow, Row parentNewRow, ForeignKeyConstraint fk)
           
 
Methods inherited from class org.axiondb.engine.commands.BaseAxionCommand
assertNotReadOnly, attemptToConvertValue, bindAll, buildBindVariables, clearBindings, createResolveSelectableVisitor, executeQuery, getBindVariableIterator, getBindVariableIterator, getBindVariables, getBindVariableVisitor, getColIdentifierList, getCommitSize, getEffectedRowCount, getResultSet, getRowIterator, makeRowDecorator, populateDefaultValues, populateSequenceColumns, resolveGeneratedColumns, resolveGeneratedColumns, resolveSelectable, resolveSelectable, resolveSelectableList, resolveSelectableList, setBindVariableVisitor, setDeferAllConstraintIfRequired, setEffectedRowCount, setResultSet, updateGeneratedValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.axiondb.AxionCommand
execute, executeQuery, executeUpdate
 

Constructor Detail

ChildTableUpdater

public ChildTableUpdater()
Method Detail

deleteOrSetNullChildRows

protected void deleteOrSetNullChildRows(Database db,
                                        Table parentTable,
                                        RowDecorator dec)
                                 throws AxionException
Throws:
AxionException

deleteOrSetNullChildRows

protected void deleteOrSetNullChildRows(Database db,
                                        Table parentTable,
                                        RowDecorator dec,
                                        ForeignKeyConstraint fk)
                                 throws AxionException
Throws:
AxionException

updateOrSetNullChildRows

protected void updateOrSetNullChildRows(Database db,
                                        Table parentTable,
                                        Row parentOldRow,
                                        Row parentNewRow)
                                 throws AxionException
Throws:
AxionException

updateOrSetNullChildRows

protected void updateOrSetNullChildRows(Database db,
                                        Table parentTable,
                                        Row parentOldRow,
                                        Row parentNewRow,
                                        ForeignKeyConstraint fk)
                                 throws AxionException
Throws:
AxionException