KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > daffodilwoods > daffodildb > server > serversystem > dmlvalidation > triggersystem > _TriggerTable


1 package com.daffodilwoods.daffodildb.server.serversystem.dmlvalidation.triggersystem;
2
3 import com.daffodilwoods.database.resource.DException;
4 import com.daffodilwoods.daffodildb.server.serversystem.*;
5
6
7 /**
8  *
9  * <p>Title: Trigger Table</p>
10  * <p>Description: </p>
11  * Triggertable main purpose is to fire (After/Before) triggers from their triggerDescriptors
12  */

13 public interface _TriggerTable {
14
15   /**
16    * Passes the call to FireTrigger with SEC and after Insert Trigger fetched from its Charactersitics.
17    * @param statementExecutionContext
18    * @throws DException
19    */

20   public void FireAfterInsertRowLevelTriggers ( _StatementExecutionContext statementExecutionContext ) throws DException;
21
22   /**
23  * Passes the call to Fire Trigger with SEC and the after Update
24  * Triggers for cloumn indexes fetched from trigger Charactersitics.
25  * @param columns
26  * @param statementExecutionContext
27  * @throws DException
28  */

29   public void FireAfterUpdateRowLevelTriggers ( int[] columns, _StatementExecutionContext statementExecutionContext ) throws DException;
30
31   /**
32      * passes the call to FireTrigger with SEC and after Delete Triggers fetched from trigger Charactersitics.
33      * @param statementExecutionContext
34      * @throws DException
35    */

36   public void FireAfterDeleteRowLevelTriggers ( _StatementExecutionContext statementExecutionContext ) throws DException;
37
38   /**
39    * passes the call to FireTrigger with SEC and before Insert Triggers fetched from terigger charactersitics.
40    * @param statementExecutionContext
41    * @throws DException
42    */

43   public void FireBeforeInsertRowLevelTriggers( _StatementExecutionContext statementExecutionContext ) throws DException;
44
45   /**
46    * passes the call to FireTrigegr with SEC and before update Triggers for column indexes fetched from trigger charactersitics.
47    * @param columns
48    * @param statementExecutionContext
49    * @throws DException
50    */

51   public void FireBeforeUpdateRowLevelTriggers( int[] columns, _StatementExecutionContext statementExecutionContext ) throws DException;
52
53   /**
54    * passes the call to FireTrigger with SEC and before Delete Triggers fetched from trigger Charactersitics.
55    * @param statementExecutionContext
56    * @throws DException
57    */

58   public void FireBeforeDeleteRowLevelTriggers( _StatementExecutionContext statementExecutionContext ) throws DException;
59
60 }
61
Popular Tags