com.bluestream.xdb.dsobject.config
Interface Trigger

All Superinterfaces:
ConfigDso, DSObject

public interface Trigger
extends ConfigDso

This class contains information about a trigger.


Field Summary
 
Fields inherited from interface com.bluestream.xdb.dsobject.config.ConfigDso
k_elnDatabaseInfo, k_elnDatabaseTree, k_elnFullTextIndexInfo, k_elnIndexTree, k_elnRootInfo, k_elnRootTree, k_elnServerInfo, k_elnTriggerInfo, k_elnTriggerTree, k_elnValueIndexInfo, k_FTIName
 
Fields inherited from interface com.bluestream.xdb.dsobject.DSObject
cCompComponentsSuffix, cDocComponentsSuffix, k_elnListItem, k_elnName, k_otypCollection, k_otypComponent, k_otypDatabase, k_otypDocument, k_otypGroup, k_otypIndex, k_otypModule, k_otypRoot, k_otypServer, k_otypTrigger, k_otypUser
 
Method Summary
 String getAction()
          Returns the action type.
 String getName()
          Returns the name given to the trigger.
 int getPriority()
           
 String getTiming()
           
 String getXQuery()
          Returns the XQuery as text.
 
Methods inherited from interface com.bluestream.xdb.dsobject.DSObject
delete, getObjectId, getObjectType
 

Method Detail

getName

public String getName()
               throws XDBException
Returns the name given to the trigger.

Specified by:
getName in interface DSObject
Throws:
XDBException

getXQuery

public String getXQuery()
                 throws XDBException
Returns the XQuery as text.

Returns:
String xquery
Throws:
XDBException

getPriority

public int getPriority()
                throws XDBException
Returns:
int
Throws:
XDBException

getAction

public String getAction()
                 throws XDBException
Returns the action type.

Returns:
String one of INSERT, UPDATE, DELETE
Throws:
XDBException

getTiming

public String getTiming()
                 throws XDBException
Returns:
String one of BEFORE or AFTER
Throws:
XDBException


Copyright 2006 Bluestream Database Software Corp. All Rights Reserved.