org.squashtest.csp.h2.triggers
Class CLNBeforeDetach

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

public class CLNBeforeDetach
extends org.h2.tools.TriggerAdapter

Triggered before a CampaignLibraryNode 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
CLNBeforeDetach()
           
 
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

CLNBeforeDetach

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