Home > Class Reference > %SYS namespace > %ZEN.Template.WebServicePolicyWizard


class %ZEN.Template.WebServicePolicyWizard extends %ZEN.Template.studioTemplate

Studio Template: New Web Service/Client Configuration.

Property Inventory (Including Private)

Method Inventory (Including Private)


parameter DOMAIN = %ZEN;
Domain used for localization.
parameter HELPID = GSOAPSEC_wsp_creating_policies;
Inherited description: DOCBOOK Topic Id that offers help for this template.
parameter TEMPLATEDESCRIPTION = Create a new Web Service/Client Configuration.;
Inherited description: Short description of the template to show in Studio.
If DOMAIN is defined this will be localized.
parameter TEMPLATEGROUP = General;
Inherited description: If this is a TEMPLATEMODE="new" then this is the name of the tab in Studio this template is dispayed on. If none specified then it displays on 'Custom' tab.
parameter TEMPLATEMODE = new;
What type of template.
parameter TEMPLATENAME = Web Service/Client Configuration;
Inherited description: Name of the template to show in Studio.
If DOMAIN is defined this will be localized.
parameter TEMPLATETITLE = Web Service/Client Configuration Wizard;
Inherited description: Title of the template to show in the template window.
parameter TEMPLATETYPE = cls;
Inherited description: Comma separated list of 'CSP', 'CSR', 'MAC', 'INT', 'INC', 'BAS', 'CLS' to say what type of code this template generates; CSP, CSR, Routine, or Class code. You can also specify '*' for all types.

Properties (Including Private)

property ConfigClass as %ZEN.Datatype.string;
Property methods: ConfigClassDisplayToLogical(), ConfigClassGet(), ConfigClassIsValid(), ConfigClassLogicalToDisplay(), ConfigClassLogicalToOdbc(), ConfigClassNormalize(), ConfigClassSet()
property FINALRESULTS as %String;
property IsClient as %ZEN.Datatype.boolean [ InitialExpression = 0 ];
Property methods: IsClientDisplayToLogical(), IsClientGet(), IsClientIsValid(), IsClientLogicalToDisplay(), IsClientLogicalToOdbc(), IsClientLogicalToXSD(), IsClientNormalize(), IsClientSet(), IsClientXSDToLogical()
property NumSOAPClasses as %ZEN.Datatype.integer [ InitialExpression = 0 ];
If NumSOAPClasses is greater than 1, then the Config Class field and Finish button are disabled.
If NumSOAPClasses is 1, then the Config Class is set to the first piece of ConfigId found, and modification of it is not allowed.
Else the Config Class is set to TargetClass_"Config"
Property methods: NumSOAPClassesDisplayToLogical(), NumSOAPClassesGet(), NumSOAPClassesIsValid(), NumSOAPClassesLogicalToDisplay(), NumSOAPClassesLogicalToOdbc(), NumSOAPClassesNormalize(), NumSOAPClassesSet()
property lblNONE as %ZEN.Datatype.caption [ InitialExpression = $$$Text("(No security is required.)") ];
Property methods: lblNONEDisplayToLogical(), lblNONEGet(), lblNONEIsValid(), lblNONELogicalToDisplay(), lblNONELogicalToOdbc(), lblNONENormalize(), lblNONESet()
property lblSEC as %ZEN.Datatype.caption [ InitialExpression = $$$Text("(Click [Next] to specify more policy details.)") ];
Property methods: lblSECDisplayToLogical(), lblSECGet(), lblSECIsValid(), lblSECLogicalToDisplay(), lblSECLogicalToOdbc(), lblSECNormalize(), lblSECSet()

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.
method %OnTemplateAction() as %Status
This method is called when the template is complete. Any output to the principal device is returned to the Studio.
classmethod DrawDetailsContent(code As %String) as %Status
This method draws policy detailed content.
classmethod DrawMessage(pSeed As %String) as %Status
Passing in code or policy type, display description of it.
classmethod DrawNumSOAPClasses(pSeed As %String) as %Status
This method is processed when user selects a CLASS type and clicks Next. TargetClass is passed in.
classmethod DrawPageTitle(pSeed As %String) as %Status
classmethod GetMutualInfo(code As %String)
classmethod GetPolicyMessage(pCode As %String) as %String
classmethod GetProtectionInfo(code As %String)
classmethod GetSSLInfo(code As %String)
code passed in is the Security Policy code.
classmethod GetSymmetricInfo(code As %String)
classmethod GetX509Info(code As %String, desc As %String)
code passed may contain code_R_ or code_I (if IsClient).
classmethod LoadList(Output Services) as %String
Return Services and Clients valueList to be loaded into drop-downs.
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).
clientmethod canGoNext() [ Language = javascript ]
Return true if this template can go to the next page (i.e., enable the Next button).
clientmethod changePolicy(policy) [ Language = javascript ]
load, show/hide fiels based on policy selected.
clientmethod changeSecConv(flag) [ Language = javascript ]
enable/disable DERIVEDKEYS based on Secure Conversation
clientmethod changeService(CLASS) [ Language = javascript ]
user changed SERVER <=> CLIENT. need to reset any policy selection back to NONE.
clientmethod changeType(type, targetclass) [ Language = javascript ]
prepare for tab 2.
clientmethod formValidationHandler() [ Language = javascript ]
Validation handler for form built-into template.
clientmethod getFinalValue(fieldName, fieldType) [ Language = javascript ]
Return value of the given html field name and type.
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 nextPage() [ Language = javascript ]
Go to the next page of the template (if there is one).
clientmethod onfinishHandler() [ Language = javascript ]
This is called when the template is finished - gather selected values and put into hidden Zen fields for %OnTemplateAction.
The extra work is needed because most policy specific fields are html controls rather than Zen controls.
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).
clientmethod resetMsg() [ Language = javascript ]
clientmethod showMsg(msg) [ Language = javascript ]
classmethod validateConfigurationName(classname As %String, replace As %Boolean) as %String [ ZenMethod ]

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)