Class Reference
IRIS for UNIX 2024.1.2
InterSystems: The power behind what matters   
Documentation  Search
  [USER] >  [%ZEN] >  [Template] >  [ObjectGatewayWizard] >  [JavaHome]
Private  Storage   

deprecatedclass %ZEN.Template.ObjectGatewayWizard.JavaHome extends %ZEN.Template.ObjectGatewayWizard.Template

Studio Template.
Wizard to help you import a class file or a jar file from Java and create a set of corresponding classes.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
5 3 21


Summary

This is a Zen Page class. 

Properties
%condition %import %includeFiles %page
%resource CSPSessionCookie DocumentName DocumentNamespace
Language Namespace Project SelectedText
User align aux backgroundTimerInterval
cellAlign cellSize cellStyle cellVAlign
children composite containerStyle cssLevel
disabled dragAndDrop dragEnabled dropEnabled
enclosingClass enclosingStyle error groupClass
groupStyle height helpId hidden
hint hintClass hintStyle id
index isExit label labelClass
labelDisabledClass labelPosition labelStyle lastTab
layout lblExit lblFile1 lblFile2
lblFinish lblNoRespond lblNotExist 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 %AddToProject %AddToSaveSet %AddToSourceControl
%ApplyURLParms %Attr %BindExport %ClassIsLatestVersion
%ClassName %ConstructClone %DispatchClassMethod %DispatchGetModified
%DispatchGetProperty %DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty
%DispatchSetProperty %DrawAutoLogout %DrawClassDefinitions %DrawComponentHTML
%DrawHTML %DrawHTMLPage %DrawJSStrings %DrawObjectDefinitions
%DrawTitle %EnclosingDivId %EndBackgroundMethod %EndScript
%Eval %EvalC %Extends %ForceClientRender
%GetChildIndex %GetComponent %GetComponentById %GetComponentByName
%GetEventHandlers %GetLinks %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 %OnTemplateAction %OnUseSoftModals
%OnZENDeserialize %OriginalNamespace %PackageName %QuoteValue
%QuoteValueL10N %RemoveChild %RemoveChildren %RemoveComponent
%RemoveFromSaveSet %RunBackgroundMethod %Self %SerializeObject
%SetBackgroundMethodStatus %SetClassName %SetErrorById %SetErrorByName
%SetModified %SetValueById %SetValueByName %SetValuesByName
%StartScript %TemplateHeader %ValidateObject %ZENVersion
CheckAllBlanks CheckGateway ConvertParameter Decrypt
Encrypt EscapeHTML EscapeURL FileExists
HyperEventCall HyperEventHead Include InsertHiddenField
InsertHiddenFields IsEnabled IsPrivate IsValidClassName
JavaInstalled Link LocalizeName OnHTTPHeader
OnPage OnPageError OnPostHTTP OnPostHyperEvent
OnPreHTTP OnPreHyperEvent Page QuoteJS
RewriteURL SetSelected ShowError StartTimer
StopTimer ThrowError UnescapeHTML UnescapeURL
XMLDTD XMLExport XMLExportToStream XMLExportToString
XMLNew XMLSchema XMLSchemaNamespace XMLSchemaType
addChild addChildAfter addChildBefore adjustSize
canFinish canGoBack canGoNext cancelPopup
cancelTemplate changedFileType childrenMutated correctIELayering
createComponent createComponentNS deleteComponent doBrowse
dragFinishHandler dragHandler dragNotifyHandler dragStartHandler
dropHandler dropStartHandler endModal exposeComponent
findElement finishTemplate fireOnResizeEvent fireOnUnloadEvent
fireOnUpdateEvent firePopupAction formValidationHandler getChildIndex
getComponent getComponentById getEnclosingDiv getHidden
getHintElement getLabelElement getOpener getProperty
getSettings getType gotoPage hasMultiplePages
hasSelected invokeSuper isOfType launchPopupWindow
loadTable makeId nextPage onCreate
onDelete onDisplayHandler onEndModalHandler onPopupAction
onRefreshContents onSerialize onServerMethodCall onServerMethodError
onServerMethodReturn onStartModalHandler ondisabledHandler onfinishHandler
onhandleAutoLogoutWarn onkeydownHandler onkeyupHandler onlayoutHandler
onloadHandler onlogoutHandler onoverlayHandler onresizeHandler
onstartHandler onunloadHandler onupdateHandler popupActionHandler
previousPage refreshContents removeChild render
renderContents renderSVG rowChecked setComponentId
setHidden setOverlayMode setProperty setPropertyAll
setTraceOption showDocumentation showHelp startModal
startProgressBar stopProgressBar updateState validateRequired


Parameters

• parameter HELPID = "EJVG_instructions_wizard";
DOCBOOK Topic Id that offers help for this template.
• parameter PAGETITLE = "Java Gateway Wizard";
Display title of this page
• parameter TEMPLATEDESCRIPTION = "Import a class file or a jar file from Java.";
Short description of the template to show in Studio.
If DOMAIN is defined this will be localized.
• parameter TEMPLATENAME = "Java Gateway Wizard";
Name of the template to show in Studio.
If DOMAIN is defined this will be localized.
• parameter TEMPLATETITLE = "Java Gateway Wizard";
Title of the template to show in the template window.

Properties

• property lastTab as %ZEN.Datatype.string;
Tab number when Finish is clicked. This dictate which tab to return to when Back is clicked from the Done page.
• property lblFile1 as %ZEN.Datatype.caption [ InitialExpression = $$$TextJS("Enter the path and name of the Jar file:") ];
• property lblFile2 as %ZEN.Datatype.caption [ InitialExpression = $$$TextJS("Enter a fully qualified class name:") ];

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 %OnTemplateAction() as %Status
This method is called when the template is complete. It adds classes to the project, allows classes to be added to source control, and cleans up some session data
• classmethod CheckGateway(pServer, pPort) as %Boolean [ ZenMethod ]
Check if server and port is running and responsive
• classmethod FileExists(filename) as %Boolean [ ZenMethod ]
Check if file user entered exists.
• classmethod IsEnabled() as %Boolean
Return false from this method to disable this template (for example based on the server platform)
• method SetSelected(selectedRows As %String, FileType As %String = "j", FileName As %String, Host As %String, Port As %String, Classpaths As %String, Excludes As %String) as %Boolean [ ZenMethod ]
Set the selected rows into %session data for the result page Save all relevant values.
• method canFinish() [ Language = javascript ]
Return true if this template can Finish (i.e., enable the Finish button).
• method canGoBack() [ Language = javascript ]
Return true if this template can go to the previous page (i.e., enable the Back button).
This is implemented by subclasses.
• method canGoNext() [ Language = javascript ]
Return true if this template can go to the next page (i.e., enable the Next button).
• method changedFileType(thisObj) [ Language = javascript ]
User changed file type. Change label.
• method doBrowse() [ Language = javascript ]
Launching a file selector window.
• method finishTemplate() [ Language = javascript ]
User clicked the Finish button. Start Import.
• method formValidationHandler() [ Language = javascript ]
Validation handler for form built-into template.
• method hasMultiplePages() [ Language = javascript ]
Return true if this template has more than one "page". This will display Back and Next buttons. This is implemented by subclasses.
• method hasSelected() [ Language = javascript ]
Return true if at least one selection is made.
• method loadTable() as %Boolean [ Language = javascript ]
If file exists, load table based on the jar file entered.
• method nextPage() [ Language = javascript ]
Go to the next page of the template (if there is one).
• method onPopupAction(popupName, action, value) [ Language = javascript ]
Returning from file select OR qualifers dialog and setting the value into the appropriate field. The id of the field that needs to be updated is saved in "dialogClicked".
• method onstartHandler() [ Language = javascript ]
This is called when the template is first displayed; This provides a chance to set focus etc.
• method previousPage() [ Language = javascript ]
Go to the previous page of the template (if there is one).
This is implemented by subclasses.
• method rowChecked(table) [ Language = javascript ]
User checked a checkbox in a row in the table. Show the location and update Finish button.


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