EnsPortal.Template.prodConfigSCPage
hidden abstract class EnsPortal.Template.prodConfigSCPage extends EnsPortal.Template.prodConfigSCSuper
Property Inventory
Method Inventory
- GetInternalName()
- IsDocReadOnly()
- IsProductionSCReadOnly()
- IsRuntimeDifferentFromClass()
- SCSubmitProduction()
- canUserModify()
- checkEdit()
- checkRuntimeAndClassInSync()
- chooseSCMenu()
- getClientModel()
- getCurrentName()
- getIsReadOnly()
- getReadOnlyReason()
- onloadHandler()
- reloadDocument()
- saveDocument()
- scSetReadWriteState()
- setReadOnly()
- showSCMenu()
- toggleReadOnly()
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
Return the internal name of the current Production class.
method IsDocReadOnly() as %Boolean [ ZenMethod ]
method IsProductionSCReadOnly() as %Boolean [ ZenMethod ]
classmethod IsRuntimeDifferentFromClass(pClassName) as %String [ 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
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
- %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
- currentNamespace
- currentProject
- currentUser
- disabled
- dragAndDrop
- dragEnabled
- dropEnabled
- enableAutoRefresh
- enclosingClass
- enclosingStyle
- error
- groupClass
- groupStyle
- hasSCOutput
- height
- hidden
- hint
- hintClass
- hintStyle
- home
- homePage
- id
- index
- keepAliveInterval
- label
- labelClass
- labelDisabledClass
- labelPosition
- labelStyle
- layout
- lblTitle
- limitPopups
- msgNotPermitted
- name
- needProject
- onafterdrag
- onbeforedrag
- onclick
- ondrag
- ondrop
- onhide
- onrefresh
- onshow
- onupdate
- pageModified
- parent
- readOnly
- readOnlyReason
- renamed
- searchKey
- showLabel
- slice
- sourceControlEnabled
- sourceControlManagerDialog
- sourceControlNewlineFormat
- sourceControlOutputDialog
- sourceControlVisible
- 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()
- %DrawSourceControlCommands()
- %DrawSourceControlHead()
- %DrawSourceControlJS()
- %DrawSourceControlStyle()
- %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()
- %OnAfterCreatePage()
- %OnBeforeCreatePage()
- %OnCreateApplication()
- %OnCreatePage()
- %OnDetermineCSSLevel()
- %OnDrawEnclosingDiv()
- %OnDrawHTMLBody()
- %OnDrawHTMLHead()
- %OnDrawHTMLMeta()
- %OnDrawObjectProperties()
- %OnFinishBackgroundTask()
- %OnGetPageName()
- %OnGetProductName()
- %OnGetSmallMenu()
- %OnGetTitle()
- %OnMonitorBackgroundTask()
- %OnMutateChildren()
- %OnObjectSynch()
- %OnPreHTTP()
- %OnSubmit()
- %OnUseSoftModals()
- %OnZENDeserialize()
- %OriginalNamespace()
- %PackageName()
- %QuoteValue()
- %QuoteValueL10N()
- %Register()
- %RemoveChild()
- %RemoveChildren()
- %RemoveComponent()
- %RemoveFromSaveSet()
- %RunBackgroundMethod()
- %Self()
- %SerializeObject()
- %SetBackgroundMethodStatus()
- %SetErrorById()
- %SetErrorByName()
- %SetModified()
- %SetValueById()
- %SetValueByName()
- %SetValuesByName()
- %StartScript()
- %ValidateObject()
- %ZENVersion()
- AfterUserAction()
- AppendSourceControlOutput()
- BuildMenu()
- CheckAllBlanks()
- CheckContextLinks()
- CheckEnterpriseManager()
- ClearSourceControlOutput()
- ConvertParameter()
- CreateProject()
- CreateSourceControl()
- Decrypt()
- DoLogout()
- DocumentLoad()
- DocumentSave()
- DrawLocator()
- DrawRibbon()
- DrawTitle()
- Encrypt()
- EscapeHTML()
- EscapeURL()
- EvalResult()
- GetCSPURL()
- GetContextLinks()
- GetCurrentProject()
- GetDocURL()
- GetFullProjectName()
- GetHomePage()
- GetHyperEventResources()
- GetNewURL()
- GetQuickLinks()
- GetSourceControlClass()
- GetSourceControlCommands()
- GetTimestamp()
- HaveSourceControlOutput()
- HyperEventCall()
- HyperEventHead()
- Include()
- InsertHiddenField()
- InsertHiddenFields()
- IsEnabled()
- IsPrivate()
- IsProjectRequired()
- IsSourceControlReadOnly()
- JavaInstalled()
- Link()
- LoadProject()
- OnDrawRibbon()
- OnGetRibbonInfo()
- OnHTTPHeader()
- OnPage()
- OnPageError()
- OnPostHTTP()
- OnPostHyperEvent()
- OnPreHTTP()
- OnPreHyperEvent()
- Page()
- QuoteJS()
- ReallyClearEscalation()
- RegisterRecent()
- RewriteURL()
- SetCurrentProject()
- SetProjectRequired()
- ShowError()
- SimpleKeepAlive()
- StartTimer()
- StopTimer()
- ThrowError()
- UnescapeHTML()
- UnescapeURL()
- UpdateSCMenus()
- UserAction()
- XMLDTD()
- XMLExport()
- XMLExportToStream()
- XMLExportToString()
- XMLNew()
- XMLSchema()
- XMLSchemaNamespace()
- XMLSchemaType()
- addChild()
- addChildAfter()
- addChildBefore()
- addPopupSuffix()
- appendServerOutput()
- arrowClick()
- cancelPopup()
- changePassword()
- changeURLNamespace()
- checkTextControls()
- childrenMutated()
- chooseSCProject()
- clearEscalation()
- clearSCOutput()
- clientKeepAlive()
- correctIELayering()
- createComponent()
- createComponentNS()
- createSCMenuItem()
- createSCProject()
- createSCSubMenu()
- createTimeWarning()
- deleteComponent()
- disableCommandButton()
- displayCountDown()
- dragFinishHandler()
- dragHandler()
- dragNotifyHandler()
- dragStartHandler()
- dropHandler()
- dropStartHandler()
- enableCommandButton()
- endModal()
- escalateLogin()
- exposeComponent()
- findElement()
- fireOnResizeEvent()
- fireOnUnloadEvent()
- fireOnUpdateEvent()
- firePopupAction()
- getChildIndex()
- getComponent()
- getComponentById()
- getCurrentExtension()
- getEnclosingDiv()
- getHidden()
- getHintElement()
- getLabelElement()
- getOpener()
- getPageTitle()
- getProperty()
- getSaveAction()
- getSettings()
- getTitleAreaHeight()
- getType()
- goHome()
- goMenu()
- gotoNamespace()
- gotoPage()
- hideCommandButton()
- hideTimeoutWarning()
- hideWarnContinue()
- inResizeLoop()
- initPopupSuffix()
- initializeSourceControl()
- initializeTextMonitor()
- invokeAfterUserAction()
- invokeSourceControl()
- invokeSuper()
- isOfType()
- launchPopupWindow()
- loadDocument()
- logout()
- makeId()
- manualKeepAlive()
- navigate()
- onCreate()
- onDelete()
- onDisplayHandler()
- onDocumentLoad()
- onDocumentLoadComplete()
- onDocumentSave()
- onDocumentSaveComplete()
- onEndModalHandler()
- onPopupAction()
- onRefreshContents()
- onSerialize()
- onServerMethodCall()
- onServerMethodError()
- onServerMethodReturn()
- onStartModalHandler()
- ondisabledHandler()
- onhandleAutoLogoutWarn()
- onkeydownHandler()
- onkeyupHandler()
- onlayoutHandler()
- 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()
- setSCProject()
- setSortMode()
- setSortModeHandler()
- setTraceOption()
- setViewMode()
- setViewModeHandler()
- setWarnInnerHTML()
- showAbout()
- showCommandButton()
- showContact()
- showDocumentation()
- showHelp()
- showSCOutput()
- showTimeoutWarning()
- startKeepAlive()
- startModal()
- startProgressBar()
- stopKeepAlive()
- stopProgressBar()
- switchNamespace()
- textControlKeyDown()
- textControlKeyUp()
- updateDocumentState()
- updateSCIndicator()
- warnclickListener()