public class

JsonRWDTransform

extends AbstractMojoRWTransform
java.lang.Object
   ↳ com.microstrategy.web.transform.AbstractTransform
     ↳ com.microstrategy.web.transform.AbstractLayoutTransform
       ↳ com.microstrategy.web.app.transforms.AbstractAppTransform
         ↳ com.microstrategy.web.app.transforms.AbstractWebBeanTransform
           ↳ com.microstrategy.web.app.transforms.AbstractRWTransform
             ↳ com.microstrategy.web.app.transforms.AbstractMojoRWTransform
               ↳ com.microstrategy.web.app.transforms.JsonRWDTransform

Summary

Constants
String FP_SERVER_JSON
[Expand]
Inherited Constants
From class com.microstrategy.web.app.transforms.AbstractAppTransform
Fields
public FormalParameter serverJson
[Expand]
Inherited Fields
From class com.microstrategy.web.app.transforms.AbstractRWTransform
From class com.microstrategy.web.app.transforms.AbstractAppTransform
Public Constructors
JsonRWDTransform()
Public Methods
String getDescription()
void renderShell(MarkupOutput out)

Generates the shell for this Transform.

void transformForRequestInError(MarkupOutput out)
Transform when the status is In Error.
void transformForRequestProcessing(MarkupOutput out)
Generates the output when the bean's status is WebBeanRequestProcessing.
void transformForRequestSuccessful(MarkupOutput out)
Generates the output when the bean's status is WebBeanRequestSuccessful.
void transformForRequestWaitingForUserInput(MarkupOutput out)
Generates the output when the bean's status is WebBeanRequestWaitingForUserInput, that is when the bean needs to answer prompts.
Protected Methods
void checkStatus(MarkupOutput out)
[Expand]
Inherited Methods
From class com.microstrategy.web.app.transforms.AbstractMojoRWTransform
From class com.microstrategy.web.app.transforms.AbstractRWTransform
From class com.microstrategy.web.app.transforms.AbstractWebBeanTransform
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

Constants

public static final String FP_SERVER_JSON

Constant Value: "serverJson"

Fields

public FormalParameter serverJson

Public Constructors

public JsonRWDTransform ()

Public Methods

public String getDescription ()

public void renderShell (MarkupOutput out)

Generates the shell for this Transform.

The shell is a <div> tag that automatically surrounds the content generated by the Transform. It's used among other things by the javascript to identify the HTML associated with a bone, and by the iFrame update technology to identify a component in the page.

The attributes to append to this <div> are obtained from the getAttributesShellDiv method; the style from the getStyleShellDiv method.
This method calls renderCssLink and checkStatus to generate the Transform's content.

Parameters
out output by this transform

public void transformForRequestInError (MarkupOutput out)

Transform when the status is In Error.

Parameters
out Output by this transform.

public void transformForRequestProcessing (MarkupOutput out)

Generates the output when the bean's status is WebBeanRequestProcessing. This is the case when the iServer is still executing the request and a wait page is displayed to the end user.
This method generates the default wait page contents. It calls renderProcessingInfo and renderProcessingButtons.

Parameters
out output by this transform

public void transformForRequestSuccessful (MarkupOutput out)

Generates the output when the bean's status is WebBeanRequestSuccessful. This is the main entry point to generate the output for those Transforms that just want to render the "regular" bean case.
This is an abstract method. All classes need to implement it.

Parameters
out output by this transform

public void transformForRequestWaitingForUserInput (MarkupOutput out)

Generates the output when the bean's status is WebBeanRequestWaitingForUserInput, that is when the bean needs to answer prompts. By default it just generates an error message.
Usually prompts are handled by a Prompts transform, the bean is responsible to delegate execution to this transform when prompts are open so reaching this method is actually considered an error.
Transforms that would like to generate customized error message for this scenario should extend this method.

Parameters
out output by this transform

Protected Methods

protected void checkStatus (MarkupOutput out)

Parameters
out output by this transform