Home > Class Reference > ENSLIB namespace > EnsPortal.Productions

EnsPortal.Productions

class EnsPortal.Productions extends EnsPortal.Template.listPage

This is the Productions page of the ZEN Ensemble application.

Property Inventory (Including Private)

Method Inventory (Including Private)

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 (Including Private)

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 (Including Private)

method %OnGetPageName() as %String
Get the (localized) name of the page.
classmethod DeleteID(id) as %String [ ZenMethod ]
Delete this production (identified by id) then refresh.
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 (Including Private)