com.knowgate.scheduler.events
Class ExecuteBeanShell

java.lang.Object
  extended by com.knowgate.dataobjs.DBPersist
      extended by com.knowgate.scheduler.Event
          extended by com.knowgate.scheduler.events.ExecuteBeanShell
All Implemented Interfaces:
java.io.Serializable, java.util.Map

public final class ExecuteBeanShell
extends Event

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Field Summary
 
Fields inherited from class com.knowgate.dataobjs.DBPersist
AllVals, sAuditCls, sAuditUsr, sTransactId
 
Constructor Summary
ExecuteBeanShell()
           
 
Method Summary
 java.lang.String getResourceAsString(java.lang.String sResourcePath, java.lang.String sEncoding)
          Get an embedded resource file as a String
 void trigger(JDCConnection oConn, java.util.Map oParameters, java.util.Properties oEnvironment)
           
 
Methods inherited from class com.knowgate.scheduler.Event
getEvent, getEventId, parseDefaultParameters, reset, trigger
 
Methods inherited from class com.knowgate.dataobjs.DBPersist
allcaps, allcaps, changelog, clear, clone, containsKey, containsValue, delete, entrySet, exists, get, get, getAuditClassName, getCreationDate, getDate, getDateFormated, getDateShort, getDateTime, getDateTime24, getDecimal, getDecimalFormated, getDecimalFormated, getDouble, getDoubleFormated, getFloat, getFloatFormated, getInt, getInteger, getIntervalPart, getItemMap, getItems, getMoney, getShort, getSQLDate, getSQLTime, getString, getStringHtml, getStringNull, getTable, getTable, getTableName, getTime, getTimeOfDay, getTimestamp, getUIdFromName, isEmpty, isNull, iterator, keySet, load, load, parseXML, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, putAll, putAll, remove, remove, replace, replace, replace, replace, replace, replace, replace, replace, setAuditTransact, setAuditUser, setCreationDate, size, store, toLowerCase, toUpperCase, toXML, toXML, toXML, toXML, values
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

ExecuteBeanShell

public ExecuteBeanShell()
Method Detail

getResourceAsString

public java.lang.String getResourceAsString(java.lang.String sResourcePath,
                                            java.lang.String sEncoding)
                                     throws java.io.IOException

Get an embedded resource file as a String

Parameters:
sResourcePath - Relative path at JAR file from com/knowgate/hipergate/datamodel/ModelManager
sEncoding - Character encoding for resource if it is a text file.
If sEncoding is null then UTF-8 is assumed.
Returns:
Readed file or null if no file with such name was found
Throws:
java.io.IOException

trigger

public void trigger(JDCConnection oConn,
                    java.util.Map oParameters,
                    java.util.Properties oEnvironment)
             throws java.lang.Exception
Specified by:
trigger in class Event
Throws:
java.lang.Exception