org.squashtest.csp.h2.triggers
Class RLNBeforeDelete

java.lang.Object
  extended by org.h2.tools.TriggerAdapter
      extended by org.squashtest.csp.h2.triggers.RLNBeforeDelete
All Implemented Interfaces:
org.h2.api.Trigger

public class RLNBeforeDelete
extends org.h2.tools.TriggerAdapter

Triggered before a RequirementLibraryNode is deleted. It will remove the self-reference of that node in RLN_RELATIONSHIP_CLOSURE that was previously inserted by RLNAfterInsert.

Author:
bsiri

Field Summary
 
Fields inherited from interface org.h2.api.Trigger
DELETE, INSERT, SELECT, UPDATE
 
Constructor Summary
RLNBeforeDelete()
           
 
Method Summary
 void fire(Connection conn, ResultSet oldRow, ResultSet newRow)
           
 
Methods inherited from class org.h2.tools.TriggerAdapter
close, fire, init, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RLNBeforeDelete

public RLNBeforeDelete()
Method Detail

fire

public void fire(Connection conn,
                 ResultSet oldRow,
                 ResultSet newRow)
          throws SQLException
Specified by:
fire in class org.h2.tools.TriggerAdapter
Throws:
SQLException


Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.