Oracle Waveset 8.1.1 Resources Reference

enable Before/After Action

The actionContext map passed to the action contains the following entries:

Key  

Value Type  

Value Description  

conn 

java.sql.Connection 

JDBC connection to the database 

adapter 

com.wavset.adapter.OracleERPResourceAdapter 

Adapter instance 

action 

java.lang.String 

The enableUser string

timing 

java.lang.String 

Must be before or after

id 

java.lang.String 

User account ID to enable 

errors 

java.util.List 

Initially, this value is an empty list. 

The script may add java.lang.String objects to this list if any errors are found during processing.

trace 

com.sun.idm.logging.trace.Trace 

Object used to trace execution. 

Scripts can use the methods of this class to make themselves “debuggable” in a customer environment. 

Error Handling

Any throw from within the script is considered a failure.

If the script encounters any errors, the script may add the appropriate strings to the errors key. The presence of any items in the errors List is considered a failure.