Package com.microstrategy.web.app.tasks
Class BeanTaskRequestContext
- java.lang.Object
-
- com.microstrategy.web.tasks.BaseTaskRequestContext
-
- com.microstrategy.web.app.tasks.AppTaskRequestContext
-
- com.microstrategy.web.app.tasks.BeanTaskRequestContext
-
- All Implemented Interfaces:
TaskRequestContext
public class BeanTaskRequestContext extends AppTaskRequestContext
This class extends theBaseTaskRequestContext
object by adding more fields that are relevant to a "bean task".- Since:
- MicroStrategy Web 8.1.0
-
-
Field Summary
-
Fields inherited from class com.microstrategy.web.tasks.BaseTaskRequestContext
BLK_MESSAGE_RESULT, BLP_MESSAGE_RESULT_MESSAGE_ID, BLP_MESSAGE_RESULT_MESSAGE_STATE_ID, BLP_MESSAGE_RESULT_MESSAGE_STATUS, BLP_MESSAGE_RESULT_PARTIAL_MANIPULATIONS, mPrivileges
-
-
Constructor Summary
Constructors Constructor Description BeanTaskRequestContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
checkPrivileges()
WebBean
getWebBean()
Returns the WebBean associated with this request.WebComponent
getWebComponent()
Returns the WebComponent associated with this request.boolean
isRequestPersistable()
Whether the WebComponent supports saving, restoring its state to/from the request.boolean
isTransformable()
Whether the WebComponent can be transformed.boolean
isWebBean()
Whether the WebComponent is a WebBean.void
setWebBean(WebBean webBean)
Sets the WebBean associated with this request.void
setWebComponent(WebComponent webComponent)
Sets the WebComponent to be associated with this request.-
Methods inherited from class com.microstrategy.web.app.tasks.AppTaskRequestContext
getAppContext, getBeanContext, getBlockContext, getStyleCatalog, getWebIServerSession, getWebServletComponent, restoreSessionFromStateOrId
-
Methods inherited from class com.microstrategy.web.tasks.BaseTaskRequestContext
checkSessionAliveness, createMessageResultBlock, getBlock, getBlock, getBlockAssignmentMode, getContainerServices, getContentType, getIsPolling, getMimeType, getRequestKeys, getRootBlock, getRootBlock, getWebIServerSession, getWebIServerSession, isParameterEmpty, setBlockAssignmentMode, setContainerServices, setContentType, setIsPolling, setMimeType, setPrivileges, setRequestKeys, setRootBlock, setWebIServerSession, transformBlock
-
-
-
-
Method Detail
-
getWebBean
public WebBean getWebBean()
Returns the WebBean associated with this request.- Returns:
- The
WebBean
associated with this request.
-
setWebBean
public void setWebBean(WebBean webBean)
Sets the WebBean associated with this request.- Parameters:
webBean
- TheWebBean
to associate with this request.
-
getWebComponent
public WebComponent getWebComponent()
Returns the WebComponent associated with this request.- Returns:
- The
WebComponent
associated with this request. - Since:
- MicroStrategy Web 9.0.0
-
setWebComponent
public void setWebComponent(WebComponent webComponent)
Sets the WebComponent to be associated with this request.- Parameters:
webComponent
- TheWebComponent
to associate with this request.- Since:
- MicroStrategy Web 9.0.0
-
isRequestPersistable
public boolean isRequestPersistable()
Whether the WebComponent supports saving, restoring its state to/from the request.- Returns:
- Whether the WebComponent supports saving, restoring.
- Since:
- MicroStrategy Web 9.0.0
-
isTransformable
public boolean isTransformable()
Whether the WebComponent can be transformed.- Returns:
- Whether the WebComponent can be transformed.
- Since:
- MicroStrategy Web 9.0.0
-
isWebBean
public boolean isWebBean()
Whether the WebComponent is a WebBean.- Returns:
- Whether the WebComponent is a WebBean.
- Since:
- MicroStrategy Web 9.0.0
-
checkPrivileges
protected void checkPrivileges() throws TaskException
- Overrides:
checkPrivileges
in classBaseTaskRequestContext
- Throws:
TaskException
-
-