EnsPortal.ProductionDocument
class EnsPortal.ProductionDocument extends EnsPortal.Template.standardPage
StartProductionProperty Inventory
- DocumentFormat
- ProductionName
- canViewFileSystem
- lblLastHTMLReport
- lblNoLastHTMLReport
- regenerationAgeWarn
- secondsSinceLastReport
Method Inventory
- %OnAfterCreatePage()
- %OnGetPageName()
- %OnGetTitle()
- DecideProductionJS()
- DocumentProductionJS()
- DrawResults()
- DrawStatus()
- FileProblem()
- GetCompletionValue()
- GetDefaultDir()
- GetDocumentationStatus()
- GetHyperEventResources()
- GetJobStatus()
- GetRunningDuration()
- GetRunningProductionName()
- GetRunningStartTime()
- GetRunningStatus()
- OnGetRibbonInfo()
- RunDocumentInBackground()
- SetCompletionValue()
- SetDefaultDir()
- browseSelect()
- btnCreate()
- btnView()
- changedProduction()
- doCreatePDF()
- doStatus()
- onPopupAction()
- onloadHandler()
- timeout()
Parameters
parameter CSSINCLUDES = ensemble/Ensemble_Wizards.css;
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 PAGENAME = Production Document;
Displayed name of this page.
parameter RESOURCE = %Ens_ProductionDocumentation:USE;
User needs USE permissions on the %Ens_ProductionDocumentation resource to view this page.
Properties
property DocumentFormat as %String;
Current document format: "PDF" or "HTML"
Property methods: DocumentFormatDisplayToLogical(), DocumentFormatGet(), DocumentFormatIsValid(), DocumentFormatLogicalToDisplay(), DocumentFormatLogicalToOdbc(), DocumentFormatNormalize(), DocumentFormatSet()
property ProductionName as %ZEN.Datatype.string (ZENURL = "PRODUCTION");
Name of production that is displayed.
Property methods: ProductionNameDisplayToLogical(), ProductionNameGet(), ProductionNameIsValid(), ProductionNameLogicalToDisplay(), ProductionNameLogicalToOdbc(), ProductionNameNormalize(), ProductionNameSet()
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 lblLastHTMLReport as %ZEN.Datatype.caption [ InitialExpression = $$$TextHTML("Existing HTML documentation for this production was generated:") ];
Property methods: lblLastHTMLReportDisplayToLogical(), lblLastHTMLReportGet(), lblLastHTMLReportIsValid(), lblLastHTMLReportLogicalToDisplay(), lblLastHTMLReportLogicalToOdbc(), lblLastHTMLReportNormalize(), lblLastHTMLReportSet()
property lblNoLastHTMLReport as %ZEN.Datatype.caption [ InitialExpression = $$$TextHTML("No Existing HTML documentation for this production.") ];
Property methods: lblNoLastHTMLReportDisplayToLogical(), lblNoLastHTMLReportGet(), lblNoLastHTMLReportIsValid(), lblNoLastHTMLReportLogicalToDisplay(), lblNoLastHTMLReportLogicalToOdbc(), lblNoLastHTMLReportNormalize(), lblNoLastHTMLReportSet()
property regenerationAgeWarn as %ZEN.Datatype.integer [ InitialExpression = 300 ];
Time in seconds since last report before which a popup is given seeking confirmation.
Compared with property secondsSinceLastReport
Property methods: regenerationAgeWarnDisplayToLogical(), regenerationAgeWarnGet(), regenerationAgeWarnIsValid(), regenerationAgeWarnLogicalToDisplay(), regenerationAgeWarnLogicalToOdbc(), regenerationAgeWarnNormalize(), regenerationAgeWarnSet()
property secondsSinceLastReport as %ZEN.Datatype.integer [ InitialExpression = -1 ];
Time in seconds since the report was last generated.
Only set when a production is selected and does not change until
another production is selected or the page is refreshed.
Property methods: secondsSinceLastReportDisplayToLogical(), secondsSinceLastReportGet(), secondsSinceLastReportIsValid(), secondsSinceLastReportLogicalToDisplay(), secondsSinceLastReportLogicalToOdbc(), secondsSinceLastReportNormalize(), secondsSinceLastReportSet()
Methods
method %OnAfterCreatePage() as %Status
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.
If HTML documentation exists for the Production, return the URL for display; otherwise return null.
classmethod DocumentProductionJS(pProdId As %String, pFormat As %String, pPDFFileName As %String = "", pPDFRenderer As %String = "", pAllSettings As %Boolean = 0) as %String
This method generates a document for the specified production and returns a status that JavaScript can understand.
method DrawResults(seed As %ZEN.Datatype.string = "") as %Status
Draw results and log file if any.
method DrawStatus(seed As %ZEN.Datatype.string) as %Status
Draw current documentation status; intended for use with background documentation jobs.
Check for problems in the output file for PDF, and report back.
"0" means ok, "1" means the file exists, "2" means the directory does not exist,
"3" means the filename is not supplied, "4" means the filename is not correct for PDF output,
"5" means a blank value was supplied.
classmethod GetCompletionValue() as %Boolean
classmethod GetDefaultDir() as %String [ ZenMethod ]
classmethod GetDocumentationStatus() as %String [ ZenMethod ]
Use when the documentation job is running in the background to check on running status.
Returns either "running" or "idle" or "done".
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.
classmethod GetJobStatus() as %ListOfDataTypes [ ZenMethod ]
Use when the documentation job is running in the background to check on error status.
Returns error message and log file name/contents if available.
classmethod GetRunningDuration() as %String
Use when the documentation job is running in the background to check on status.
Gets the number of seconds job has been running (or ran, if complete)
and formats it nicely as a string.
classmethod GetRunningProductionName() as %String
Use when the documentation job is running in the background to check on status.
classmethod GetRunningStartTime() as %String
Use when the documentation job is running in the background to check on status.
classmethod GetRunningStatus() as %String
Use when the documentation job is running in the background to check on running status.
Returns either "running" or "idle" or "done".
method OnGetRibbonInfo(Output pDisplay As %Library.Boolean, Output pViewIcons As %Library.List, Output pSortOptions As %Library.List, Output pSearchBox As %Library.Boolean, Output pRibbonTitle As %Library.String, Output pCommands As %Library.List) as %Status
Get information to display in the ribbon bar.
Make appropriate choices for Production Documentation.
classmethod RunDocumentInBackground(pProdId As %String, pFormat As %String, pPDFFileName As %String = "", pPDFRenderer As %String = "", pAllSettings As %Boolean = 0) as %ZEN.Datatype.string [ ZenMethod ]
Run method DocumentProductionJS() in a background job. Return 1 if this works out ok,
an error string if there is an error in running the job
(regardless of the results of the method DocumentProductionJS() itself).
The input pFormat is the string "HTML" or "PDF" indicating the output format.
classmethod SetDefaultDir(pPathname As %String) [ ZenMethod ]
clientmethod browseSelect() [ Language = javascript ]
User clicked the Browse button.
clientmethod btnCreate(format) [ Language = javascript ]
Generate new document for the specifed production.
clientmethod btnView() [ Language = javascript ]
Decide what to do about documenting the specifed production in HTML format.
clientmethod changedProduction(production) [ Language = javascript ]
clientmethod doCreatePDF(filename) [ Language = javascript ]
The argument filename is the full pathname of the output PDF file.
clientmethod doStatus() [ Language = javascript ]
This method calls server method to get current background documentation job status and update the UI.
clientmethod onPopupAction(popupName, action, value) [ Language = javascript ]
This client event, if present, 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.
Start the timer so we can check the status. If there is a
background documentation job currently running,
you will see a periodic update until the job is finished.
clientmethod timeout(timer) [ Language = javascript ]
This function controls the timer on updating progress.
It is called from onload as well (in case a background documentation job is currently being run when the page is opened).
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()
- %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()
- BuildMenu()
- CheckAllBlanks()
- CheckContextLinks()
- CheckEnterpriseManager()
- ConvertParameter()
- Decrypt()
- DoLogout()
- DrawLocator()
- DrawRibbon()
- DrawTitle()
- Encrypt()
- EscapeHTML()
- EscapeURL()
- EvalResult()
- GetCSPURL()
- GetContextLinks()
- GetDocURL()
- GetHomePage()
- GetNewURL()
- GetQuickLinks()
- HyperEventCall()
- HyperEventHead()
- Include()
- InsertHiddenField()
- InsertHiddenFields()
- IsPrivate()
- JavaInstalled()
- Link()
- OnDrawRibbon()
- 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()
- 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()
- setSortMode()
- setSortModeHandler()
- setTraceOption()
- setViewMode()
- setViewModeHandler()
- setWarnInnerHTML()
- showAbout()
- showCommandButton()
- showContact()
- showDocumentation()
- showHelp()
- showTimeoutWarning()
- startKeepAlive()
- startModal()
- startProgressBar()
- stopKeepAlive()
- stopProgressBar()
- switchNamespace()
- warnclickListener()