EnsPortal.Template.prodConfigSCPage

Property Inventory

Method Inventory

Parameters

parameter MANAGERDIALOG = EnsPortal.Dialog.SourceControlManager.zen;
Inherited description: Page to use for managing popups requested by the source control framework.
parameter OUTPUTDIALOG = EnsPortal.Dialog.SourceControlOutput.zen;
Inherited description: Page to use for displaying output from the server.

Properties

property msgProductionReadOnly as %ZEN.Datatype.caption [ InitialExpression = $$$TextJS("This production is set to read only") ];
Property methods: msgProductionReadOnlyDisplayToLogical(), msgProductionReadOnlyGet(), msgProductionReadOnlyIsValid(), msgProductionReadOnlyLogicalToDisplay(), msgProductionReadOnlyLogicalToOdbc(), msgProductionReadOnlyNormalize(), msgProductionReadOnlySet()
property msgSCReadOnly as %ZEN.Datatype.caption [ InitialExpression = $$$Text("Your source control framework has marked this production as read only, so you will not be able to modify this production.") ];
Property methods: msgSCReadOnlyDisplayToLogical(), msgSCReadOnlyGet(), msgSCReadOnlyIsValid(), msgSCReadOnlyLogicalToDisplay(), msgSCReadOnlyLogicalToOdbc(), msgSCReadOnlyNormalize(), msgSCReadOnlySet()

Methods

method GetInternalName() as %String [ Language = objectscript ]
Return the internal name of the current Production class.
method IsDocReadOnly() as %Boolean [ Language = objectscript, ZenMethod ]
method IsProductionSCReadOnly() as %Boolean [ Language = objectscript, ZenMethod ]
classmethod IsRuntimeDifferentFromClass(pClassName) as %String [ Language = objectscript, ZenMethod ]
Wrapper to check if class is different from runtime
method SCSubmitProduction(pCommand As %String, pProvider As %ZEN.Auxiliary.jsonProvider, pSubmitObject As Ens.Config.Production, Output pResponseObject As %RegisteredObject) as %Status [ Language = objectscript ]
Source Control stub Not used for saving production class changes
clientmethod canUserModify(saveAs) [ Language = javascript ]
Test if the user has write privilege.
clientmethod checkEdit() [ Language = javascript ]
clientmethod checkRuntimeAndClassInSync(caller) [ Language = javascript ]
Used to check if class and code in sync
clientmethod chooseSCMenu(menuName, commandName, saveFlags) [ Language = javascript ]
Handle a source control menu selection.
clientmethod getClientModel() [ Language = javascript ]
Inherited description: Get the jsonProvider object on the client. Subclasses MUST override this method to return the jsonProvider.
clientmethod getCurrentName() [ Language = javascript ]
Return the current name of the production being modified
clientmethod getIsReadOnly() as %Boolean [ Language = javascript ]
clientmethod getReadOnlyReason() [ Language = javascript ]
Callback to get the text of the reason for the current document being loaded as readonly.
clientmethod onloadHandler() [ Language = javascript ]
This client event, if present, is fired when the page is loaded.
clientmethod reloadDocument() [ Language = javascript ]
Override SC method since not doing a full page reload so that invokeSourceControl still calls UpdateSCMenus()
clientmethod saveDocument(force) [ Language = javascript ]
Overwrite SC method since we do not do the Save and SaveToClass In Studio the class will be saved but SaveToClass not called.
clientmethod scSetReadWriteState(readOnly) [ Language = javascript ]
clientmethod setReadOnly(readOnly) [ Language = javascript ]
Set readOnly to the value of readOnly.
clientmethod showSCMenu() [ Language = javascript ]
Display the source control menu based on the contents of the _sourceControlMenu data created by UpdateSCMenu()().
clientmethod toggleReadOnly(caller) [ Language = javascript ]
Called after each Source Control action. Add caller parameter to be able to identify if called from this class.

Inherited Members

Inherited Properties

Inherited Methods

Subclasses

Feedback