Skip to main content

EnsPortal.Productions

class EnsPortal.Productions extends EnsPortal.Template.listPage, EnsPortal.Template.scUtils

This is the Productions page of the ZEN application.

Property Inventory

Method Inventory

Parameters

parameter EDITRESOURCE = %Ens_ProductionConfig:WRITE;
User needs WRITE permissions on the %Ens_ProductionConfig resource to make changes on this page.
parameter PAGENAME = Production Status;
Displayed name of this page.
parameter RESOURCE = %Ens_ProductionConfig:READ;
User needs READ permissions on the %Ens_ProductionConfig resource to access this page.

Properties

property OS as %String [ InitialExpression = $system.Version.GetBuildOS() ];
OS platform ("Windows", "UNIX" or "VMS")
Property methods: OSDisplayToLogical(), OSGet(), OSIsValid(), OSLogicalToDisplay(), OSLogicalToOdbc(), OSNormalize(), OSSet()
property canDocument as %ZEN.Datatype.boolean [ InitialExpression = $system.Security.Check("%Ens_ProductionDocumentation","USE") ];
Property methods: canDocumentDisplayToLogical(), canDocumentGet(), canDocumentIsValid(), canDocumentLogicalToDisplay(), canDocumentLogicalToOdbc(), canDocumentLogicalToXSD(), canDocumentNormalize(), canDocumentSet(), canDocumentXSDToLogical()
property canExport as %ZEN.Datatype.boolean [ InitialExpression = $system.Security.Check("%Ens_DeploymentPkg", "USE") ];
Property methods: canExportDisplayToLogical(), canExportGet(), canExportIsValid(), canExportLogicalToDisplay(), canExportLogicalToOdbc(), canExportLogicalToXSD(), canExportNormalize(), canExportSet(), canExportXSDToLogical()

Methods

method %OnGetPageName() as %String
Get the (localized) name of the page.
method DeleteID(pProdName) as %String [ ZenMethod ]
Delete this production (identified by id) then refresh. Accounting for Source Control if applicable.
classmethod GetHyperEventResources(pMethod As %String = "") as %String
Callback to return a list of resources required for a specific HyperEvent. The user must have sufficient privileges on one of the resource/permission pairs to be permitted to execute the hyperevent. An empty string implies the user already has sufficient privileges for the ZenMethod specified in pMethod.
method OnGetRibbonInfo(Output pDisplay As %Boolean, Output pViewIcons As %List, Output pSortOptions As %List, Output pSearchBox As %Boolean, Output pRibbonTitle As %String, Output pCommands As %List) as %Status
Get information to display in the ribbon bar.
classmethod ProductionExists(id) as %Boolean [ ZenMethod ]
clientmethod doConfigure() [ Language = javascript ]
Correctly encode the URL for the production name before linking to the configuration page for a production. This is required to be able to configure productions with non-English Latin-1 characters in their names.
clientmethod doDelete() [ Language = javascript ]
clientmethod doDocument() [ Language = javascript ]
Correctly encode the URL for the production name before linking to the documentation page for a production. This is required to be able to configure productions with non-English Latin-1 characters in their names.
clientmethod doExport() [ Language = javascript ]
clientmethod doNew() [ Language = javascript ]
Invoke the new production wizard just like in EnsPortal.ProductionConfig
clientmethod onPopupAction(popupName, action, value) [ Language = javascript ]
This client event is fired when the a popup page launched from this page fires an action.
clientmethod onloadHandler() [ Language = javascript ]
This client event, if present, is fired when the page is loaded.

Queries

query Enumerate(Filter As %String = "", QueryMethod As %String, QueryClass As %String)
Selects Production As %String, Status As %String, LastStartTime As %String, LastStopTime As %String, StatusEnum As %String
Class query with filter added. Override this in order to add rowspec specific to the list being displayed

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab