Class Reference
IRIS for UNIX 2019.3
InterSystems: The power behind what matters   
Documentation  Search
  [ENSLIB] >  [CSPX] >  [Portal] >  [DICOMSetting]
Private  Storage   

class CSPX.Portal.DICOMSetting extends CSPX.Portal.Template

Zen based LookupSettings UI for Ensemble 2008.1

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
4 14 28


Summary

This is a Zen Page class. It belongs to the application CSPX.Portal.Application.

Properties
%condition %import %includeFiles %page
%resource PID StdTitle align
aux backgroundTimerInterval cellAlign cellSize
cellStyle cellVAlign children composite
containerStyle cssLevel disabled dragAndDrop
dragEnabled dropEnabled editIndex enclosingClass
enclosingStyle error groupClass groupStyle
height hidden hint hintClass
hintStyle id index isNew
label labelClass labelDisabledClass labelPosition
labelStyle layout msgAdd msgDeleteContext1
msgDeleteContext2 msgDeleteContext3 msgEdit msgEditContext
msgExists msgLegendAdd msgPreserve msgTS
msgTable name onafterdrag onbeforedrag
onclick ondrag ondrop onhide
onrefresh onshow onupdate parent
showLabel slice title tuple
useSVG useSoftModals valign visible
width window zenPersistentPopup

Methods
%AddChild %AddChildAfter %AddChildBefore %AddComponent
%AddImportedComponents %AddLocatorLinks %AddToSaveSet %ApplyURLParms
%Attr %BindExport %ClassIsLatestVersion %ClassName
%ConstructClone %DispatchClassMethod %DispatchGetModified %DispatchGetProperty
%DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty
%DrawAutoLogout %DrawClassDefinitions %DrawComponentHTML %DrawHTML
%DrawHTMLPage %DrawJSStrings %DrawObjectDefinitions %EnclosingDivId
%EndBackgroundMethod %EndScript %Eval %EvalC
%Extends %ForceClientRender %GetChildIndex %GetComponent
%GetComponentById %GetComponentByName %GetEventHandlers %GetLinks
%GetNamespaces %GetPageName %GetParameter %GetValueById
%GetValueByName %GetXMLName %IsA %IsModified
%Link %LinkCSS %LinkScript %MakeId
%New %NormalizeObject %ObjectModified %OnAddToPageAfter
%OnAddToPageBefore %OnAfterCreatePage %OnBeforeCreatePage %OnCreateApplication
%OnCreatePage %OnDetermineCSSLevel %OnDrawEnclosingDiv %OnDrawHTMLBody
%OnDrawHTMLHead %OnDrawHTMLMeta %OnDrawObjectProperties %OnFinishBackgroundTask
%OnMonitorBackgroundTask %OnMutateChildren %OnObjectSynch %OnPreHTTP
%OnSubmit %OnUseSoftModals %OnZENDeserialize %OriginalNamespace
%PackageName %QuoteValue %QuoteValueL10N %RemoveChild
%RemoveChildren %RemoveComponent %RemoveFromSaveSet %RunBackgroundMethod
%Self %SerializeObject %SetBackgroundMethodStatus %SetErrorById
%SetErrorByName %SetModified %SetValueById %SetValueByName
%SetValuesByName %StartScript %ValidateObject %ZENVersion
CheckAllBlanks ConvertParameter Decrypt DeleteDataContext
DrawTitle EditDataContext Encrypt EscapeHTML
EscapeURL GetQuickLinks GetTreeInfo HyperEventCall
HyperEventHead IDExists Include InsertHiddenField
InsertHiddenFields IsPrivate Link LoadAvaContext
OnHTTPHeader OnPage OnPageError OnPostHTTP
OnPostHyperEvent OnPreHTTP OnPreHyperEvent Page
QuoteJS RewriteURL SaveData SaveDataContext
ShowError StartTimer StopTimer ThrowError
UnescapeHTML UnescapeURL UpdateDetails XMLDTD
XMLExport XMLExportToStream XMLExportToString XMLNew
XMLSchema XMLSchemaNamespace XMLSchemaType addChild
addChildAfter addChildBefore addContext arrowClick
arrowClicked arrowMoved cancelPopup cancelSetting
childrenMutated correctIELayering createComponent createComponentNS
deleteComponent deleteContext dragFinishHandler dragHandler
dragNotifyHandler dragStartHandler dropHandler dropStartHandler
editContext endModal expandNode exposeComponent
findElement fireOnResizeEvent fireOnUnloadEvent fireOnUpdateEvent
firePopupAction getChildIndex getComponent getComponentById
getEnclosingDiv getHidden getHintElement getLabelElement
getOpener getProperty getSettings getSyntax
getType gotoPage hideTree invokeSuper
isOfType launchPopupWindow loadAva makeId
onCreate onDelete onDisplayHandler onEndModalHandler
onPopupAction onRefreshContents onSerialize onServerMethodCall
onServerMethodError onServerMethodReturn onStartModalHandler ondisabledHandler
onkeydownHandler onkeyupHandler onlayoutHandler onloadHandler
onlogoutHandler onoverlayHandler onresizeHandler onunloadHandler
onupdateHandler popupActionHandler refreshContents removeChild
render renderContents renderSVG saveContext
saveSetting setComponentId setHidden setOverlayMode
setProperty setPropertyAll setTraceOption showDocumentation
startModal startProgressBar stopProgressBar toggleDelete
treeCount treeLoad upOneLevel


Parameters

• parameter APPLICATION = "CSPX.Portal.Application";
Class name of application this page belongs to.
• parameter CSPURL = "CSPX.Portal.DICOMSetting.cls";
This parameter is used to make sure that if multiple CSP applications are mapped to the same namespace that the CSP engine can correctly identify which class corresponds with which URL. If 'LockCSPName' is true (the default, defined in the CSP application) then you can only access this page if the url exactly matches this 'CSPURL'. You can set this parameter to "" if you wish to disable this check for this class. This check is applied for all CSP urls (cls/csp/zen).
If this page was compiled from a .csp file, then this parameter is automatically set to contain the url of this file used for compilation.
• parameter PAGENAME = "DICOM Setting";
Displayed name of this page.
• parameter PARENTPAGE = "CSPX.Portal.DICOMSettings.cls";
This parameter defines the parent page for this page.
If the name ends in .csp, then the parent is assumed to be an autopage-enabled CSP page. If the name ends in .cls, then the parent is assumed to be a Zen page. This is used to automate the construction of the locator bar for this page and to build the index between portal pages and documentation.
The %GetLocatorInfo method is used to get this information.

Properties

• property PID as %ZEN.Datatype.string(ZENURL="PID");
The last selected PID
• property editIndex as %Integer [ InitialExpression = "-1" ];
This is the index number that user is currently editing.
• property isNew as %String(ZENURL="isNew") [ InitialExpression = "0" ];
• property msgAdd as %ZEN.Datatype.caption [ InitialExpression = $$$Text("Use the form below to create a new DICOM association context setting in %1: ") ];
• property msgDeleteContext1 as %ZEN.Datatype.caption [ InitialExpression = $$$Text("Please click on the Abstract Syntax you want to delete first and try again.") ];
• property msgDeleteContext2 as %ZEN.Datatype.caption [ InitialExpression = $$$Text("Are you sure you want to delete this abstract syntax?") ];
• property msgDeleteContext3 as %ZEN.Datatype.caption [ InitialExpression = $$$Text("Presentation context deleted.") ];
• property msgEdit as %ZEN.Datatype.caption [ InitialExpression = $$$Text("Edit DICOM association context setting in %1: ") ];
• property msgEditContext as %ZEN.Datatype.caption [ InitialExpression = $$$Text("Please click on the Abstract Syntax you want to edit first and try again.") ];
• property msgExists as %ZEN.Datatype.caption [ InitialExpression = $$$Text("This Calling AET and Called AET combination already exists.") ];
• property msgLegendAdd as %ZEN.Datatype.caption [ InitialExpression = $$$Text("Add Presentation Context") ];
• property msgPreserve as %ZEN.Datatype.caption [ InitialExpression = $$$Text("You have changed the Calling AET and Called AET combination. Click [OK] to preserve the old association or [Cancel] to delete the old association.") ];
• property msgTS as %ZEN.Datatype.caption [ InitialExpression = $$$Text("Please check at least one Transfer Syntax.") ];
• property msgTable as %ZEN.Datatype.caption;
Message that is built with the namespace in it.

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.
• classmethod CheckAllBlanks(string) as %Boolean [ ZenMethod ]
• classmethod DeleteDataContext(pid, pindex) as %String [ ZenMethod ]
Delete a presentation context from an association
• classmethod DrawTitle(pSeed As %String) as %Status
Used to draw title for this page. pHalpAddress is need to build the link for Help for this page.
• classmethod EditDataContext(pid, pindex) as %String [ ZenMethod ]
Edit a presentation context from an association
• classmethod GetTreeInfo(pRoot As %String, Output pTree, ByRef pParms) as %Status
Build presentation context tree
• classmethod IDExists(pid) as %Boolean [ ZenMethod ]
• classmethod LoadAvaContext() [ ZenMethod ]
Load available context list box from JS
• classmethod SaveData(pid, calling, called, name, desc, preserve) as %ZEN.proxyObject [ ZenMethod ]
Save general association data to server
• classmethod SaveDataContext(pid, comboAS, selectedSyntax, editIndex) as %ZEN.proxyObject [ ZenMethod ]
Save presentation context to server
• method UpdateDetails(pid) as %Boolean [ ZenMethod ]
Update contents of rule. This method is called when user clicked a row to "Edit". Load data into the fields.
• method addContext() [ Language = javascript ]
Enable fields for presentation context. Initialize all fields.
• method arrowClicked(id) [ Language = javascript ]
• method arrowMoved(thisObj) [ Language = javascript ]
User double clicked one of the listboxes. Update imply message.
• method cancelSetting() [ Language = javascript ]
Cancel out of Add/Edit.
• method deleteContext() [ Language = javascript ]
Delete existing presentation context from a known assiciation.
• method editContext() [ Language = javascript ]
Enable fields for presentation context. Load fields.
• method expandNode(node) [ Language = javascript ]
Show or hide Transfer Syntax under a Abstract Syntax.
• method getSyntax() as %String [ Language = javascript ]
Return selected transfer syntax as string
• method hideTree(flag) [ Language = javascript ]
When user clicks Add for Presentation Context, we hide the tree (flag=true). After user saves changes, or cancel out, we show the tree (flag=false).
• method loadAva() [ Language = javascript ]
Clear the Avaliable and Selected list boxes and reload the Available box.
• method onloadHandler() [ Language = javascript ]
This client event, if present, is fired when the page is loaded.
• method saveContext() [ Language = javascript ]
Get user selection and send to server to save presentation context settings.
• method saveSetting() [ Language = javascript ]
Get user selection and send to server to save settings.
• method toggleDelete(flag) [ Language = javascript ]
show or hide image and link Delete for presentation context
• method treeCount() [ Language = javascript ]
check total Abstract Syntax tree count for presentation context. this method is triggled from onupdate from the tree control.
• method treeLoad() [ Language = javascript ]
load tree based on given PID
• method upOneLevel() [ Language = javascript ]
Up one level: If tree is currently hidden, then go to Association list. Else, go to Presentation list.


Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.