public class

StorePreviewImageTask

extends AbstractBaseTask
java.lang.Object
   ↳ com.microstrategy.web.tasks.AbstractBaseTask
     ↳ com.microstrategy.web.tasks.StorePreviewImageTask

Class Overview

This Task uploads the preview image of a report or document from its most recent execution.

Summary

[Expand]
Inherited Constants
From class com.microstrategy.web.tasks.AbstractBaseTask
Fields
protected TaskParameterMetadata imageDataParam
[Expand]
Inherited Fields
From class com.microstrategy.web.tasks.AbstractBaseTask
Public Constructors
StorePreviewImageTask()
Creates a new ImportFileTask object.
Public Methods
void processRequest(TaskRequestContext context, MarkupOutput markupOutput)
This method uploads the preview image of a report or document to the Intelligence Server.
Protected Methods
void checkForRequiredParameters(RequestKeys requestKeys)
Checks whether all required parameters are present or not.
[Expand]
Inherited Methods
From class com.microstrategy.web.tasks.AbstractBaseTask
From class java.lang.Object
From interface com.microstrategy.web.tasks.Task

Fields

protected TaskParameterMetadata imageDataParam

Public Constructors

public StorePreviewImageTask ()

Creates a new ImportFileTask object.

Public Methods

public void processRequest (TaskRequestContext context, MarkupOutput markupOutput)

This method uploads the preview image of a report or document to the Intelligence Server.

Parameters
context The TaskRequestContext that contains all information about this Task invocation.
markupOutput The MarkupOutput that records the contents of the Task response.
Throws
TaskException If anything fails along the way. See the individual methods invoked by this method.

Protected Methods

protected void checkForRequiredParameters (RequestKeys requestKeys)

Checks whether all required parameters are present or not.

Parameters
requestKeys The RequestKeys object that contains all parameters.