butler.ext.sequence
Class SequenceListener

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

public class SequenceListener
extends RecordListener.BaseImpl

Author:
Fredrik Bertilsson

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

Constructor Detail

SequenceListener

public SequenceListener(SequenceColumn col)
Method Detail

beforeInsert

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