Class AbstractAdminPathTransform

    • Field Detail

      • showLink

        public FormalParameter showLink
        Indicates whether the object path contains a hyperlink to that object
        Default value is boolean TRUE which indicates the hyperlinks will be generated for each object path.
      • dividerCharacters

        public FormalParameter dividerCharacters
        Indicates the character(s) to be used for separating each one of the different elements when displaying the path.
        These characters will be displayed after each element except the last one, for indicating a hierarchy between the folders shown.
        Usage: Default value is >. The value to assign to this formal parameter has to be HTML compatible for it to be displayed correctly on the final HTML page.
      • _divideCharacters

        protected java.lang.String _divideCharacters
        Protected property for holding the value selected on the dividerCharacters formal parameter
      • FP_SHOW_LINK

        public static final java.lang.String FP_SHOW_LINK
        Constant specifying the name of the formal parameter for defining the showLink. Value is showLink .
        See Also:
        Constant Field Values
      • FP_CHARS_FOR_DIVIDER

        public static final java.lang.String FP_CHARS_FOR_DIVIDER
        Constant specifying the name of the formal parameter for defining the dividing characters in between objects in the path. Value is dividerCharacters.
        See Also:
        Constant Field Values
    • Constructor Detail

      • AbstractAdminPathTransform

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

      • getDescription

        public java.lang.String getDescription()
        Return description for this Transform
        Specified by:
        getDescription in interface Transform
        Returns:
        description for the transform
      • renderContent

        public void renderContent​(MarkupOutput out)
        This is the main entry point of the Transform when no layout is specified. It displays the path of the folder with a link to each one of its ancestors, i.e.:
        Home > VMall > Shared Reports
        Parameters:
        out - MarkupOutput
      • getOpenDefaultDesktopEvent

        protected WebEvent getOpenDefaultDesktopEvent()
        Returns an event to open the default desktop page.
        Returns:
        WebEvent for opening the "Default Desktop" page.
      • renderSimpleButton

        protected void renderSimpleButton​(MarkupOutput out,
                                          WebEvent event,
                                          java.lang.String descriptor,
                                          java.lang.String id)
        Renders a simple button as a link with an event and an id attached to it.
        Parameters:
        out - MarkupOutput
        event - the WebEvent to be associated with the button.
        descriptor - The localized string which is added as a text to the button.
        id - A unique id to the button.
      • renderLink

        protected void renderLink​(MarkupOutput out,
                                  WebEvent event,
                                  java.lang.String descriptor)
        Renders a HTML anchor tag with the event and a descriptor
        Parameters:
        out - MarkupOutput
        event - the WebEvent to be associated with the anchor tag.
        descriptor - The localized string which is added as a text to the anchor tag.
      • getGoServerPageEvent

        protected WebEvent getGoServerPageEvent()
        Provides an event to process the Go-to Server page process.
        Returns:
        a WebEvent with all the information needed to process the event.
      • renderGoServer

        public void renderGoServer​(MarkupOutput out)
        Renders a button with a link to go to the server page.
        Parameters:
        out - MarkupOutput
      • canRenderHomeButtton

        protected boolean canRenderHomeButtton()
      • canRenderParentUpButton

        protected boolean canRenderParentUpButton()
      • renderGoHome

        public void renderGoHome​(MarkupOutput out)
        Renders a button with a link to Home.
        Parameters:
        out - MarkupOutput
      • renderGoOneUp

        public void renderGoOneUp​(MarkupOutput out)
        Renders the Up One level button.
        Parameters:
        out - Markupoutput
      • getGoParentPageEvent

        protected abstract WebEvent getGoParentPageEvent()
      • getGoParentPageTooltip

        protected abstract java.lang.String getGoParentPageTooltip()
      • renderDelimiter

        public void renderDelimiter​(MarkupOutput out)
        Renders the ">" delimiter between the ancestor items.
        Parameters:
        out - MarkupOutput
      • renderCurrentItem

        public abstract void renderCurrentItem​(MarkupOutput out)