Skip navigation links


com.essbase.eas.essbase.ui.trigger
Class TriggerModel

java.lang.Object
  extended by com.essbase.eas.essbase.defs.DefaultTrigger
      extended by com.essbase.eas.essbase.ui.trigger.TriggerModel

All Implemented Interfaces:
Trigger, java.lang.Cloneable

public class TriggerModel
extends DefaultTrigger
implements Trigger, java.lang.Cloneable
Since:
7.1
Version:
7.1
Author:
Scott Rasmussen

Nested Class Summary
static class TriggerModel.DefaultTriggerClause
           
static class TriggerModel.DefaultTriggerEventAction
           
static class TriggerModel.DefaultTriggerMailAction
           
static class TriggerModel.DefaultTriggerSpoolAction
           

 

Nested classes/interfaces inherited from interface com.essbase.eas.essbase.ui.trigger.Trigger
Trigger.TriggerAction, Trigger.TriggerClause

 

Field Summary

 

Fields inherited from class com.essbase.eas.essbase.defs.DefaultTrigger
appName, dbName, name, serverName

 

Constructor Summary
TriggerModel()
           
TriggerModel(Application application)
           
TriggerModel(Database db)
           

 

Method Summary
 void addCondition(Trigger.TriggerClause clause)
           
 java.lang.Object clone()
           
 void editCondition(int condition, Trigger.TriggerClause clause)
           
 boolean equal(Trigger trigger)
           
 boolean getAfterUpdate()
           
 Application getApplication()
           
 java.lang.String getApplicationName()
           
 Trigger.TriggerClause[] getConditions()
           
 java.lang.String getCreateText()
           
 Database getDatabase()
           
 java.lang.String getDatabaseName()
           
 java.lang.String getDefinition()
           
 java.lang.String getDisableText()
           
 java.lang.String getDropText()
           
 java.lang.String getEditText()
           
 Trigger.TriggerAction getElseAction()
           
 boolean getEnabled()
           
 java.lang.String getEnableText()
           
 boolean getLogValue()
           
 Server getServer()
           
 java.lang.String getTriggerText()
           
 java.lang.String getWhereClause()
           
static void main(java.lang.String[] args)
           
 boolean parseDefinition(java.lang.String definition)
          Parse the definition of the trigger.
 void removeCondition(int condition)
           
 void setAfterUpdate(boolean setting)
           
 void setApplication(Application app)
           
 void setApplicationName(java.lang.String appName)
           
 void setConditions(java.util.ArrayList conditions)
           
 void setConditions(Trigger.TriggerClause[] conditions)
           
 void setDatabase(Database db)
           
 void setDatabaseName(java.lang.String db)
           
 void setDefinition(java.lang.String triggerDef)
           
 void setElseAction(Trigger.TriggerAction action)
           
 void setEnabled(boolean enabled)
           
 void setLogValue(boolean setting)
           
 void setWhereClause(java.lang.String where)
           
 java.lang.String toString()
           
 void triggerRemoved()
           
 void updateTrigger(Trigger trigger)
           

 

Methods inherited from class com.essbase.eas.essbase.defs.DefaultTrigger
getAppName, getDbName, getName, getServerName, setAppName, setDbName, setName, setServerName, setTriggerText

 

Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Methods inherited from interface com.essbase.eas.essbase.ui.trigger.Trigger
getName, getServerName, setName

 

Constructor Detail

TriggerModel

public TriggerModel()

TriggerModel

public TriggerModel(Application application)

TriggerModel

public TriggerModel(Database db)

Method Detail

setApplication

public void setApplication(Application app)
Specified by:
setApplication in interface Trigger

setDatabase

public void setDatabase(Database db)
Specified by:
setDatabase in interface Trigger

setDatabaseName

public void setDatabaseName(java.lang.String db)
Specified by:
setDatabaseName in interface Trigger

setApplicationName

public void setApplicationName(java.lang.String appName)
Specified by:
setApplicationName in interface Trigger

getApplicationName

public java.lang.String getApplicationName()
Specified by:
getApplicationName in interface Trigger

getDatabase

public Database getDatabase()
Specified by:
getDatabase in interface Trigger

getDatabaseName

public java.lang.String getDatabaseName()
Specified by:
getDatabaseName in interface Trigger

setDefinition

public void setDefinition(java.lang.String triggerDef)
Specified by:
setDefinition in interface Trigger

getServer

public Server getServer()
Specified by:
getServer in interface Trigger

getApplication

public Application getApplication()
Specified by:
getApplication in interface Trigger

getDefinition

public java.lang.String getDefinition()
Specified by:
getDefinition in interface Trigger

parseDefinition

public boolean parseDefinition(java.lang.String definition)
Parse the definition of the trigger.
Specified by:
parseDefinition in interface Trigger
Parameters:
definition -
Returns:
true if successful.

getElseAction

public Trigger.TriggerAction getElseAction()
Specified by:
getElseAction in interface Trigger

setElseAction

public void setElseAction(Trigger.TriggerAction action)
Specified by:
setElseAction in interface Trigger

getLogValue

public boolean getLogValue()
Specified by:
getLogValue in interface Trigger

setLogValue

public void setLogValue(boolean setting)
Specified by:
setLogValue in interface Trigger

getAfterUpdate

public boolean getAfterUpdate()
Specified by:
getAfterUpdate in interface Trigger

setAfterUpdate

public void setAfterUpdate(boolean setting)
Specified by:
setAfterUpdate in interface Trigger

getDisableText

public java.lang.String getDisableText()
Specified by:
getDisableText in interface Trigger

getEnableText

public java.lang.String getEnableText()
Specified by:
getEnableText in interface Trigger

getEnabled

public boolean getEnabled()
Specified by:
getEnabled in interface Trigger

setEnabled

public void setEnabled(boolean enabled)
Specified by:
setEnabled in interface Trigger

getTriggerText

public java.lang.String getTriggerText()
Specified by:
getTriggerText in interface Trigger
Overrides:
getTriggerText in class DefaultTrigger

getCreateText

public java.lang.String getCreateText()
Specified by:
getCreateText in interface Trigger

getEditText

public java.lang.String getEditText()
Specified by:
getEditText in interface Trigger

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Overrides:
clone in class java.lang.Object
Throws:
java.lang.CloneNotSupportedException

getDropText

public java.lang.String getDropText()
Specified by:
getDropText in interface Trigger

equal

public boolean equal(Trigger trigger)
Specified by:
equal in interface Trigger

updateTrigger

public void updateTrigger(Trigger trigger)

triggerRemoved

public void triggerRemoved()

getWhereClause

public java.lang.String getWhereClause()
Specified by:
getWhereClause in interface Trigger

setWhereClause

public void setWhereClause(java.lang.String where)
Specified by:
setWhereClause in interface Trigger

getConditions

public Trigger.TriggerClause[] getConditions()
Specified by:
getConditions in interface Trigger

setConditions

public void setConditions(java.util.ArrayList conditions)

setConditions

public void setConditions(Trigger.TriggerClause[] conditions)
Specified by:
setConditions in interface Trigger

removeCondition

public void removeCondition(int condition)
Specified by:
removeCondition in interface Trigger

addCondition

public void addCondition(Trigger.TriggerClause clause)
Specified by:
addCondition in interface Trigger

editCondition

public void editCondition(int condition,
                          Trigger.TriggerClause clause)
Specified by:
editCondition in interface Trigger

main

public static void main(java.lang.String[] args)

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.