public class

RetrievePreviewImageTask

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

Class Overview

This Task downloads the preview image of a report or document

Summary

[Expand]
Inherited Constants
From class com.microstrategy.web.tasks.AbstractBaseTask
[Expand]
Inherited Fields
From class com.microstrategy.web.tasks.AbstractBaseTask
Public Constructors
RetrievePreviewImageTask()
Creates a new ImportFileTask object.
Public Methods
void processRequest(TaskRequestContext context, MarkupOutput markupOutput)
This method downloads the preview image of a report or document from 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

Public Constructors

public RetrievePreviewImageTask ()

Creates a new ImportFileTask object.

Public Methods

public void processRequest (TaskRequestContext context, MarkupOutput markupOutput)

This method downloads the preview image of a report or document from 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.