This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see Why Migrate to InterSystems IRIS?

%CSP.UI.Portal.License.Print

class %CSP.UI.Portal.License.Print extends %ZEN.Component.page, %CSP.UI.Portal.License.Utils

This page allows to print current active license and user selected license file to a printer.

Property Inventory

Method Inventory

Parameters

parameter APPLICATION = %CSP.UI.Portal.Application;
Class name of application this page belongs to.
parameter AUTONS = 0;
Switch namespace for this page:
parameter CSPURL = /csp/sys/mgr/%CSP.UI.Portal.License.Print.zen;
Inherited description: 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 DOMAIN = %Utility;
Domain used for localization.
parameter PAGENAME = PrintLicense;
Displayed name of this page.
parameter PAGETITLE = Print License;
Display title of this page
parameter RESOURCE = %Admin_Manage:USE;
Inherited description: This is a comma-delimited list of system Resources and associated permissions. A user must hold the specified permissions on at least one of the specified resources in order to view this page or invoke any of its server-side methods from the client.
The format of each item in the list should be as follows:
Resource[:Permission]
Permission is optional, and defaults to USE if not supplied. If it is supplied, it should be one of USE, READ or WRITE.

Properties

property Filename as %String (ZENURL = "Filename");
Schema name passed in from URL.
Property methods: FilenameDisplayToLogical(), FilenameGet(), FilenameIsValid(), FilenameLogicalToDisplay(), FilenameLogicalToOdbc(), FilenameNormalize(), FilenameSet()

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 DrawDate(pSeed As %String) as %Status
classmethod PrintFile(pFile As %String) as %Status
clientmethod doCancel() [ Language = javascript ]
clientmethod doPrint(filename As %Library.String) [ Language = javascript ]
Prepare to start printing

Inherited Members

Inherited Properties

Inherited Methods

Feedback