Class AbstractBasicReportTransform

    • Constructor Detail

      • AbstractBasicReportTransform

        public AbstractBasicReportTransform()
    • Method Detail

      • isReport

        protected boolean isReport()
      • 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.
      • getReportBean

        protected ReportBean getReportBean()
      • getViewBean

        protected ViewBean getViewBean()
      • getGraphBean

        protected GraphBean getGraphBean()
      • getRWBean

        protected RWBean getRWBean()
      • getWebGridData

        protected WebGridData getWebGridData()
      • addFormalParameter

        protected FormalParameter addFormalParameter​(java.lang.String name,
                                                     int type,
                                                     java.lang.Object defaultValue,
                                                     java.lang.String description)
        Adds a formal parameter for this transform with the given information
        Parameters:
        name - the name of the formal parameter
        type - the type of the formal parameter, as defined in the FormalParameter constants.
        defaultValue - the default value
        description - Description of the FP, to use by the style catalog.
        Returns:
        the FormalParameter created.
      • 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 thrown
        out - the MarkupOutput object where the transform result will be added.
      • isFeatureAvailable

        public boolean isFeatureAvailable​(java.lang.String feature)
        Convenience method. Maps the isFeatureAvailable method of the Bean currently bean Transformed.
        Parameters:
        feature - the feature Id.
        Returns:
        true by default, or whatever _bean.isFeatureAvailable(feature) returns;
      • isTrue

        protected static boolean isTrue​(FormalParameter parameter)
        Checks for a Boolean FormalParamter and return its booleanValue().
        Parameters:
        parameter - the formal parameter to check
        Returns:
        true if the parameter is true.
      • getElemsMapHelper

        protected com.microstrategy.web.app.transforms.ElementsMapJsonHelper getElemsMapHelper()
      • getHyperLinkHelper

        protected com.microstrategy.web.app.transforms.GridTransformJsonHelpers getHyperLinkHelper()
      • isDesignMode

        protected boolean isDesignMode()