Package com.microstrategy.web.app.tasks
Class GetDIProjectSettingsTask
- java.lang.Object
-
- com.microstrategy.web.tasks.AbstractBaseTask
-
- com.microstrategy.web.app.tasks.AbstractAppTask
-
- com.microstrategy.web.app.tasks.WebComponentTask
-
- com.microstrategy.web.app.tasks.GetDIProjectSettingsTask
-
- All Implemented Interfaces:
Task
public class GetDIProjectSettingsTask extends WebComponentTask
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
BLK_DIPARAMS
protected static java.lang.String
BLP_DIPARAMS_CAN_SEND_NOW
protected static java.lang.String
BLP_DIPARAMS_CAN_SUBSCRIBE
protected static java.lang.String
BLP_DIPARAMS_CUBE_QUOTE
protected static java.lang.String
BLP_DIPARAMS_ENABLE_FILE_IMPORT
protected static java.lang.String
BLP_DIPARAMS_ENABLE_FTP_IMPORT
protected static java.lang.String
BLP_DIPARAMS_ENABLE_HTTP_IMPORT
protected static java.lang.String
BLP_DIPARAMS_ENABLE_SESSION_RECOVERY
protected static java.lang.String
BLP_DIPARAMS_ENABLE_URL_IMPORT
protected static java.lang.String
BLP_DIPARAMS_ENABLE_WRANING_TIMEOUT
protected static java.lang.String
BLP_DIPARAMS_MAX_SESSION_IDLE_TIME
protected static java.lang.String
BLP_DIPARAMS_PRIV_ACCESS_DATA_FROM_CLOUD_APP
protected static java.lang.String
BLP_DIPARAMS_PRIV_ACCESS_DATA_FROM_FILES
protected static java.lang.String
BLP_DIPARAMS_PRIV_CREATE_ANALYSIS
protected static java.lang.String
BLP_DIPARAMS_PRIV_CREATE_REPORT
protected static java.lang.String
BLP_DIPARAMS_PRIV_CREATE_RWD
protected static java.lang.String
BLP_DIPARAMS_PRIV_IMPORT_DB
protected static java.lang.String
BLP_DIPARAMS_TIME_BEFORE_SESSION_TIMEOUT_WARNING
protected static java.lang.String
BLP_DIPARAMS_UPLOAD_SIZE_LIMIT
-
Fields inherited from class com.microstrategy.web.app.tasks.WebComponentTask
FP_NAME_CONTENT_TYPE, initializationErrorMessage
-
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 Constructor Description GetDIProjectSettingsTask()
GetDIProjectSettingsTask(java.lang.String desc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
processRequest(TaskRequestContext context, TaskOutput taskOutput)
Process the incoming request.-
Methods inherited from class com.microstrategy.web.app.tasks.WebComponentTask
addTransform, collectData, createUntypedWebComponent, createWebBean, destroy, generatesContent, getBeanInfo, getStyleName, handleEvent, init, isSuccessfullyInitialized, newRequestContext, overrideActualParameters, prepareArgumentRequestKeys, prepareArgumentRequestKeys, prepareBean, prepareEventOrderRequestKeys, prepareEventOrderRequestKeys, prepareEventRequestKeys, prepareEventRequestKeys, prepareParameterRequestKeys, prepareRequestKeys, registerParameterMetadata, registerTaskMetadata, requiresIServerSession, restoreBeanState, serializeResult, setBeanContext, setBeanInfo, setBeanName, setBeanProperties, setBeanSession, setSuccessfullyInitialized, setTaskID, transformBean
-
Methods inherited from class com.microstrategy.web.app.tasks.AbstractAppTask
getDescriptor
-
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, getCompressOutput, getID, getMetadata, getPrivileges, getSysDefaultPreferenceValue, processRequest, retrieveUploadedFile, setCompressOutput, setDescription, setID, setMetadata, setPrivileges, validateContentType
-
-
-
-
Field Detail
-
BLK_DIPARAMS
protected static final java.lang.String BLK_DIPARAMS
- See Also:
- Constant Field Values
-
BLP_DIPARAMS_PRIV_IMPORT_DB
protected static final java.lang.String BLP_DIPARAMS_PRIV_IMPORT_DB
- See Also:
- Constant Field Values
-
BLP_DIPARAMS_PRIV_ACCESS_DATA_FROM_FILES
protected static final java.lang.String BLP_DIPARAMS_PRIV_ACCESS_DATA_FROM_FILES
- See Also:
- Constant Field Values
-
BLP_DIPARAMS_PRIV_ACCESS_DATA_FROM_CLOUD_APP
protected static final java.lang.String BLP_DIPARAMS_PRIV_ACCESS_DATA_FROM_CLOUD_APP
- See Also:
- Constant Field Values
-
BLP_DIPARAMS_PRIV_CREATE_REPORT
protected static final java.lang.String BLP_DIPARAMS_PRIV_CREATE_REPORT
- See Also:
- Constant Field Values
-
BLP_DIPARAMS_PRIV_CREATE_ANALYSIS
protected static final java.lang.String BLP_DIPARAMS_PRIV_CREATE_ANALYSIS
- See Also:
- Constant Field Values
-
BLP_DIPARAMS_PRIV_CREATE_RWD
protected static final java.lang.String BLP_DIPARAMS_PRIV_CREATE_RWD
- See Also:
- Constant Field Values
-
BLP_DIPARAMS_UPLOAD_SIZE_LIMIT
protected static final java.lang.String BLP_DIPARAMS_UPLOAD_SIZE_LIMIT
- See Also:
- Constant Field Values
-
BLP_DIPARAMS_CUBE_QUOTE
protected static final java.lang.String BLP_DIPARAMS_CUBE_QUOTE
- See Also:
- Constant Field Values
-
BLP_DIPARAMS_ENABLE_URL_IMPORT
protected static final java.lang.String BLP_DIPARAMS_ENABLE_URL_IMPORT
- See Also:
- Constant Field Values
-
BLP_DIPARAMS_ENABLE_HTTP_IMPORT
protected static final java.lang.String BLP_DIPARAMS_ENABLE_HTTP_IMPORT
- See Also:
- Constant Field Values
-
BLP_DIPARAMS_ENABLE_FTP_IMPORT
protected static final java.lang.String BLP_DIPARAMS_ENABLE_FTP_IMPORT
- See Also:
- Constant Field Values
-
BLP_DIPARAMS_ENABLE_FILE_IMPORT
protected static final java.lang.String BLP_DIPARAMS_ENABLE_FILE_IMPORT
- See Also:
- Constant Field Values
-
BLP_DIPARAMS_ENABLE_SESSION_RECOVERY
protected static final java.lang.String BLP_DIPARAMS_ENABLE_SESSION_RECOVERY
- See Also:
- Constant Field Values
-
BLP_DIPARAMS_MAX_SESSION_IDLE_TIME
protected static final java.lang.String BLP_DIPARAMS_MAX_SESSION_IDLE_TIME
- See Also:
- Constant Field Values
-
BLP_DIPARAMS_TIME_BEFORE_SESSION_TIMEOUT_WARNING
protected static final java.lang.String BLP_DIPARAMS_TIME_BEFORE_SESSION_TIMEOUT_WARNING
- See Also:
- Constant Field Values
-
BLP_DIPARAMS_ENABLE_WRANING_TIMEOUT
protected static final java.lang.String BLP_DIPARAMS_ENABLE_WRANING_TIMEOUT
- See Also:
- Constant Field Values
-
BLP_DIPARAMS_CAN_SUBSCRIBE
protected static final java.lang.String BLP_DIPARAMS_CAN_SUBSCRIBE
- See Also:
- Constant Field Values
-
BLP_DIPARAMS_CAN_SEND_NOW
protected static final java.lang.String BLP_DIPARAMS_CAN_SEND_NOW
- See Also:
- Constant Field Values
-
-
Method Detail
-
processRequest
public void processRequest(TaskRequestContext context, TaskOutput taskOutput) throws TaskException
Description copied from class:WebComponentTask
Process the incoming request. This method proceeds through the following sequence:- Check for all required parameters. (calls
AbstractBaseTask.checkForRequiredParameters(RequestKeys)
) - Prepare the
RequestKeys
for use. (callsWebComponentTask.prepareRequestKeys(BeanTaskRequestContext)
) - Prepare the
WebBean
for use. (callsWebComponentTask.prepareBean(BeanTaskRequestContext)
) - Handle the event. (calls
WebComponentTask.handleEvent(BeanTaskRequestContext)
) - Collect data for the request. (calls
WebComponentTask.collectData(BeanTaskRequestContext)
) - Serialize the results into the supplied
TaskOutput
. (callsWebComponentTask.serializeResult(BeanTaskRequestContext, TaskOutput)
)
- Specified by:
processRequest
in interfaceTask
- Overrides:
processRequest
in classWebComponentTask
- Parameters:
context
- TheTaskRequestContext
object that contains information specific to this request.taskOutput
- TheTaskOutput
object to serialize the results into.- Throws:
TaskException
- If anything fails in the process of servicing the request.TaskConfigurationException
- If the task is not properly configured.- See Also:
Task.processRequest(TaskRequestContext, TaskOutput)
- Check for all required parameters. (calls
-
-