Package com.microstrategy.web.app.tasks
Class GetLocaleInfoTask
- java.lang.Object
-
- com.microstrategy.web.tasks.AbstractBaseTask
-
- com.microstrategy.web.app.tasks.AbstractAppTask
-
- com.microstrategy.web.app.tasks.GetLocaleInfoTask
-
- All Implemented Interfaces:
Task
public class GetLocaleInfoTask extends AbstractAppTask
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
BLOCK_NAME_LOCALEINFO
static java.lang.String
BLOCK_NAME_OBJECTINFO
protected TaskParameterMetadata
catTaskParam
protected TaskParameterMetadata
colorTaskParam
protected TaskParameterMetadata
localeTaskParam
static java.lang.String
PARAM_NAME_CATEGORIES
The name of the categories parameter.protected static java.lang.String
PARAM_NAME_COLORCONFIG
protected static java.lang.String
PARAM_NAME_LOCALEID
The name of the localeid parameter.static java.lang.String
PROP_NAME_AM_NAME
static java.lang.String
PROP_NAME_ATTRIBUTE
static java.lang.String
PROP_NAME_BRANCHQUAL
static java.lang.String
PROP_NAME_COLOR
static java.lang.String
PROP_NAME_COLORNAME
static java.lang.String
PROP_NAME_COLORS
static java.lang.String
PROP_NAME_COLORVALUE
static java.lang.String
PROP_NAME_dateDataType
static java.lang.String
PROP_NAME_DATEDISPLAYFORMAT
static java.lang.String
PROP_NAME_DATEINPUTFORMATS
static java.lang.String
PROP_NAME_DATEOUTPUTFORMAT
static java.lang.String
PROP_NAME_DATETIME
static java.lang.String
PROP_NAME_DAYNAMES
static java.lang.String
PROP_NAME_DAYSHORTNAMES
static java.lang.String
PROP_NAME_DECIMALSEPARATOR
static java.lang.String
PROP_NAME_DIMTY_LEVEL
static java.lang.String
PROP_NAME_ELEMENT
static java.lang.String
PROP_NAME_EXP
static java.lang.String
PROP_NAME_EXP_TYPE
static java.lang.String
PROP_NAME_failRegexTestError
static java.lang.String
PROP_NAME_INCLUDE
static java.lang.String
PROP_NAME_integerDataType
static java.lang.String
PROP_NAME_INTEGERINPUTFORMATS
static java.lang.String
PROP_NAME_INTEGEROUTPUTFORMAT
static java.lang.String
PROP_NAME_invalidCharError
static java.lang.String
PROP_NAME_invalidDateStringError
static java.lang.String
PROP_NAME_invalidNumericFormatError
static java.lang.String
PROP_NAME_invalidValueInListError
static java.lang.String
PROP_NAME_IS_ARRAY
static java.lang.String
PROP_NAME_MDX_ATTRIBUTE
static java.lang.String
PROP_NAME_MDX_METRIC
static java.lang.String
PROP_NAME_METRIC
static java.lang.String
PROP_NAME_METRIC_RP
static java.lang.String
PROP_NAME_METRICVALIDATIONLEVEL
static java.lang.String
PROP_NAME_MONTHNAME_FULL
static java.lang.String
PROP_NAME_MONTHNAME_SHORT
static java.lang.String
PROP_NAME_noGreaterMaxError
static java.lang.String
PROP_NAME_noLessMinError
static java.lang.String
PROP_NAME_NUMBER
static java.lang.String
PROP_NAME_NUMBERINPUTFORMATS
static java.lang.String
PROP_NAME_NUMBEROUTPUTFORMAT
static java.lang.String
PROP_NAME_numericDataType
static java.lang.String
PROP_NAME_outofRangeError
static java.lang.String
PROP_NAME_PM_NAME
static java.lang.String
PROP_NAME_PRESERVEWHITESPACE
static java.lang.String
PROP_NAME_requiredFieldError
static java.lang.String
PROP_NAME_ROOT_OPT
static java.lang.String
PROP_NAME_SAP_ATTRIBUTE
static java.lang.String
PROP_NAME_THOUSANDSEPARATOR
static java.lang.String
PROP_NAME_TIMEDISPLAYFORMAT
static java.lang.String
PROP_NAME_TIMEINPUTFORMATS
static java.lang.String
PROP_NAME_TIMEOUTPUTFORMAT
static java.lang.String
PROP_NAME_TWO_DIGIT_YEAR_START
static java.lang.String
PROP_NAME_USERPALETTE
static java.lang.String
PROP_NAME_VAL
-
Fields inherited from class com.microstrategy.web.tasks.AbstractBaseTask
compressOutput, CONTENT_TYPE_BINARY, CONTENT_TYPE_HTML, CONTENT_TYPE_JSON, CONTENT_TYPE_JSON_ALL, CONTENT_TYPE_JSON_D, CONTENT_TYPE_JSON_P, CONTENT_TYPE_XML, CONTENT_TYPE_XML_ANF, DEFAULT_MAX_WAIT, DEFAULT_POLLING_FREQ, execFlagsParam, INDEFINITE_MAX_WAIT, maxWaitParam, metadata, mPrivileges, msgIDParam, objectIDParam, OTHER_CONTENT_KEY_LAYOUTS, PARAM_NAME_EXEC_FLAGS, PARAM_NAME_MAX_WAIT, PARAM_NAME_MESSAGE_ID, PARAM_NAME_OBJECT_ID, PARAM_NAME_POLLING_FREQ, PARAM_NAME_RESULT_FLAGS, PARAM_NAME_SESSION_ID, PARAM_NAME_SESSION_STATE, PARAM_NAME_STATE_ID, pollingFreqParam, PREFERENCE_DEFAULT_MAX_WAIT_IN_TASK, resultFlagsParam, sessionIDParam, sessionStateParam, stateIDParam
-
-
Constructor Summary
Constructors Modifier Constructor Description GetLocaleInfoTask()
Creates a new LoginTask object.protected
GetLocaleInfoTask(java.lang.String desc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
populateMetricValidationLevel(AppTaskRequestContext context, Block block)
void
processRequest(TaskRequestContext context, TaskOutput taskOutput)
The default implementation of this method of processRequest gets the Primary Content from the TaskOutput and invokes theAbstractBaseTask.processRequest(TaskRequestContext, MarkupOutput)
version.-
Methods inherited from class com.microstrategy.web.app.tasks.AbstractAppTask
getDescriptor, newRequestContext
-
Methods inherited from class com.microstrategy.web.tasks.AbstractBaseTask
addExecFlagsParam, addJuilLayouts, addMaxWaitParam, addMaxWaitParam, addMessageIDParam, addObjectIDParam, addParameterMetadata, addParameterMetadata, addParameterMetadata, addPollingFrequencyParam, addPollingFrequencyParam, addResultFlagsParam, addSessionIDParam, addSessionStateParam, addStateIDParam, checkForRequiredParameters, destroy, getCompressOutput, getID, getMetadata, getPrivileges, getSysDefaultPreferenceValue, init, processRequest, retrieveUploadedFile, setCompressOutput, setDescription, setID, setMetadata, setPrivileges, validateContentType
-
-
-
-
Field Detail
-
PARAM_NAME_CATEGORIES
public static final java.lang.String PARAM_NAME_CATEGORIES
The name of the categories parameter.- See Also:
- Constant Field Values
-
PARAM_NAME_LOCALEID
protected static final java.lang.String PARAM_NAME_LOCALEID
The name of the localeid parameter.- See Also:
- Constant Field Values
-
PARAM_NAME_COLORCONFIG
protected static final java.lang.String PARAM_NAME_COLORCONFIG
- See Also:
- Constant Field Values
-
BLOCK_NAME_LOCALEINFO
public static final java.lang.String BLOCK_NAME_LOCALEINFO
- See Also:
- Constant Field Values
-
PROP_NAME_DATETIME
public static final java.lang.String PROP_NAME_DATETIME
- See Also:
- Constant Field Values
-
PROP_NAME_NUMBER
public static final java.lang.String PROP_NAME_NUMBER
- See Also:
- Constant Field Values
-
PROP_NAME_EXP
public static final java.lang.String PROP_NAME_EXP
- See Also:
- Constant Field Values
-
PROP_NAME_VAL
public static final java.lang.String PROP_NAME_VAL
- See Also:
- Constant Field Values
-
PROP_NAME_METRICVALIDATIONLEVEL
public static final java.lang.String PROP_NAME_METRICVALIDATIONLEVEL
- See Also:
- Constant Field Values
-
PROP_NAME_PRESERVEWHITESPACE
public static final java.lang.String PROP_NAME_PRESERVEWHITESPACE
- See Also:
- Constant Field Values
-
PROP_NAME_INCLUDE
public static final java.lang.String PROP_NAME_INCLUDE
- See Also:
- Constant Field Values
-
PROP_NAME_BRANCHQUAL
public static final java.lang.String PROP_NAME_BRANCHQUAL
- See Also:
- Constant Field Values
-
PROP_NAME_ROOT_OPT
public static final java.lang.String PROP_NAME_ROOT_OPT
- See Also:
- Constant Field Values
-
PROP_NAME_EXP_TYPE
public static final java.lang.String PROP_NAME_EXP_TYPE
- See Also:
- Constant Field Values
-
PROP_NAME_DIMTY_LEVEL
public static final java.lang.String PROP_NAME_DIMTY_LEVEL
- See Also:
- Constant Field Values
-
PROP_NAME_ATTRIBUTE
public static final java.lang.String PROP_NAME_ATTRIBUTE
- See Also:
- Constant Field Values
-
PROP_NAME_METRIC
public static final java.lang.String PROP_NAME_METRIC
- See Also:
- Constant Field Values
-
PROP_NAME_MDX_ATTRIBUTE
public static final java.lang.String PROP_NAME_MDX_ATTRIBUTE
- See Also:
- Constant Field Values
-
PROP_NAME_MDX_METRIC
public static final java.lang.String PROP_NAME_MDX_METRIC
- See Also:
- Constant Field Values
-
PROP_NAME_SAP_ATTRIBUTE
public static final java.lang.String PROP_NAME_SAP_ATTRIBUTE
- See Also:
- Constant Field Values
-
PROP_NAME_METRIC_RP
public static final java.lang.String PROP_NAME_METRIC_RP
- See Also:
- Constant Field Values
-
PROP_NAME_ELEMENT
public static final java.lang.String PROP_NAME_ELEMENT
- See Also:
- Constant Field Values
-
PROP_NAME_MONTHNAME_SHORT
public static final java.lang.String PROP_NAME_MONTHNAME_SHORT
- See Also:
- Constant Field Values
-
PROP_NAME_MONTHNAME_FULL
public static final java.lang.String PROP_NAME_MONTHNAME_FULL
- See Also:
- Constant Field Values
-
PROP_NAME_DAYNAMES
public static final java.lang.String PROP_NAME_DAYNAMES
- See Also:
- Constant Field Values
-
PROP_NAME_DAYSHORTNAMES
public static final java.lang.String PROP_NAME_DAYSHORTNAMES
- See Also:
- Constant Field Values
-
PROP_NAME_DATEINPUTFORMATS
public static final java.lang.String PROP_NAME_DATEINPUTFORMATS
- See Also:
- Constant Field Values
-
PROP_NAME_TIMEINPUTFORMATS
public static final java.lang.String PROP_NAME_TIMEINPUTFORMATS
- See Also:
- Constant Field Values
-
PROP_NAME_DATEOUTPUTFORMAT
public static final java.lang.String PROP_NAME_DATEOUTPUTFORMAT
- See Also:
- Constant Field Values
-
PROP_NAME_TIMEOUTPUTFORMAT
public static final java.lang.String PROP_NAME_TIMEOUTPUTFORMAT
- See Also:
- Constant Field Values
-
PROP_NAME_DATEDISPLAYFORMAT
public static final java.lang.String PROP_NAME_DATEDISPLAYFORMAT
- See Also:
- Constant Field Values
-
PROP_NAME_TIMEDISPLAYFORMAT
public static final java.lang.String PROP_NAME_TIMEDISPLAYFORMAT
- See Also:
- Constant Field Values
-
PROP_NAME_AM_NAME
public static final java.lang.String PROP_NAME_AM_NAME
- See Also:
- Constant Field Values
-
PROP_NAME_PM_NAME
public static final java.lang.String PROP_NAME_PM_NAME
- See Also:
- Constant Field Values
-
PROP_NAME_TWO_DIGIT_YEAR_START
public static final java.lang.String PROP_NAME_TWO_DIGIT_YEAR_START
- See Also:
- Constant Field Values
-
PROP_NAME_requiredFieldError
public static final java.lang.String PROP_NAME_requiredFieldError
- See Also:
- Constant Field Values
-
PROP_NAME_invalidCharError
public static final java.lang.String PROP_NAME_invalidCharError
- See Also:
- Constant Field Values
-
PROP_NAME_invalidDateStringError
public static final java.lang.String PROP_NAME_invalidDateStringError
- See Also:
- Constant Field Values
-
PROP_NAME_invalidNumericFormatError
public static final java.lang.String PROP_NAME_invalidNumericFormatError
- See Also:
- Constant Field Values
-
PROP_NAME_invalidValueInListError
public static final java.lang.String PROP_NAME_invalidValueInListError
- See Also:
- Constant Field Values
-
PROP_NAME_outofRangeError
public static final java.lang.String PROP_NAME_outofRangeError
- See Also:
- Constant Field Values
-
PROP_NAME_noLessMinError
public static final java.lang.String PROP_NAME_noLessMinError
- See Also:
- Constant Field Values
-
PROP_NAME_noGreaterMaxError
public static final java.lang.String PROP_NAME_noGreaterMaxError
- See Also:
- Constant Field Values
-
PROP_NAME_failRegexTestError
public static final java.lang.String PROP_NAME_failRegexTestError
- See Also:
- Constant Field Values
-
PROP_NAME_integerDataType
public static final java.lang.String PROP_NAME_integerDataType
- See Also:
- Constant Field Values
-
PROP_NAME_numericDataType
public static final java.lang.String PROP_NAME_numericDataType
- See Also:
- Constant Field Values
-
PROP_NAME_dateDataType
public static final java.lang.String PROP_NAME_dateDataType
- See Also:
- Constant Field Values
-
PROP_NAME_NUMBERINPUTFORMATS
public static final java.lang.String PROP_NAME_NUMBERINPUTFORMATS
- See Also:
- Constant Field Values
-
PROP_NAME_INTEGERINPUTFORMATS
public static final java.lang.String PROP_NAME_INTEGERINPUTFORMATS
- See Also:
- Constant Field Values
-
PROP_NAME_NUMBEROUTPUTFORMAT
public static final java.lang.String PROP_NAME_NUMBEROUTPUTFORMAT
- See Also:
- Constant Field Values
-
PROP_NAME_INTEGEROUTPUTFORMAT
public static final java.lang.String PROP_NAME_INTEGEROUTPUTFORMAT
- See Also:
- Constant Field Values
-
PROP_NAME_DECIMALSEPARATOR
public static final java.lang.String PROP_NAME_DECIMALSEPARATOR
- See Also:
- Constant Field Values
-
PROP_NAME_THOUSANDSEPARATOR
public static final java.lang.String PROP_NAME_THOUSANDSEPARATOR
- See Also:
- Constant Field Values
-
PROP_NAME_COLOR
public static final java.lang.String PROP_NAME_COLOR
- See Also:
- Constant Field Values
-
PROP_NAME_COLORS
public static final java.lang.String PROP_NAME_COLORS
- See Also:
- Constant Field Values
-
PROP_NAME_USERPALETTE
public static final java.lang.String PROP_NAME_USERPALETTE
- See Also:
- Constant Field Values
-
PROP_NAME_COLORNAME
public static final java.lang.String PROP_NAME_COLORNAME
- See Also:
- Constant Field Values
-
PROP_NAME_COLORVALUE
public static final java.lang.String PROP_NAME_COLORVALUE
- See Also:
- Constant Field Values
-
BLOCK_NAME_OBJECTINFO
public static final java.lang.String BLOCK_NAME_OBJECTINFO
- See Also:
- Constant Field Values
-
PROP_NAME_IS_ARRAY
public static final java.lang.String PROP_NAME_IS_ARRAY
- See Also:
- Constant Field Values
-
localeTaskParam
protected TaskParameterMetadata localeTaskParam
-
catTaskParam
protected TaskParameterMetadata catTaskParam
-
colorTaskParam
protected TaskParameterMetadata colorTaskParam
-
-
Method Detail
-
processRequest
public void processRequest(TaskRequestContext context, TaskOutput taskOutput) throws TaskException
Description copied from class:AbstractBaseTask
The default implementation of this method of processRequest gets the Primary Content from the TaskOutput and invokes theAbstractBaseTask.processRequest(TaskRequestContext, MarkupOutput)
version.- Specified by:
processRequest
in interfaceTask
- Overrides:
processRequest
in classAbstractBaseTask
- Parameters:
context
- TheTaskRequestContext
object that maintains the state of the request.taskOutput
- TheTaskOutput
that contains the output generated by the Task.- Throws:
TaskException
- If the Task was unable to satisfy the request.- See Also:
Task.processRequest(TaskRequestContext, TaskOutput)
-
populateMetricValidationLevel
public void populateMetricValidationLevel(AppTaskRequestContext context, Block block)
-
-