Oracle Waveset 8.1.1 Resources Reference

listAll Action

The listAll action retrieves a list of user IDs found for the host application.

If the listAll action is not defined, then you cannot call the FormUtil.listResourceObjects methods for this resource instance from a form.

If the listAll action is not defined and the getAccountIterator action is not defined, then account iteration (reconciliation, Load From Resource) is not supported.

Context

The actionContext map will contain the following entries:

Key  

Value Type  

Value Description  

hostAccess

com.waveset.adapter.HostAccess 

Provides 3270 emulation access to a mainframe. 

adapter

com.waveset.object.ScriptedHostResourceAdapter 

Adapter instance 

action

java.lang.String 

The string listAll.

resultList

java.util.List 

The script adds entries to this list. Each item added to the list by the script should be a string corresponding to a host account ID. 

errors

java.util.List 

This is initially an empty list. The script must add java.lang.String objects to this list if any errors are found during processing. 

trace

com.waveset.adapter.Trace 

An object used to trace execution. Scripts can use methods of this class to make itself “debuggable” in a customer environment. 

Error Handling

If any application-specific errors are found in a screen or response, the script should add appropriate strings to the errors key. Determining that an error has occurred may require a string search for various known error strings.

The presence of any items in the errors List is considered a retrieval failure. Additionally, any throw from within the script is considered a retrieval failure.