Class MobileChunkedGraphDataTransform
- java.lang.Object
-
- com.microstrategy.web.transform.AbstractTransform
-
- com.microstrategy.web.app.transforms.MobileChunkedGraphDataTransform
-
- All Implemented Interfaces:
Transform
public class MobileChunkedGraphDataTransform extends AbstractTransform
-
-
Field Summary
Fields Modifier and Type Field Description FormalParameter
_height
FormalParameter
_imgType
FormalParameter
_width
static java.lang.String
FP_HEIGHT
static java.lang.String
FP_IMAGE_TYPE
static java.lang.String
FP_WIDTH
-
Constructor Summary
Constructors Constructor Description MobileChunkedGraphDataTransform()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
Returns a textual description of the transform.java.lang.Class
getSupportedBeanType()
Returns a root class/interface supported by this transform.protected boolean
isInvalidPageByError()
protected boolean
isNoDataError()
protected boolean
isNoTypesAvailableError()
boolean
supports(Transformable data)
Returns true if the transform supports the specified data object.void
transform(Transformable data, 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
-
-
-
-
Field Detail
-
FP_WIDTH
public static final java.lang.String FP_WIDTH
- See Also:
- Constant Field Values
-
_width
public final FormalParameter _width
-
FP_HEIGHT
public static final java.lang.String FP_HEIGHT
- See Also:
- Constant Field Values
-
_height
public final FormalParameter _height
-
FP_IMAGE_TYPE
public static final java.lang.String FP_IMAGE_TYPE
- See Also:
- Constant Field Values
-
_imgType
public final FormalParameter _imgType
-
-
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.
-
supports
public boolean supports(Transformable data)
Description copied from interface:Transform
Returns true if the transform supports the specified data object. The check is performed only on the object's type, no object state is taken into account.- Specified by:
supports
in interfaceTransform
- Overrides:
supports
in classAbstractTransform
- Parameters:
data
- a transformable object- Returns:
- true if the transform supports the data object, false otherwise.
- See Also:
Transform.canTransform(com.microstrategy.web.beans.Transformable)
-
transform
public void transform(Transformable data, MarkupOutput out)
Description copied from interface:Transform
Transforms the data object and appends result to the transOut.- Parameters:
data
- 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.
-
isNoTypesAvailableError
protected boolean isNoTypesAvailableError()
-
isInvalidPageByError
protected boolean isInvalidPageByError() throws WebBeanException, WebObjectsException
- Throws:
WebBeanException
WebObjectsException
-
isNoDataError
protected boolean isNoDataError() throws WebBeanException
- Throws:
WebBeanException
-
-