Class AndroidMessageResultTransform
- java.lang.Object
 - 
- com.microstrategy.web.transform.AbstractTransform
 - 
- com.microstrategy.web.app.transforms.AndroidMessageResultTransform
 
 
 
- 
- All Implemented Interfaces:
 Transform
public class AndroidMessageResultTransform extends AbstractTransform
Returns basic information about a message.
Similar to @linkBaseTaskRequestContext.createMessageResultBlock(WebResultSetInstance)but adds the android Visualization name as "visName" 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected WebComponent_beanInstance ofWebComponentbeing transformed. 
- 
Constructor Summary
Constructors Constructor Description AndroidMessageResultTransform() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BlockcreateMessageResultBlock(WebResultSetInstance wrsi)protected AppContextgetAppContext()Convenience method that returns the current AppContext.java.lang.StringgetDescription()Returns a textual description of the transform.java.lang.ClassgetSupportedBeanType()Returns a root class/interface supported by this transform.voidtransform(Transformable bean, MarkupOutput out)Transforms the data object and appends result to the transOut.- 
Methods inherited from class com.microstrategy.web.transform.AbstractTransform
addFormalParam, canTransform, getEvents, getFormalParams, getID, getPreview, isPreviewAvailable, isResolved, removeFormalParam, setAnnotation, setDeprecated, supports, supports 
 - 
 
 - 
 
- 
- 
Field Detail
- 
_bean
protected WebComponent _bean
Instance ofWebComponentbeing transformed. 
 - 
 
- 
Method Detail
- 
getDescription
public java.lang.String getDescription()
Description copied from interface:TransformReturns a textual description of the transform.- Returns:
 - The textual description of the transform.
 
 
- 
getSupportedBeanType
public java.lang.Class getSupportedBeanType()
Description copied from interface:TransformReturns a root class/interface supported by this transform. We assume here that each transform supports only beans belonging to one class hierarchy.- Returns:
 - a root class/interface supported by this transform.
 
 
- 
transform
public void transform(Transformable bean, MarkupOutput out)
Description copied from interface:TransformTransforms the data object and appends result to the transOut.- Parameters:
 bean- an object to transform. It must be of proper type supported by the concrete transform this method called on, or ClassCastExcetption will be thrownout- the MarkupOutput object where the transform result will be added.
 
- 
createMessageResultBlock
protected Block createMessageResultBlock(WebResultSetInstance wrsi)
 
- 
getAppContext
protected AppContext getAppContext()
Convenience method that returns the current AppContext. This method might return null if the Transform is used outside Microstrategy Web.- Returns:
 AppContextinstance related with the bean being transformed.
 
 - 
 
 -