public class

DiagnosticsStatisticsTransform

extends AbstractDiagnosticsTransform
java.lang.Object
   ↳ com.microstrategy.web.transform.AbstractTransform
     ↳ com.microstrategy.web.transform.AbstractLayoutTransform
       ↳ com.microstrategy.web.app.transforms.AbstractAppTransform
         ↳ com.microstrategy.web.admin.transforms.AbstractAdminTransform
           ↳ com.microstrategy.web.admin.transforms.AbstractDiagnosticsTransform
             ↳ com.microstrategy.web.admin.transforms.DiagnosticsStatisticsTransform

Class Overview

Title: DiagnosticsStatisticsTransform This class is used to display the interface required for changing statistic properties.

Summary

[Expand]
Inherited Constants
From class com.microstrategy.web.app.transforms.AbstractAppTransform
[Expand]
Inherited Fields
From class com.microstrategy.web.admin.transforms.AbstractDiagnosticsTransform
From class com.microstrategy.web.admin.transforms.AbstractAdminTransform
From class com.microstrategy.web.app.transforms.AbstractAppTransform
Public Constructors
DiagnosticsStatisticsTransform()
Public Methods
String getDescription()
Returns the description of this transform
void initializeCss()
Initialize the css classes to use while displaying this transform
void renderDiagnosticOutput(MarkupOutput out)
Generates the graphical output for the DiagnosticsBean, which for this transform's definition, will consist on the different options for statistics logging that can be configured by the user.
void renderFormHiddenInputs(MarkupOutput out, WebEvent applyEvent, WebEvent loadDefaults)
Add to the global output any hidden inputs and other information that should be rendered for the proper functionality of the form
void renderStatisticsModeRow(MarkupOutput out, WebEvent event, DiagnosticsBean bean)
Renders a TR in a table, with two columns, with the information required for the user to customize the statistics mode desired: off, on screen, on a file, etc.
void renderStatisticsPathRow(MarkupOutput out, WebEvent event, DiagnosticsBean bean)
Renders a TR in a table, with two columns, with the information required for the user to customize the path where the statistics file is to be saved.
void renderStatisticsSetup(MarkupOutput out)
Show the interface related with the diagnostics statistics options: change the mode (off, screen, file, Screen and file) and update the location of the file that will be created.
Protected Methods
String getTitle()
Obtain the title to be displayed by this transform as header of its section
[Expand]
Inherited Methods
From class com.microstrategy.web.admin.transforms.AbstractDiagnosticsTransform
From class com.microstrategy.web.admin.transforms.AbstractAdminTransform
From class com.microstrategy.web.app.transforms.AbstractAppTransform
From class com.microstrategy.web.transform.AbstractLayoutTransform
From class com.microstrategy.web.transform.AbstractTransform
From class java.lang.Object
From interface com.microstrategy.web.app.transforms.AppTransform
From interface com.microstrategy.web.transform.Transform

Public Constructors

public DiagnosticsStatisticsTransform ()

Public Methods

public String getDescription ()

Returns the description of this transform

Returns
  • String value with the description of this transform

public void initializeCss ()

Initialize the css classes to use while displaying this transform

public void renderDiagnosticOutput (MarkupOutput out)

Generates the graphical output for the DiagnosticsBean, which for this transform's definition, will consist on the different options for statistics logging that can be configured by the user.
The output is inside an HTML TABLE tag for formatting purposes. This method displays the header of the property box, plus the form where the user can specify the values of the different options.

Parameters
out MarkupOutput instance where to create the HTML output

public void renderFormHiddenInputs (MarkupOutput out, WebEvent applyEvent, WebEvent loadDefaults)

Add to the global output any hidden inputs and other information that should be rendered for the proper functionality of the form

Parameters
out MarkupOutput instance where the HTML contents are to be saved.
applyEvent WebEvent for applying the changes indicated on the form
loadDefaults WebEvent for loading the default values on the form

public void renderStatisticsModeRow (MarkupOutput out, WebEvent event, DiagnosticsBean bean)

Renders a TR in a table, with two columns, with the information required for the user to customize the statistics mode desired: off, on screen, on a file, etc. If the event or bean are not provided or the argument to search for is not found, nothing will be displayed. It is required that the parent TABLE is already opened. By default renderDiagnosticOutput() takes care of that.

Parameters
out MarkupOutput instance to contain the HTML to be displayed
event WebEvent generated for saving the configuration changes
bean DiagnosticsBean currently being transformed

public void renderStatisticsPathRow (MarkupOutput out, WebEvent event, DiagnosticsBean bean)

Renders a TR in a table, with two columns, with the information required for the user to customize the path where the statistics file is to be saved. If the event or bean are not provided or the argument to search for is not found, nothing will be displayed.

Parameters
out MarkupOutput instance to contain the HTML to be displayed
event WebEvent generated for saving the configuration changes
bean DiagnosticsBean currently being transformed

public void renderStatisticsSetup (MarkupOutput out)

Show the interface related with the diagnostics statistics options: change the mode (off, screen, file, Screen and file) and update the location of the file that will be created. Its contents are inside a table row, with two columns.

Parameters
out MarkupOutput instance to contain the HTML to be displayed

Protected Methods

protected String getTitle ()

Obtain the title to be displayed by this transform as header of its section

Returns
  • the String to use as title