org.axiondb.engine.commands

Class ChildTableUpdater

public abstract class ChildTableUpdater extends BaseAxionCommand

Update/Delete Child rows for a given relation.

Author: Ahimanikya Satapathy

Method Summary
protected voiddeleteOrSetNullChildRows(Database db, Table parentTable, RowDecorator dec)
protected voiddeleteOrSetNullChildRows(Database db, Table parentTable, RowDecorator dec, ForeignKeyConstraint fk)
protected voidupdateOrSetNullChildRows(Database db, Table parentTable, Row parentOldRow, Row parentNewRow)
protected voidupdateOrSetNullChildRows(Database db, Table parentTable, Row parentOldRow, Row parentNewRow, ForeignKeyConstraint fk)

Method Detail

deleteOrSetNullChildRows

protected void deleteOrSetNullChildRows(Database db, Table parentTable, RowDecorator dec)

deleteOrSetNullChildRows

protected void deleteOrSetNullChildRows(Database db, Table parentTable, RowDecorator dec, ForeignKeyConstraint fk)

updateOrSetNullChildRows

protected void updateOrSetNullChildRows(Database db, Table parentTable, Row parentOldRow, Row parentNewRow)

updateOrSetNullChildRows

protected void updateOrSetNullChildRows(Database db, Table parentTable, Row parentOldRow, Row parentNewRow, ForeignKeyConstraint fk)