Skip to main content

%WebStress.Portal.Script

Class %WebStress.Portal.Script Extends %WebStress.Portal.standardPage [ LegacyInstanceContext, System = 4 ]

Parameters

APPLICATION

Parameter APPLICATION = "%WebStress.Portal.Application";

Set this to the appropriate application class.

PAGENAME

Parameter PAGENAME = "Webstress Portal";

Name of this page.

Properties

MyId

Property MyId As %Integer;

XDatas

Style

XData Style

detailPane

XData detailPane [ XMLNamespace = "http://www.intersystems.com/zen" ]

Methods

GetParamsTypesArray

Method GetParamsTypesArray(ByRef pParameters, Output pMetaData, Output pData) As %Status

GetParamsArray

Method GetParamsArray(ByRef pParameters, Output pMetaData, Output pData) As %Status

GetHeaderArray

Method GetHeaderArray(ByRef pParameters, Output pMetaData, Output pData) As %Status

GetScriptsArray

Method GetScriptsArray(ByRef pParameters, Output pMetaData, Output pData) As %Status

SubmitScripts

Method SubmitScripts(pCommand As %String, pProvider As %ZEN.Auxiliary.jsonProvider, pSubmitObject As %RegisteredObject, Output pResponseObject As %RegisteredObject) As %Status

SubmitParams

Method SubmitParams(pCommand As %String, pProvider As %ZEN.Auxiliary.jsonProvider, pSubmitObject As %RegisteredObject, Output pResponseObject As %RegisteredObject) As %Status

SubmitHeaders

Method SubmitHeaders(pCommand As %String, pProvider As %ZEN.Auxiliary.jsonProvider, pSubmitObject As %RegisteredObject, Output pResponseObject As %RegisteredObject) As %Status

renderGrid

ClientMethod renderGrid() [ Language = javascript ]

renderParams

ClientMethod renderParams(node) [ Language = javascript ]

renderHeadGrid

ClientMethod renderHeadGrid(node) [ Language = javascript ]

removeParam

ClientMethod removeParam(node, id) [ Language = javascript ]

updateParam

ClientMethod updateParam(node, id) [ Language = javascript ]

removeHeadRow

ClientMethod removeHeadRow(node, id) [ Language = javascript ]

updateHeadRow

ClientMethod updateHeadRow(node, id) [ Language = javascript ]

removeRow

ClientMethod removeRow(id) [ Language = javascript ]

addURL

ClientMethod addURL() [ Language = javascript ]

addParam

ClientMethod addParam(node) [ Language = javascript ]

addHeadRow

ClientMethod addHeadRow(node) [ Language = javascript ]

saveItem

ClientMethod saveItem() [ Language = javascript ]
Method %GetLocatorLinks(Output pLink) As %Status

%OnAfterCreatePage

Method %OnAfterCreatePage() As %Status

This class method callback is called just before the server-side page object is created.

%OnGetTitle

Method %OnGetTitle() As %String

Get the (localized) title string for the page. This should be implemented in a subclass.

toggleSearchTable

ClientMethod toggleSearchTable() As %Status [ Language = javascript ]

getRecord

ClientMethod getRecord(id As %Integer) As %Status [ Language = javascript ]

copyRecord

ClientMethod copyRecord() [ Language = javascript ]

CopyRec

Method CopyRec() As %Status [ ZenMethod ]

deleteRec

ClientMethod deleteRec() As %Status [ Language = javascript ]

fixDelay

ClientMethod fixDelay() [ Language = javascript ]

FixScripts

ClassMethod FixScripts(id, maxval, newval) As %Status [ ZenMethod ]

DeleteMe

ClassMethod DeleteMe(del As %Integer) As %Status [ ZenMethod ]

hideSearchTable

ClientMethod hideSearchTable() As %Status [ Language = javascript ]

refreshSearchTable

ClientMethod refreshSearchTable() As %Status [ Language = javascript ]

Refresh the table of records on the form.

saveRec

ClientMethod saveRec() As %Status [ Language = javascript ]

cleanDiv

ClientMethod cleanDiv(mydiv) [ Language = javascript ]

GenRoutine

ClassMethod GenRoutine(id, name As %String) As %Status [ ZenMethod ]

removeArray

ClientMethod removeArray(array, from, to) [ Language = javascript ]

renderDrop

ClientMethod renderDrop(json, name, rowid, grid) [ Language = javascript ]