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 theBaseTaskRequestContextobject 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 voidcheckPrivileges()WebBeangetWebBean()Returns the WebBean associated with this request.WebComponentgetWebComponent()Returns the WebComponent associated with this request.booleanisRequestPersistable()Whether the WebComponent supports saving, restoring its state to/from the request.booleanisTransformable()Whether the WebComponent can be transformed.booleanisWebBean()Whether the WebComponent is a WebBean.voidsetWebBean(WebBean webBean)Sets the WebBean associated with this request.voidsetWebComponent(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 
WebBeanassociated with this request. 
 
- 
setWebBean
public void setWebBean(WebBean webBean)
Sets the WebBean associated with this request.- Parameters:
 webBean- TheWebBeanto associate with this request.
 
- 
getWebComponent
public WebComponent getWebComponent()
Returns the WebComponent associated with this request.- Returns:
 - The 
WebComponentassociated 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- TheWebComponentto 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:
 checkPrivilegesin classBaseTaskRequestContext- Throws:
 TaskException
 
 - 
 
 -