butler.ext.attribute
Class AttributeListener

java.lang.Object
  extended by butler.sql.record.RecordListener.BaseImpl
      extended by butler.ext.attribute.AttributeListener
All Implemented Interfaces:
RecordListener

public class AttributeListener
extends RecordListener.BaseImpl

Listener that updates dynamic attributes.

Author:
Fredrik Bertilsson

Nested Class Summary
 
Nested classes/interfaces inherited from interface butler.sql.record.RecordListener
RecordListener.BaseImpl
 
Constructor Summary
AttributeListener(Table tab)
           
 
Method Summary
 void afterDelete(Record rec)
           
 void afterInsert(Record rec)
           
 void afterUpdate(Record rec)
           
 
Methods inherited from class butler.sql.record.RecordListener.BaseImpl
afterSet, beforeDelete, beforeInsert, beforeSet, beforeUpdate, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeListener

public AttributeListener(Table tab)
                  throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

afterInsert

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

afterUpdate

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

afterDelete

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