Class PageData


  • public class PageData
    extends Object
    This class provides a structure to build portal pages.
    • Constructor Detail

      • PageData

        public PageData()
    • Method Detail

      • getName

        public String getName()
        Returns the name of the page
        Returns:
        The name of the page as a string.
      • setName

        public void setName​(String strName)
        Sets the name of the page to the specified string.
        Parameters:
        strName - The new name of the page.
      • getFavourite

        public String getFavourite()
        Returns the favourite of the page
        Returns:
        The favourite of the page as a string.
      • setFavourite

        public void setFavourite​(String strFavourite)
        Sets the favourite of the page to the specified string.
        Parameters:
        strFavourite - The new favourite of the page.
      • getCssUrl

        public String getCssUrl()
        Returns the URL of the Cascading Style Sheet associated to this page
        Returns:
        the URL of the Cascading Style Sheet associated to this page as a String.
      • setCssUrl

        public void setCssUrl​(String strCssUrl)
        Sets the URL of the Cascading Style Sheet associated to this page
        Parameters:
        strCssUrl - Sets the URL of the Cascading Style Sheet associated to this page to the specified string.
      • getCustomizeCssUrl

        public String getCustomizeCssUrl()
        Returns the URL of the Customize Cascading Style Sheet associated to this page
        Returns:
        the URL of the Customize Cascading Style Sheet associated to this page as a String.
      • setCustomizeCssUrl

        public void setCustomizeCssUrl​(String strCustomizeCssUrl)
        Sets the URL of the Customize Cascading Style Sheet associated to this page
        Parameters:
        strCustomizeCssUrl - Sets the URL of the Customize Cascading Style Sheet associated to this page to the specified string.
      • getPluginsCssUrl

        public String getPluginsCssUrl()
        Returns the URL of the Plugins Cascading Style Sheet associated to this page
        Returns:
        the URL of the Plugins Cascading Style Sheet associated to this page as a String.
      • setPluginsCssUrl

        public void setPluginsCssUrl​(String strPluginsCssUrl)
        Sets the URL of the Plugins Cascading Style Sheet associated to this page
        Parameters:
        strPluginsCssUrl - Sets the URL of the Plugins Cascading Style Sheet associated to this page to the specified string.
      • getMetaAuthor

        public String getMetaAuthor()
        Returns Author to mention in the META tags of the page.
        Returns:
        Author to mention in the META tags of the page as a String.
      • setMetaAuthor

        public void setMetaAuthor​(String strMetaAuthor)
        Sets Author to mention in the META tags of the page.
        Parameters:
        strMetaAuthor - The Author to mention in the META tags of the page
      • getMetaCopyright

        public String getMetaCopyright()
        Returns Copyright to mention in the META tags of the page.
        Returns:
        Copyright to mention in the META tags of the page as a String.
      • setMetaCopyright

        public void setMetaCopyright​(String strMetaCopyright)
        Sets Copyright to mention in the META tags of the page.
        Parameters:
        strMetaCopyright - The Copyright to mention in the META tags of the page
      • getMetaKeywords

        public String getMetaKeywords()
        Returns Keywords to mention in the META tags of the page.
        Returns:
        Keywords to mention in the META tags of the page as a String.
      • setMetaKeywords

        public void setMetaKeywords​(String strMetaKeywords)
        Sets Keywords to mention in the META tags of the page.
        Parameters:
        strMetaKeywords - The Keywords to mention in the META tags of the page.
      • getMetaDescription

        public String getMetaDescription()
        Returns Description to mention in the META tags of the page.
        Returns:
        Description to mention in the META tags of the page as a String.
      • setMetaDescription

        public void setMetaDescription​(String strMetaDescription)
        Sets Description to mention in the META tags of the page.
        Parameters:
        strMetaDescription - The Description to mention in the META tags of the page.
      • getHeader

        public String getHeader()
        Returns the header to display at the top of the page.
        Returns:
        The header HTML code as a String.
      • setHeader

        public void setHeader​(String strHeader)
        Sets the header to display at the top of the page.
        Parameters:
        strHeader - Sets the header to display at the top of the page.
      • getMenu

        public String getMenu()
        Returns the menu associated to the page
        Returns:
        The HTML code of the menu associated to the page as a String
      • setMenu

        public void setMenu​(String strMenu)
        Sets the menu associated to the page
        Parameters:
        strMenu - The HTML code of the menu to associate to the page as a String
      • getPagePath

        public String getPagePath()
        Returns the page path.
        Returns:
        the page path.
      • setPagePath

        public void setPagePath​(String strPagePath)
        Set the page path.
        Parameters:
        strPagePath - the page path
      • getTreeMenu

        public String getTreeMenu()
        Returns the page path.
        Returns:
        the page path.
      • setTreeMenu

        public void setTreeMenu​(String strTreeMenu)
        Set the page path.
        Parameters:
        strTreeMenu - the page path
      • getContent

        public String getContent()
        Returns the page content.
        Returns:
        The HTML code of the page content as a String.
      • setContent

        public void setContent​(String strContent)
        Sets the page content.
        Parameters:
        strContent - The HTML code of the page content as a String.
      • getFavicon

        public String getFavicon()
        Returns the favicon of the page
        Returns:
        The favicon of the page as a string.
      • setFavicon

        public void setFavicon​(String strFavicon)
        Sets the Favicon of the page to the specified string.
        Parameters:
        strFavicon - The new Favicon of the page.
      • getTheme

        public String getTheme()
        Returns the theme of the page
        Returns:
        The theme of the page as a string.
      • setTheme

        public void setTheme​(String strTheme)
        Sets the Theme of the page to the specified string.
        Parameters:
        strTheme - The new Theme of the page.
      • isHomePage

        public boolean isHomePage()
        Returns weither the current page is an homepage or not.
        Returns:
        true if the page is an homepage, otherwise false.
      • setHomePage

        public void setHomePage​(boolean bHomePage)
        Sets the homepage indicator.
        Parameters:
        bHomePage - Should be true if the page is an homepage, otherwise false.
      • getDateUpdate

        public Timestamp getDateUpdate()
        Returns the update date of the page
        Returns:
        The favicon of the page as a string.
      • setDateUpdate

        public void setDateUpdate​(Timestamp tsDateUpdate)
        Sets the update date of the page.
        Parameters:
        strFavicon - The new Favicon of the page.
      • getDisplayDateUpdate

        public boolean getDisplayDateUpdate()
        Returns the display update date boolean
        Returns:
        The display update date as a boolean.
      • setDisplayDateUpdate

        public void setDisplayDateUpdate​(boolean bDisplayDateUpdate)
        Sets the display update date boolean.
        Parameters:
        bDisplayDateUpdate - The display update date boolean.