Home > Class Reference > ENSLIB namespace > CSPX.EnsStartStopPage

CSPX.EnsStartStopPage

class CSPX.EnsStartStopPage extends %CSP.Util.AutoPage

CSP Page for starting/stopping an Ensemble production.

Parameters

parameter DOMAIN = Ensemble;
Use our own domain for localization

Methods

classmethod OnPage() as %Status
Inherited description: Event handler for PAGE event: this is invoked in order to generate the content of a csp page.
classmethod OnPreHTTP() as %Boolean
Inherited description: Event handler for PreHTTP event: this is invoked before the HTTP headers for a CSP page have been sent. All changes to the %CSP.Response class, such as adding cookies, HTTP headers, setting the content type etc. must be made from within the OnPreHTTP() method. Also changes to the state of the CSP application such as changing %session.EndSession or %session.AppTimeout must be made within the OnPreHTTP() method. It is prefered that changes to %session.Preserve are also made in the OnPreHTTP() method as this is more efficient, although it is supported in any section of the page. Return 0 to prevent OnPage() from being called.
classmethod StartProduction(pName As %String) as %Status
Start a production
classmethod StopProduction(pTimeout, pForce) as %Status
Stop a production
classmethod UpdateProduction(pTimeout, pForce) as %Status
Update a production

Inherited Methods

%ClassIsLatestVersion() DrawBODY() InsertHiddenField()
%ClassName() DrawFrameBODY() InsertHiddenFields()
%DispatchClassMethod() DrawFrameLayout() IsPrivate()
%DispatchGetModified() DrawFrameSet() Link()
%DispatchGetProperty() DrawHEAD() OnHTTPHeader()
%DispatchMethod() DrawHTML() OnPageError()
%DispatchSetModified() DrawShowDoc() OnPostHTTP()
%DispatchSetMultidimProperty() DrawTitle() OnPostHyperEvent()
%DispatchSetProperty() Encrypt() OnPreHyperEvent()
%Extends() EscapeHTML() Page()
%GetParameter() EscapeURL() QuoteJS()
%IsA() GetCSPClassName() RegisterRecent()
%New() GetDetailPane() RewriteURL()
%OriginalNamespace() GetInfoPane() SetNamespace()
%PackageName() GetLocator() ShowError()
%SetModified() GetNavigatorPane() StartTimer()
ChangeNamespace() GetPageName() StopTimer()
ConvertParameter() GetTitlePane() ThrowError()
CreatePageInstance() HyperEventCall() UnescapeHTML()
Decrypt() HyperEventHead() UnescapeURL()
DrawAutoLogout() Include()