This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Home > Class Reference > %SYS namespace > %ZEN.Template.ObjectGatewayWizard.JavaHome

%ZEN.Template.ObjectGatewayWizard.JavaHome

class %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.

Property Inventory (Including Private)

Method Inventory (Including Private)

Parameters

parameter HELPID = EJVG_instructions_wizard;
Inherited description: 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.;
Inherited description: Short description of the template to show in Studio.
If DOMAIN is defined this will be localized.
parameter TEMPLATENAME = Java Gateway Wizard;
Inherited description: Name of the template to show in Studio.
If DOMAIN is defined this will be localized.
parameter TEMPLATETITLE = Java Gateway Wizard;
Inherited description: Title of the template to show in the template window.

Properties (Including Private)

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 methods: lastTabDisplayToLogical(), lastTabGet(), lastTabIsValid(), lastTabLogicalToDisplay(), lastTabLogicalToOdbc(), lastTabNormalize(), lastTabSet()
property lblFile1 as %ZEN.Datatype.caption [ InitialExpression = $$$TextJS("Enter the path and name of the Jar file:") ];
Property methods: lblFile1DisplayToLogical(), lblFile1Get(), lblFile1IsValid(), lblFile1LogicalToDisplay(), lblFile1LogicalToOdbc(), lblFile1Normalize(), lblFile1Set()
property lblFile2 as %ZEN.Datatype.caption [ InitialExpression = $$$TextJS("Enter a fully qualified class name:") ];
Property methods: lblFile2DisplayToLogical(), lblFile2Get(), lblFile2IsValid(), lblFile2LogicalToDisplay(), lblFile2LogicalToOdbc(), lblFile2Normalize(), lblFile2Set()

Methods (Including Private)

method %OnAfterCreatePage() as %Status
Inherited description: 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 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.
clientmethod canFinish() [ Language = javascript ]
Return true if this template can Finish (i.e., enable the Finish button).
clientmethod 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.
clientmethod canGoNext() [ Language = javascript ]
Return true if this template can go to the next page (i.e., enable the Next button).
clientmethod changedFileType(thisObj) [ Language = javascript ]
User changed file type. Change label.
clientmethod doBrowse() [ Language = javascript ]
Launching a file selector window.
clientmethod finishTemplate() [ Language = javascript ]
User clicked the Finish button. Start Import.
clientmethod formValidationHandler() [ Language = javascript ]
Validation handler for form built-into template.
clientmethod hasMultiplePages() [ Language = javascript ]
Inherited description: Return true if this template has more than one "page". This will display Back and Next buttons. This is implemented by subclasses.
clientmethod hasSelected() [ Language = javascript ]
Return true if at least one selection is made.
clientmethod loadTable() as %Boolean [ Language = javascript ]
If file exists, load table based on the jar file entered.
clientmethod nextPage() [ Language = javascript ]
Go to the next page of the template (if there is one).
clientmethod 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".
clientmethod onstartHandler() [ Language = javascript ]
This is called when the template is first displayed; This provides a chance to set focus etc.
clientmethod previousPage() [ Language = javascript ]
Go to the previous page of the template (if there is one).
This is implemented by subclasses.
clientmethod rowChecked(table) [ Language = javascript ]
User checked a checkbox in a row in the table. Show the location and update Finish button.

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)