public interface

EnumPromptAnswerOptions

com.microstrategy.web.beans.EnumPromptAnswerOptions

Class Overview

This interface specifies flags indicating what to do when answering a prompt, especially when the answer the caller provides is empty or null. Still validation on the prompt answer is performed and exception is thrown if validation fails.

All the flags are bitwise values and could be combined for your freedom of use.

Summary

Constants
int ClearAnswerIfEmpty Indicates to clear the existing prompt answer when the Answer argument passed in from Web browser is an empty string.
int ClearAnswerIfNull Indicates to clear the existing prompt answer when the Answer argument passed in from Web browser is null.

Constants

public static final int ClearAnswerIfEmpty

Indicates to clear the existing prompt answer when the Answer argument passed in from Web browser is an empty string. The default behavior is to keep the prompt answer as is if this bit is not set.

Constant Value: 2 (0x00000002)

public static final int ClearAnswerIfNull

Indicates to clear the existing prompt answer when the Answer argument passed in from Web browser is null. The default behavior is to keep the prompt answer as is if this bit is not set.

Constant Value: 1 (0x00000001)