Class Reference
IRIS for UNIX 2024.1.2
|
|
Private
Storage
|
|
|
|
If true, then this dialog displays an Apply button.
If true, then this dialog displays a Cancel button.
Displayed name of this page.
User needs USE permissions on the %Ens_DTLTest resource to view this page.
|
JSON serialization of aux, process and context extra data. Example of dynamic object created from serialization is extraDataSerialized.aux.RuleUserData="test"
Record last extraDataSerialized persisted on server for user and dtl to prevent unnecessary saves
|
Ensure that a transform has been supplied.
Get the (localized) subtitle string for the dialog. This should be implemented in a subclass.
Get the (localized) title string for the dialog. This should be implemented in a subclass.
Create an input message for testing. Note that pData may be a stream object if the source data is sufficiently large.
Callback method to create the necessary objects and capture the transformed output. We make context and process public for possible use is in Transform method
Get the current source data for this user. If the data is small enough to fit into a string, then a string is returned. The exception is if the source class is an EnsLib.HL7.Message in which case a stream will be returned even if short enough for a string. If multiple nodes in the global are needed, then a stream is returned. This method is not accessible from the client as it can return a stream.
Method to (re)initialise the page for a transform
Save the source data for the current transform to the server. Note that pData will be automatically converted to a stream object if it exceeds the maximum string length.
Method to ensure that the current source data is present on the client. The data is written directly to the JS variable zenPage.sourceData on the client because the content may exceed 32k for sample documents, and we want to avoid the overhead of serialising the value along with the page itself.
Event handler to send updates to the source data back to the server.
Populate tables based on stored data & properties identifed in dtl
Get the value that will be applied when the user presses the OK button. This is implemented by subclasses.
Read a table of property/value pairs and convert to JSON object
Hide property column if detected only aux used without reference to property
Walks up action tree to see if action disabled
Find use of reserved variables in dtl and generate any input tables
Ensure that the source data on the client is synchronised with the server.
Look for use of reserved variables in DTL: aux, process and context store in this._reserved[aux] and process and context arrays.
Use the callback on the "targetData" component to trigger the transform and output of the result. read the tables and populate extraDataSerialized.
Read the extra data tables and serialize so can be passed to the test call.