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_heightFormalParameter_imgTypeFormalParameter_widthstatic java.lang.StringFP_HEIGHTstatic java.lang.StringFP_IMAGE_TYPEstatic java.lang.StringFP_WIDTH
-
Constructor Summary
Constructors Constructor Description MobileChunkedGraphDataTransform()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDescription()Returns a textual description of the transform.java.lang.ClassgetSupportedBeanType()Returns a root class/interface supported by this transform.protected booleanisInvalidPageByError()protected booleanisNoDataError()protected booleanisNoTypesAvailableError()booleansupports(Transformable data)Returns true if the transform supports the specified data object.voidtransform(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: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.
-
supports
public boolean supports(Transformable data)
Description copied from interface:TransformReturns 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:
supportsin interfaceTransform- Overrides:
supportsin 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:TransformTransforms 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:
WebBeanExceptionWebObjectsException
-
isNoDataError
protected boolean isNoDataError() throws WebBeanException- Throws:
WebBeanException
-
-