Class MojoPathTransform

    • Field Detail

      • useAncestors

        public FormalParameter useAncestors
        Indicates whether the path should use the ancestors. Default value is boolean TRUE which indicates the ancestors will be used in the path. This value should be false if it is the Default Home Page. (Currently MyPage). MicroStrategy 10.5
      • FP_USE_ANCESTORS

        public static final java.lang.String FP_USE_ANCESTORS
        Constant specifying the name of the formal parameter for defining the useAncestors. Value is useAncestors .
        See Also:
        Constant Field Values
    • Constructor Detail

      • MojoPathTransform

        public MojoPathTransform()
        Default constructor, initialize formal parameters.
    • Method Detail

      • renderShell

        public void renderShell​(MarkupOutput out)
        Description copied from class: AbstractAppTransform

        Generates the shell for this Transform.

        The shell is a <div> tag that automatically surrounds the content generated by the Transform. It's used among other things by the javascript to identify the HTML associated with a bone, and by the iFrame update technology to identify a component in the page.

        The attributes to append to this <div> are obtained from the getAttributesShellDiv method; the style from the getStyleShellDiv method.
        This method calls renderCssLink and checkStatus to generate the Transform's content.
        Overrides:
        renderShell in class AbstractAppTransform
        Parameters:
        out - output by this transform
      • getExtraLinks

        protected BlockList getExtraLinks()
                                   throws java.lang.Exception
        Get extra links block list
        Returns:
        block list of extra links
        Throws:
        java.lang.Exception
      • getHelpLink

        protected Block getHelpLink()
                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getSearchInfo

        protected Block getSearchInfo()
                               throws java.lang.Exception
        Get search information block
        Returns:
        block of search information
        Throws:
        java.lang.Exception
      • getPath

        protected BlockList getPath()
                             throws java.lang.Exception
        Get ancestors links block list
        Returns:
        BlockList of path links
        Throws:
        java.lang.Exception
      • getCurrentObject

        protected Block getCurrentObject()
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • addLinkForAncestors

        protected void addLinkForAncestors​(BlockList pathBlockList)
                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getLinkForDesktop

        protected Block getLinkForDesktop()
                                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getNavigationButtons

        protected BlockList getNavigationButtons()
                                          throws java.lang.Exception
        Get navigation buttons
        Returns:
        a list of navigation buttons
        Throws:
        java.lang.Exception
      • getUpButton

        protected Block getUpButton()
                             throws java.lang.Exception
        Get parent up button Block
        Returns:
        block of up button
        Throws:
        java.lang.Exception
      • getForwardPickerButton

        protected Block getForwardPickerButton()
                                        throws java.lang.Exception
        Get forward button block
        Returns:
        block of forward button
        Throws:
        java.lang.Exception
      • getBackPickerButton

        protected Block getBackPickerButton()
                                     throws java.lang.Exception
        Get back button blcok
        Returns:
        block of back button
        Throws:
        java.lang.Exception
      • getHomeButton

        protected Block getHomeButton()
                               throws java.lang.Exception
        Get home button block
        Returns:
        a block of home button
        Throws:
        java.lang.Exception
      • getStarburstMenu

        protected BlockList getStarburstMenu()
        Add starburst's menu list to path bar JSON
        Parameters:
        rootBlock - the root block to output the JSON