org.squashtest.csp.h2.triggers
Class RLNBeforeDetach

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

public class RLNBeforeDetach
extends org.h2.tools.TriggerAdapter

Triggered before a RequirementLibraryNode is detached from its parent. It will cut from the relationship closure table the subtree of the detached node.

Author:
bsiri

Field Summary
 
Fields inherited from class org.h2.tools.TriggerAdapter
before, schemaName, tableName, triggerName, type
 
Fields inherited from interface org.h2.api.Trigger
DELETE, INSERT, SELECT, UPDATE
 
Constructor Summary
RLNBeforeDetach()
           
 
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

RLNBeforeDetach

public RLNBeforeDetach()
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.