EnsPortal.Deployment.DeployProductionChanges
class EnsPortal.Deployment.DeployProductionChanges extends EnsPortal.Template.standardPage
Deployment Apply Page This pages lets users import a deployment package and apply changes to a production.Property Inventory
- NAMESPACE
- canDeployLocalFile
- canViewFileSystem
- currItem
- deploymentFile
- deploymentName
- inProgress
- logFile
- msgCannotChangeTargetProduction
- msgHelp
- msgLocalFileNotAllowed
- msgNoDeploymentFile
- msgNoRollbackFile
- msgNoTargetProduction
- msgOpenServer
- msgOpenServerAndLocal
- msgUnableToIdentifyTargetProduction
- productionClassInExport
- productionClassInExportName
- rollbackFile
- rollbackProduction
- rollbackforDeploymentFile
- targetProduction
- tempPortalNode
- updateTimeout
Method Inventory
- %OnAfterCreatePage()
- %OnGetPageName()
- %OnGetTitle()
- %OnSubmit()
- DeployCodeAsynch()
- DrawTableHeader()
- FileExists()
- GenerateFilenames()
- GetDirectory()
- GetFilename()
- GetItemContents()
- GetLog()
- OnDrawRibbon()
- OnGetRibbonInfo()
- RollbackCodeAsynch()
- UIDeployCode()
- adjustSizes()
- checkIfOverwriteProd()
- checkIfTargetActive()
- deployCode()
- disableButtons()
- getCSSForType()
- loadPackage()
- localFileSelectOnChange()
- onPopupAction()
- onlayoutHandler()
- onloadHandler()
- openDeploymentFile()
- openLocalDeploymentFile()
- rollbackCode()
- selectItem()
- selectLogFile()
- selectProduction()
- selectRollbackFile()
- startDeployCode()
- timeout()
Parameters
parameter CSSINCLUDES;
Inherited description: Comma-separated list of additional CSS include files for the page.
If this page is using CSS3 then the CSS3INCLUDES parameter is used (if defined).
parameter JSINCLUDES = zenCSLM.js;
Inherited description: Comma-separated list of additional JS include files for the page.
parameter PAGENAME = Deploy Production Changes;
Displayed name of this page.
parameter RESOURCE = %Ens_Deploy;
User needs use permissions on %Ens_Deploy to use this page.
Properties
property NAMESPACE as %ZEN.Datatype.string (ZENURL = "$NAMESPACE");
Namespace.
Property methods: NAMESPACEDisplayToLogical(), NAMESPACEGet(), NAMESPACEIsValid(), NAMESPACELogicalToDisplay(), NAMESPACELogicalToOdbc(), NAMESPACENormalize(), NAMESPACESet()
property canDeployLocalFile as %Boolean [ InitialExpression = $classmethod($classname(),"canDeployFromLocalFile") ];
Is the user permitted to deploy from their local file system.
Property methods: canDeployLocalFileDisplayToLogical(), canDeployLocalFileGet(), canDeployLocalFileIsValid(), canDeployLocalFileLogicalToDisplay(), canDeployLocalFileLogicalToXSD(), canDeployLocalFileNormalize(), canDeployLocalFileSet(), canDeployLocalFileXSDToLogical()
property canViewFileSystem as %Boolean [ InitialExpression = $system.Security.Check("%Ens_ViewFileSystem","USE") ];
Is the user permitted to access the fileSelect popup.
Property methods: canViewFileSystemDisplayToLogical(), canViewFileSystemGet(), canViewFileSystemIsValid(), canViewFileSystemLogicalToDisplay(), canViewFileSystemLogicalToXSD(), canViewFileSystemNormalize(), canViewFileSystemSet(), canViewFileSystemXSDToLogical()
property currItem as %ZEN.Datatype.integer [ InitialExpression = -1 ];
ID (index number, 0-based) of current selected item.
Property methods: currItemDisplayToLogical(), currItemGet(), currItemIsValid(), currItemLogicalToDisplay(), currItemLogicalToOdbc(), currItemNormalize(), currItemSet()
property deploymentFile as %ZEN.Datatype.string (ZENURL = "DFILE");
Name of deployment export file (on server).
Property methods: deploymentFileDisplayToLogical(), deploymentFileGet(), deploymentFileIsValid(), deploymentFileLogicalToDisplay(), deploymentFileLogicalToOdbc(), deploymentFileNormalize(), deploymentFileSet()
property deploymentName as %ZEN.Datatype.string (ZENURL = "DNAME");
Name of Deployment package being viewed.
Property methods: deploymentNameDisplayToLogical(), deploymentNameGet(), deploymentNameIsValid(), deploymentNameLogicalToDisplay(), deploymentNameLogicalToOdbc(), deploymentNameNormalize(), deploymentNameSet()
property inProgress as %ZEN.Datatype.string [ InitialExpression = 0 ];
Whether deployment started by this page is still in progress.
Used to store log line for display. If 'done' then deployment finished.
Property methods: inProgressDisplayToLogical(), inProgressGet(), inProgressIsValid(), inProgressLogicalToDisplay(), inProgressLogicalToOdbc(), inProgressNormalize(), inProgressSet()
property logFile as %ZEN.Datatype.string (ZENURL = "LOGFILE");
Name of log file (on server).
Property methods: logFileDisplayToLogical(), logFileGet(), logFileIsValid(), logFileLogicalToDisplay(), logFileLogicalToOdbc(), logFileNormalize(), logFileSet()
property msgCannotChangeTargetProduction as %ZEN.Datatype.caption [ InitialExpression = $$$TextJS("Unable to change target production since production class included in deployment file.") ];
Property methods: msgCannotChangeTargetProductionDisplayToLogical(), msgCannotChangeTargetProductionGet(), msgCannotChangeTargetProductionIsValid(), msgCannotChangeTargetProductionLogicalToDisplay(), msgCannotChangeTargetProductionLogicalToOdbc(), msgCannotChangeTargetProductionNormalize(), msgCannotChangeTargetProductionSet()
property msgHelp as %ZEN.Datatype.caption [ InitialExpression = $$$Text("Help") ];
Property methods: msgHelpDisplayToLogical(), msgHelpGet(), msgHelpIsValid(), msgHelpLogicalToDisplay(), msgHelpLogicalToOdbc(), msgHelpNormalize(), msgHelpSet()
property msgLocalFileNotAllowed as %ZEN.Datatype.caption [ InitialExpression = $$$TextJS("Not allowed to deploy a file local via your browser.") ];
Property methods: msgLocalFileNotAllowedDisplayToLogical(), msgLocalFileNotAllowedGet(), msgLocalFileNotAllowedIsValid(), msgLocalFileNotAllowedLogicalToDisplay(), msgLocalFileNotAllowedLogicalToOdbc(), msgLocalFileNotAllowedNormalize(), msgLocalFileNotAllowedSet()
property msgNoDeploymentFile as %ZEN.Datatype.caption [ InitialExpression = $$$TextJS("Please open a deployment file first.") ];
Property methods: msgNoDeploymentFileDisplayToLogical(), msgNoDeploymentFileGet(), msgNoDeploymentFileIsValid(), msgNoDeploymentFileLogicalToDisplay(), msgNoDeploymentFileLogicalToOdbc(), msgNoDeploymentFileNormalize(), msgNoDeploymentFileSet()
property msgNoRollbackFile as %ZEN.Datatype.caption [ InitialExpression = $$$TextJS("Please enter a rollback file name.") ];
Property methods: msgNoRollbackFileDisplayToLogical(), msgNoRollbackFileGet(), msgNoRollbackFileIsValid(), msgNoRollbackFileLogicalToDisplay(), msgNoRollbackFileLogicalToOdbc(), msgNoRollbackFileNormalize(), msgNoRollbackFileSet()
property msgNoTargetProduction as %ZEN.Datatype.caption [ InitialExpression = $$$TextJS("Please enter a target production.") ];
Property methods: msgNoTargetProductionDisplayToLogical(), msgNoTargetProductionGet(), msgNoTargetProductionIsValid(), msgNoTargetProductionLogicalToDisplay(), msgNoTargetProductionLogicalToOdbc(), msgNoTargetProductionNormalize(), msgNoTargetProductionSet()
property msgOpenServer as %ZEN.Datatype.caption [ InitialExpression = $$$TextHTML("Click Open to select a deployment file from the Server's file system") ];
Property methods: msgOpenServerDisplayToLogical(), msgOpenServerGet(), msgOpenServerIsValid(), msgOpenServerLogicalToDisplay(), msgOpenServerLogicalToOdbc(), msgOpenServerNormalize(), msgOpenServerSet()
property msgOpenServerAndLocal as %ZEN.Datatype.caption [ InitialExpression = $$$TextHTML("Click Open to select a deployment file from the Server's file system or Open Local to select a deployment file from your file system") ];
Property methods: msgOpenServerAndLocalDisplayToLogical(), msgOpenServerAndLocalGet(), msgOpenServerAndLocalIsValid(), msgOpenServerAndLocalLogicalToDisplay(), msgOpenServerAndLocalLogicalToOdbc(), msgOpenServerAndLocalNormalize(), msgOpenServerAndLocalSet()
property msgUnableToIdentifyTargetProduction as %ZEN.Datatype.caption [ InitialExpression = $$$TextJS("Unable to identify a target production.") ];
Property methods: msgUnableToIdentifyTargetProductionDisplayToLogical(), msgUnableToIdentifyTargetProductionGet(), msgUnableToIdentifyTargetProductionIsValid(), msgUnableToIdentifyTargetProductionLogicalToDisplay(), msgUnableToIdentifyTargetProductionLogicalToOdbc(), msgUnableToIdentifyTargetProductionNormalize(), msgUnableToIdentifyTargetProductionSet()
property productionClassInExport as %ZEN.Datatype.boolean (ZENURL = "PRODINEXP");
Whether production class is in the deployment file
Property methods: productionClassInExportDisplayToLogical(), productionClassInExportGet(), productionClassInExportIsValid(), productionClassInExportLogicalToDisplay(), productionClassInExportLogicalToOdbc(), productionClassInExportLogicalToXSD(), productionClassInExportNormalize(), productionClassInExportSet(), productionClassInExportXSDToLogical()
property productionClassInExportName as %ZEN.Datatype.string (ZENURL = "PRODINEXPNAME");
Whether production class in the deployment file already exists in target
Property methods: productionClassInExportNameDisplayToLogical(), productionClassInExportNameGet(), productionClassInExportNameIsValid(), productionClassInExportNameLogicalToDisplay(), productionClassInExportNameLogicalToOdbc(), productionClassInExportNameNormalize(), productionClassInExportNameSet()
property rollbackFile as %ZEN.Datatype.string (ZENURL = "BCKFILE");
Name of rollback file (on server).
Property methods: rollbackFileDisplayToLogical(), rollbackFileGet(), rollbackFileIsValid(), rollbackFileLogicalToDisplay(), rollbackFileLogicalToOdbc(), rollbackFileNormalize(), rollbackFileSet()
property rollbackProduction as %ZEN.Datatype.string (ZENURL = "TARGETPROD");
Name of last target production for rollback
Property methods: rollbackProductionDisplayToLogical(), rollbackProductionGet(), rollbackProductionIsValid(), rollbackProductionLogicalToDisplay(), rollbackProductionLogicalToOdbc(), rollbackProductionNormalize(), rollbackProductionSet()
property rollbackforDeploymentFile as %ZEN.Datatype.string;
Property methods: rollbackforDeploymentFileDisplayToLogical(), rollbackforDeploymentFileGet(), rollbackforDeploymentFileIsValid(), rollbackforDeploymentFileLogicalToDisplay(), rollbackforDeploymentFileLogicalToOdbc(), rollbackforDeploymentFileNormalize(), rollbackforDeploymentFileSet()
property targetProduction as %ZEN.Datatype.string (ZENURL = "TARGETPROD");
Name of target production for code changes
Property methods: targetProductionDisplayToLogical(), targetProductionGet(), targetProductionIsValid(), targetProductionLogicalToDisplay(), targetProductionLogicalToOdbc(), targetProductionNormalize(), targetProductionSet()
property tempPortalNode as %ZEN.Datatype.string [ InitialExpression = "ToBeInitialised" ];
Property methods: tempPortalNodeDisplayToLogical(), tempPortalNodeGet(), tempPortalNodeIsValid(), tempPortalNodeLogicalToDisplay(), tempPortalNodeLogicalToOdbc(), tempPortalNodeNormalize(), tempPortalNodeSet()
property updateTimeout as %ZEN.Datatype.integer (ZENURL = "UPDATETO") [ InitialExpression = ##class(Ens.Director).GetRunningProductionUpdateTimeout() ];
Used to show production update timeout - defaults to running production
Property methods: updateTimeoutDisplayToLogical(), updateTimeoutGet(), updateTimeoutIsValid(), updateTimeoutLogicalToDisplay(), updateTimeoutLogicalToOdbc(), updateTimeoutNormalize(), updateTimeoutSet()
Methods
method %OnAfterCreatePage() as %Status
Inherited description: Decorate the page.
method %OnGetPageName() as %String
Get the (localized) name of the page.
method %OnGetTitle() as %String
Get the (localized) title string for the page.
classmethod %OnSubmit(pSubmit As %ZEN.Submit) as %Status
Inherited description: This callback is called when a form on this page is submitted.
pSubmit is a %ZEN.Submit object
containing details of the form submit.
Subclasses override this method.
Subclasses override this method.
method DeployCodeAsynch(pDeploymentFile As %String, pTargetProduction As %String, pCreateRollback As %Boolean, pRollbackFile As %String, pLogFile As %String, pUpdateTimeout As %Integer) [ ZenMethod ]
Draw the contents of the Header section.
method FileExists(pFilename) as %Boolean [ ZenMethod ]
method GenerateFilenames(pFilename) as %String [ ZenMethod ]
method GetDirectory(pFilename) as %String [ ZenMethod ]
method GetFilename(pFilename) as %String [ ZenMethod ]
method GetItemContents(pItemNumber, pItemName As %String = "", pItemType As %String = "") as %String [ ZenMethod ]
method GetLog() [ ZenMethod ]
method OnDrawRibbon() as %Status
Add to the contents of the tool ribbon.
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.
method RollbackCodeAsynch() [ ZenMethod ]
classmethod UIDeployCode(pDeploymentFile, pTargetProduction, pCreateRollback, pRollbackFile, pWhereToLog, pLogFile, pAllowDeployToSource, pAutoRevert, pTempPortalNode, pUpdateTimeout) as %Status
clientmethod adjustSizes() [ Language = javascript ]
Adjust sizes of components on the page.
method checkIfOverwriteProd(pSourceProductionClass As %String, pTargetProduction As %String) as %Boolean [ ZenMethod ]
clientmethod deployCode(pCreateRollbackFirst) [ Language = javascript ]
clientmethod disableButtons() [ Language = javascript ]
clientmethod getCSSForType(type) [ Language = javascript ]
Find the css class for the given row type.
clientmethod loadPackage(deploymentFile, targetProduction, rollbackFile, logFile) [ Language = javascript ]
Load the page for the specified Deployment.
clientmethod localFileSelectOnChange() [ Language = javascript ]
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 onlayoutHandler(load) [ Language = javascript ]
Adjust sizes of components on the page.
clientmethod onloadHandler() [ Language = javascript ]
This client event is fired when the page is loaded. &&&
clientmethod openDeploymentFile() [ Language = javascript ]
Launch the file dialog to select deployment file
clientmethod openLocalDeploymentFile() [ Language = javascript ]
Launch the browser file dialog to select a local deployment file
clientmethod rollbackCode() [ Language = javascript ]
clientmethod selectItem(type, row, differences, itemdetails, itemdescription, itemname, itemtype) [ Language = javascript ]
Select an item in the table.
clientmethod selectLogFile() [ Language = javascript ]
Launch the file dialog to select log file
clientmethod selectProduction() [ Language = javascript ]
Launch the open Production dialog.
clientmethod selectRollbackFile() [ Language = javascript ]
Launch the file dialog to select rollback file
clientmethod startDeployCode(pMode) [ Language = javascript ]
clientmethod timeout(timer) [ Language = javascript ]
This function controls the timer on showing the deployment log.
Inherited Members
Inherited Properties
- %condition
- %import
- %includeFiles
- %page
- %resource
- HelpAddress
- ISREADONLY
- LocatorHeader
- ParentURL
- StdTitle
- aboutPage
- align
- aux
- backgroundTimerInterval
- canEdit
- cellAlign
- cellSize
- cellStyle
- cellVAlign
- children
- composite
- contactPage
- containerStyle
- cssLevel
- currSortMode
- currStep
- currViewMode
- disabled
- dragAndDrop
- dragEnabled
- dropEnabled
- enableAutoRefresh
- enclosingClass
- enclosingStyle
- error
- groupClass
- groupStyle
- height
- hidden
- hint
- hintClass
- hintStyle
- home
- homePage
- id
- index
- keepAliveInterval
- label
- labelClass
- labelDisabledClass
- labelPosition
- labelStyle
- layout
- lblTitle
- limitPopups
- msgNotPermitted
- name
- onafterdrag
- onbeforedrag
- onclick
- ondrag
- ondrop
- onhide
- onrefresh
- onshow
- onupdate
- pageModified
- parent
- searchKey
- showLabel
- slice
- title
- tuple
- useSVG
- useSoftModals
- valign
- visible
- width
- window
- zenPersistentPopup
Inherited Methods
- %AddCSPShareHyperevents()
- %AddChild()
- %AddChildAfter()
- %AddChildBefore()
- %AddComponent()
- %AddEnsExceptionHandler()
- %AddImportedComponents()
- %AddLocatorLinks()
- %AddToSaveSet()
- %ApplyURLParms()
- %Attr()
- %BindExport()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %DrawAutoLogout()
- %DrawClassDefinitions()
- %DrawComponentHTML()
- %DrawHTML()
- %DrawHTMLPage()
- %DrawJSStrings()
- %DrawObjectDefinitions()
- %EnclosingDivId()
- %EndBackgroundMethod()
- %EndScript()
- %Eval()
- %EvalC()
- %Extends()
- %ForceClientRender()
- %GetChildIndex()
- %GetComponent()
- %GetComponentById()
- %GetComponentByName()
- %GetEventHandlers()
- %GetHomePage()
- %GetHomeParam()
- %GetLinks()
- %GetLocatorLinks()
- %GetPageName()
- %GetParameter()
- %GetProductName()
- %GetRootLink()
- %GetValueById()
- %GetValueByName()
- %GetXMLName()
- %IsA()
- %IsModified()
- %Link()
- %LinkCSS()
- %LinkScript()
- %MakeId()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OnAddToPageAfter()
- %OnAddToPageBefore()
- %OnBeforeCreatePage()
- %OnCreateApplication()
- %OnCreatePage()
- %OnDetermineCSSLevel()
- %OnDrawEnclosingDiv()
- %OnDrawHTMLBody()
- %OnDrawHTMLHead()
- %OnDrawHTMLMeta()
- %OnDrawObjectProperties()
- %OnFinishBackgroundTask()
- %OnGetProductName()
- %OnGetSmallMenu()
- %OnMonitorBackgroundTask()
- %OnMutateChildren()
- %OnObjectSynch()
- %OnPreHTTP()
- %OnUseSoftModals()
- %OnZENDeserialize()
- %OriginalNamespace()
- %PackageName()
- %QuoteValue()
- %QuoteValueL10N()
- %Register()
- %RemoveChild()
- %RemoveChildren()
- %RemoveComponent()
- %RemoveFromSaveSet()
- %RunBackgroundMethod()
- %Self()
- %SerializeObject()
- %SetBackgroundMethodStatus()
- %SetErrorById()
- %SetErrorByName()
- %SetModified()
- %SetValueById()
- %SetValueByName()
- %SetValuesByName()
- %StartScript()
- %ValidateObject()
- %ZENVersion()
- BuildMenu()
- CheckAllBlanks()
- CheckContextLinks()
- CheckEnterpriseManager()
- ConvertParameter()
- Decrypt()
- DoLogout()
- DrawLocator()
- DrawRibbon()
- DrawTitle()
- Encrypt()
- EscapeHTML()
- EscapeURL()
- EvalResult()
- GetCSPURL()
- GetContextLinks()
- GetDocURL()
- GetHomePage()
- GetHyperEventResources()
- GetNewURL()
- GetQuickLinks()
- HyperEventCall()
- HyperEventHead()
- Include()
- InsertHiddenField()
- InsertHiddenFields()
- IsPrivate()
- JavaInstalled()
- Link()
- OnHTTPHeader()
- OnPage()
- OnPageError()
- OnPostHTTP()
- OnPostHyperEvent()
- OnPreHTTP()
- OnPreHyperEvent()
- Page()
- QuoteJS()
- ReallyClearEscalation()
- RegisterRecent()
- RewriteURL()
- ShowError()
- SimpleKeepAlive()
- StartTimer()
- StopTimer()
- ThrowError()
- UnescapeHTML()
- UnescapeURL()
- XMLDTD()
- XMLExport()
- XMLExportToStream()
- XMLExportToString()
- XMLNew()
- XMLSchema()
- XMLSchemaNamespace()
- XMLSchemaType()
- addChild()
- addChildAfter()
- addChildBefore()
- addPopupSuffix()
- arrowClick()
- cancelPopup()
- changePassword()
- changeURLNamespace()
- checkEdit()
- childrenMutated()
- clearEscalation()
- clientKeepAlive()
- correctIELayering()
- createComponent()
- createComponentNS()
- createTimeWarning()
- deleteComponent()
- disableCommandButton()
- displayCountDown()
- dragFinishHandler()
- dragHandler()
- dragNotifyHandler()
- dragStartHandler()
- dropHandler()
- dropStartHandler()
- enableCommandButton()
- endModal()
- escalateLogin()
- exposeComponent()
- findElement()
- fireOnResizeEvent()
- fireOnUnloadEvent()
- fireOnUpdateEvent()
- firePopupAction()
- getChildIndex()
- getComponent()
- getComponentById()
- getEnclosingDiv()
- getHidden()
- getHintElement()
- getLabelElement()
- getOpener()
- getPageTitle()
- getProperty()
- getSettings()
- getTitleAreaHeight()
- getType()
- goHome()
- goMenu()
- gotoNamespace()
- gotoPage()
- hideCommandButton()
- hideTimeoutWarning()
- hideWarnContinue()
- inResizeLoop()
- initPopupSuffix()
- invokeSuper()
- isOfType()
- launchPopupWindow()
- logout()
- makeId()
- manualKeepAlive()
- navigate()
- onCreate()
- onDelete()
- onDisplayHandler()
- onEndModalHandler()
- onRefreshContents()
- onSerialize()
- onServerMethodCall()
- onServerMethodError()
- onServerMethodReturn()
- onStartModalHandler()
- ondisabledHandler()
- onhandleAutoLogoutWarn()
- onkeydownHandler()
- onkeyupHandler()
- onlogoutHandler()
- onoverlayHandler()
- onresizeHandler()
- onunloadHandler()
- onupdateHandler()
- popupActionHandler()
- refreshContents()
- removeChild()
- removePopupSuffix()
- render()
- renderContents()
- renderSVG()
- searchBlur()
- searchBoxHandler()
- searchFocus()
- searchKeyDown()
- searchKeyPress()
- setComponentId()
- setConnectivityStatusMsg()
- setHidden()
- setModified()
- setOverlayMode()
- setPageTitle()
- setProperty()
- setPropertyAll()
- setSortMode()
- setSortModeHandler()
- setTraceOption()
- setViewMode()
- setViewModeHandler()
- setWarnInnerHTML()
- showAbout()
- showCommandButton()
- showContact()
- showDocumentation()
- showHelp()
- showTimeoutWarning()
- startKeepAlive()
- startModal()
- startProgressBar()
- stopKeepAlive()
- stopProgressBar()
- switchNamespace()
- warnclickListener()