public class

DataImportTransform

extends AbstractAppTransform
java.lang.Object
   ↳ com.microstrategy.web.transform.AbstractTransform
     ↳ com.microstrategy.web.transform.AbstractLayoutTransform
       ↳ com.microstrategy.web.app.transforms.AbstractAppTransform
         ↳ com.microstrategy.web.app.transforms.DataImportTransform

Summary

Constants
String BLK_DIPARAMS
String BLP_DIPARAMS_ANALYSIS_ID
String BLP_DIPARAMS_CUBE_DESC
String BLP_DIPARAMS_CUBE_NAME
String BLP_DIPARAMS_CUBE_QUOTE
String BLP_DIPARAMS_ENABLE_FILE_IMPORT
String BLP_DIPARAMS_ENABLE_FTP_IMPORT
String BLP_DIPARAMS_ENABLE_HTTP_IMPORT
String BLP_DIPARAMS_ENABLE_URL_IMPORT
String BLP_DIPARAMS_FOLDER_ID
String BLP_DIPARAMS_MESSAGE_ID
String BLP_DIPARAMS_PRIV_CREATE_ANALYSIS
String BLP_DIPARAMS_PRIV_CREATE_REPORT
String BLP_DIPARAMS_PRIV_CREATE_RWD
String BLP_DIPARAMS_PRIV_IMPORT_DB
String BLP_DIPARAMS_REPORT_ID
String BLP_DIPARAMS_SOURCE_ID
String BLP_DIPARAMS_STATUS_CODE
String BLP_DIPARAMS_UPLOAD_SIZE_LIMIT
[Expand]
Inherited Constants
From class com.microstrategy.web.app.transforms.AbstractAppTransform
Fields
protected ImportWizardBean _dibean
protected BlockFactory blockFactory
protected FormalParameter contentTypeParam
[Expand]
Inherited Fields
From class com.microstrategy.web.app.transforms.AbstractAppTransform
Public Constructors
DataImportTransform()
Public Methods
static Block createErrorBlock(Exception ex, MarkupOutput out)
String getDescription()
void initializeTransform(Transformable data)
This method initialize the private and protected fields of the transform.
void renderShell(MarkupOutput out)

Generates the shell for this Transform.

void transformForRequestSuccessful(MarkupOutput out)
Generates the output when the bean's status is WebBeanRequestSuccessful.
Protected Methods
Block createDIParamsBlock(MarkupOutput out)
boolean isDataImportError(int code)
[Expand]
Inherited Methods
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

protected static final String BLK_DIPARAMS

Constant Value: "DIParams"

protected static final String BLP_DIPARAMS_ANALYSIS_ID

Constant Value: "AnalysisId"

protected static final String BLP_DIPARAMS_CUBE_DESC

Constant Value: "CubeDesc"

protected static final String BLP_DIPARAMS_CUBE_NAME

Constant Value: "CubeName"

protected static final String BLP_DIPARAMS_CUBE_QUOTE

Constant Value: "CubeQuota"

protected static final String BLP_DIPARAMS_ENABLE_FILE_IMPORT

Constant Value: "EnableFileImport"

protected static final String BLP_DIPARAMS_ENABLE_FTP_IMPORT

Constant Value: "EnableFTPImport"

protected static final String BLP_DIPARAMS_ENABLE_HTTP_IMPORT

Constant Value: "EnableHttpImport"

protected static final String BLP_DIPARAMS_ENABLE_URL_IMPORT

Constant Value: "EnableURLImport"

protected static final String BLP_DIPARAMS_FOLDER_ID

Constant Value: "FolderId"

protected static final String BLP_DIPARAMS_MESSAGE_ID

Constant Value: "MsgId"

protected static final String BLP_DIPARAMS_PRIV_CREATE_ANALYSIS

Constant Value: "CreateAnalysis"

protected static final String BLP_DIPARAMS_PRIV_CREATE_REPORT

Constant Value: "CreateViewReport"

protected static final String BLP_DIPARAMS_PRIV_CREATE_RWD

Constant Value: "CreateReportServices"

protected static final String BLP_DIPARAMS_PRIV_IMPORT_DB

Constant Value: "ImportDatabase"

protected static final String BLP_DIPARAMS_REPORT_ID

Constant Value: "ReportId"

protected static final String BLP_DIPARAMS_SOURCE_ID

Constant Value: "DataImportSource"

protected static final String BLP_DIPARAMS_STATUS_CODE

Constant Value: "StatusCode"

protected static final String BLP_DIPARAMS_UPLOAD_SIZE_LIMIT

Constant Value: "UploadSizeLimit"

Fields

protected ImportWizardBean _dibean

protected BlockFactory blockFactory

protected FormalParameter contentTypeParam

Public Constructors

public DataImportTransform ()

Public Methods

public static Block createErrorBlock (Exception ex, MarkupOutput out)

public String getDescription ()

public void initializeTransform (Transformable data)

This method initialize the private and protected fields of the transform.

Parameters
data bean that will be transformed

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 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

Protected Methods

protected Block createDIParamsBlock (MarkupOutput out)

Throws
Exception

protected boolean isDataImportError (int code)