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
_bean
Instance ofWebComponent
being transformed.
-
Constructor Summary
Constructors Constructor Description AndroidMessageResultTransform()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Block
createMessageResultBlock(WebResultSetInstance wrsi)
protected AppContext
getAppContext()
Convenience method that returns the current AppContext.java.lang.String
getDescription()
Returns a textual description of the transform.java.lang.Class
getSupportedBeanType()
Returns a root class/interface supported by this transform.void
transform(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 ofWebComponent
being transformed.
-
-
Method Detail
-
getDescription
public java.lang.String getDescription()
Description copied from interface:Transform
Returns a textual description of the transform.- Returns:
- The textual description of the transform.
-
getSupportedBeanType
public java.lang.Class getSupportedBeanType()
Description copied from interface:Transform
Returns 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:Transform
Transforms 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:
AppContext
instance related with the bean being transformed.
-
-