butler.sql.record
Class RecordAdapter

java.lang.Object
  extended bybutler.sql.record.RecordAdapter
All Implemented Interfaces:
RecordListener

public class RecordAdapter
extends java.lang.Object
implements RecordListener

Author:
Fredrik Bertilsson

Nested Class Summary
 
Nested classes inherited from class butler.sql.record.RecordListener
RecordListener.BaseImpl
 
Constructor Summary
RecordAdapter()
           
 
Method Summary
 void afterDelete(Record rec)
           
 void afterInsert(Record rec)
           
 void afterSet(Record rec, Column col, java.lang.Object value)
           
 void afterUpdate(Record rec)
           
 void beforeDelete(Record rec)
           
 void beforeInsert(Record rec)
           
 void beforeSet(Record rec, Column col, java.lang.Object value)
           
 void beforeUpdate(Record rec)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecordAdapter

public RecordAdapter()
Method Detail

beforeUpdate

public void beforeUpdate(Record rec)
                  throws java.lang.Exception
Specified by:
beforeUpdate in interface RecordListener
Throws:
java.lang.Exception

afterUpdate

public void afterUpdate(Record rec)
                 throws java.lang.Exception
Specified by:
afterUpdate in interface RecordListener
Throws:
java.lang.Exception

beforeInsert

public void beforeInsert(Record rec)
                  throws java.lang.Exception
Specified by:
beforeInsert in interface RecordListener
Throws:
java.lang.Exception

afterInsert

public void afterInsert(Record rec)
                 throws java.lang.Exception
Specified by:
afterInsert in interface RecordListener
Throws:
java.lang.Exception

beforeDelete

public void beforeDelete(Record rec)
                  throws java.lang.Exception
Specified by:
beforeDelete in interface RecordListener
Throws:
java.lang.Exception

afterDelete

public void afterDelete(Record rec)
                 throws java.lang.Exception
Specified by:
afterDelete in interface RecordListener
Throws:
java.lang.Exception

beforeSet

public void beforeSet(Record rec,
                      Column col,
                      java.lang.Object value)
               throws java.lang.Exception
Specified by:
beforeSet in interface RecordListener
Throws:
java.lang.Exception

afterSet

public void afterSet(Record rec,
                     Column col,
                     java.lang.Object value)
              throws java.lang.Exception
Specified by:
afterSet in interface RecordListener
Throws:
java.lang.Exception