Class PageData
java.lang.Object
fr.paris.lutece.portal.service.content.PageData
This class provides a structure to build portal pages.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the page content.Returns the URL of the Cascading Style Sheet associated to this pageReturns the URL of the Customize Cascading Style Sheet associated to this pageReturns the update date of the pagebooleanReturns the display update date booleanReturns the favicon of the pageReturns the favourite of the pageReturns the header to display at the top of the page.getMenu()Returns the menu associated to the pageReturns Author to mention in the META tags of the page.Returns Copyright to mention in the META tags of the page.Returns Description to mention in the META tags of the page.Returns Keywords to mention in the META tags of the page.getName()Returns the name of the pageReturns the page path.Returns the URL of the Plugins Cascading Style Sheet associated to this pagegetTheme()Returns the theme of the pageReturns the page path.booleanReturns weither the current page is an homepage or not.voidsetContent(String strContent) Sets the page content.voidSets the URL of the Cascading Style Sheet associated to this pagevoidsetCustomizeCssUrl(String strCustomizeCssUrl) Sets the URL of the Customize Cascading Style Sheet associated to this pagevoidsetDateUpdate(Timestamp tsDateUpdate) Sets the update date of the page.voidsetDisplayDateUpdate(boolean bDisplayDateUpdate) Sets the display update date boolean.voidsetFavicon(String strFavicon) Sets the Favicon of the page to the specified string.voidsetFavourite(String strFavourite) Sets the favourite of the page to the specified string.voidSets the header to display at the top of the page.voidsetHomePage(boolean bHomePage) Sets the homepage indicator.voidSets the menu associated to the pagevoidsetMetaAuthor(String strMetaAuthor) Sets Author to mention in the META tags of the page.voidsetMetaCopyright(String strMetaCopyright) Sets Copyright to mention in the META tags of the page.voidsetMetaDescription(String strMetaDescription) Sets Description to mention in the META tags of the page.voidsetMetaKeywords(String strMetaKeywords) Sets Keywords to mention in the META tags of the page.voidSets the name of the page to the specified string.voidsetPagePath(String strPagePath) Set the page path.voidsetPluginsCssUrl(String strPluginsCssUrl) Sets the URL of the Plugins Cascading Style Sheet associated to this pagevoidSets the Theme of the page to the specified string.voidsetTreeMenu(String strTreeMenu) Set the page path.
-
Constructor Details
-
PageData
public PageData()
-
-
Method Details
-
getName
Returns the name of the page- Returns:
- The name of the page as a string.
-
setName
Sets the name of the page to the specified string.- Parameters:
strName- The new name of the page.
-
getFavourite
Returns the favourite of the page- Returns:
- The favourite of the page as a string.
-
setFavourite
Sets the favourite of the page to the specified string.- Parameters:
strFavourite- The new favourite of the page.
-
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Returns the header to display at the top of the page.- Returns:
- The header HTML code as a String.
-
setHeader
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
Returns the menu associated to the page- Returns:
- The HTML code of the menu associated to the page as a String
-
setMenu
Sets the menu associated to the page- Parameters:
strMenu- The HTML code of the menu to associate to the page as a String
-
getPagePath
Returns the page path.- Returns:
- the page path.
-
setPagePath
Set the page path.- Parameters:
strPagePath- the page path
-
getTreeMenu
Returns the page path.- Returns:
- the page path.
-
setTreeMenu
Set the page path.- Parameters:
strTreeMenu- the page path
-
getContent
Returns the page content.- Returns:
- The HTML code of the page content as a String.
-
setContent
Sets the page content.- Parameters:
strContent- The HTML code of the page content as a String.
-
getFavicon
Returns the favicon of the page- Returns:
- The favicon of the page as a string.
-
setFavicon
Sets the Favicon of the page to the specified string.- Parameters:
strFavicon- The new Favicon of the page.
-
getTheme
Returns the theme of the page- Returns:
- The theme of the page as a string.
-
setTheme
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
Returns the update date of the page- Returns:
- The favicon of the page as a string.
-
setDateUpdate
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.
-