Skip to main content

HS.UI.Doc.Mapping

class HS.UI.Doc.Mapping extends HS.HC.UI.Util

Find transformatino mappig documentation

Property Inventory

Method Inventory

Parameters

parameter PAGENAME = SDA/CDA Annotations;
Inherited description: Optional. This is the display name used for this page. If not provided, the class name is used.
parameter RESOURCE = %Ens_EDISchemaAnnotations:READ;
Inherited description: This is a comma-delimited list of system Resources and associated permissions. A user must hold the specified permissions on at least one of the specified resources in order to view this page or invoke any of its server-side methods from the client.
The format of each item in the list should be as follows:
Resource[:Permission]
Permission is optional, and defaults to USE if not supplied. If it is supplied, it should be one of USE, READ or WRITE.

Properties

Property methods: dropdownLimitDisplayToLogical(), dropdownLimitGet(), dropdownLimitIsValid(), dropdownLimitLogicalToDisplay(), dropdownLimitNormalize(), dropdownLimitSet(), dropdownLimitXSDToLogical()
property typeList as %String;
Property methods: typeListDisplayToLogical(), typeListGet(), typeListIsValid(), typeListLogicalToDisplay(), typeListLogicalToOdbc(), typeListNormalize(), typeListSet()

Methods

method %OnAfterCreatePage() as %Status
This callback is called after the server-side page object and all of its children are created.
Subclasses can override this to add, remove, or modify items within the page object model, or to provide values for controls.
method DrawDropdown(pSeed As %ZEN.proxyObject) as %Status
method DrawHeading(pSeed As %String) as %Status
method DrawHint(pSeed As %String) as %Status
method DrawResults(pSeed As %String) as %Status
method DrawTitle(pSeed As %String) as %Status
method DrawTypeChoice(pSeed As %String) as %Status
method GenerateDropdownList(list As %ListOfDataTypes, currentList As %String, Output options As %ListOfDataTypes, Output values As %ListOfDataTypes, Output maxlen As %Integer) as %Status
method GenerateQueryStrings(text As %String, Output list As %ListOfDataTypes) as %Status
method GenerateSimpleList(text As %String, Output list As %ListOfDataTypes) as %Status
classmethod GetHyperEventResources(pMethod As %String = "") as %String
Callback to return a list of resources required for a specific HyperEvent. The user must have sufficient privileges on one of the resource/permission pairs to be permitted to execute the hyperevent. An empty string implies the user already has sufficient privileges for the ZenMethod specified in pMethod.
method RenderDropdown(options As %ListOfDataTypes, values As %ListOfDataTypes, maxlen As %Integer) as %Status
classmethod WriteAncestors(level As %Integer, targetId As %String, sourceId As %String, type As %String, path As %String, ancestors As %ListOfDataTypes, aIdList As %ListOfDataTypes, aMappingList As %ListOfDataTypes, Output text As %String) as %Status
Even though we are writing about only one field, we provide arguments for both targetId and sourceId. This is because, in order to be unique, the HTML div ids we construct for sources must also contain the targetId under which that source appears. If the field we are writing about is a target, we only need the targetId, so sourceId is blank (""). If the field we are writing about is a source, we need both targetId and sourceId to construct the HTML.
classmethod WriteField(type As %String, name As %String = "", path As %String, level As %Integer, targetId As %String, sourceId As %String, sourceOfLevel As %Integer, ancestors As %ListOfDataTypes, aIdList As %ListOfDataTypes, aMappingList As %ListOfDataTypes, Output text As %String) as %Status
Even though we are writing about only one field, we provide arguments for level and for both targetId and sourceId. This is because, in order to be unique, the HTML div ids we construct for sources must also contain the level and targetId under which that source appears. If the field we are writing about is a target, we only need the targetId, so sourceId is blank (""). If the field we are writing about is a source, we need both targetId and sourceId to be non-blank to construct the HTML.
classmethod WriteMapping(mapping As %String, type As %String, notes As %ListOfDataTypes, targetOfLevel As %Integer, level As %Integer, targetId As %String, sourceId As %String, path As %String, ancestors As %ListOfDataTypes, aIdList As %ListOfDataTypes, aMappingList As %ListOfDataTypes, Output text As %String) as %Status
Even though we are writing about only one field, we provide arguments for level and both targetId and sourceId. This is because, in order to be unique, the HTML div ids we construct for sources must also contain the level and targetId under which that source appears.
clientmethod clearHighlight(id) [ Language = javascript ]
clientmethod emptyDropdown() [ Language = javascript ]
clientmethod emptyResults() [ Language = javascript ]
clientmethod enterKey(event) [ Language = javascript ]
clientmethod getCurrentTypeList() [ Language = javascript ]
clientmethod highlightField(id) [ Language = javascript ]
clientmethod populateDropdown() [ Language = javascript ]
clientmethod renderResults() [ Language = javascript ]
clientmethod setHighlight(id) [ Language = javascript ]
clientmethod stripLeadingTrailingWhiteSpace(text) [ Language = javascript ]
clientmethod toggleHighlight(id) [ Language = javascript ]
clientmethod toggleTraceToTop(id) [ Language = javascript ]
clientmethod typeChecked(which) [ Language = javascript ]

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab