Class WhatsNewTypePortlet
java.lang.Object
fr.paris.lutece.plugins.whatsnew.business.WhatsNew
fr.paris.lutece.plugins.whatsnew.business.WhatsNewTypePortlet
- All Implemented Interfaces:
IWhatsNew,fr.paris.lutece.portal.business.XmlContent
WhatsNewTypePortlet
-
Field Summary
Fields inherited from class fr.paris.lutece.plugins.whatsnew.business.WhatsNew
RESOURCE_TYPEFields inherited from interface fr.paris.lutece.portal.business.XmlContent
TAG_CHILD_PAGES_LIST, TAG_CURRENT_PAGE_ID, TAG_DISPLAY_ON_LARGE_DEVICE, TAG_DISPLAY_ON_NORMAL_DEVICE, TAG_DISPLAY_ON_SMALL_DEVICE, TAG_DISPLAY_ON_XLARGE_DEVICE, TAG_DISPLAY_PORTLET_TITLE, TAG_MENU, TAG_MENU_INDEX, TAG_MENU_LIST, TAG_MODE, TAG_PAGE, TAG_PAGE_DESCRIPTION, TAG_PAGE_ID, TAG_PAGE_IMAGE, TAG_PAGE_LEVEL, TAG_PAGE_NAME, TAG_PARENT_PAGE_ID, TAG_PLUGIN_NAME, TAG_PORTLET, TAG_PORTLET_ID, TAG_PORTLET_NAME, TAG_SUBLEVEL_INDEX, TAG_SUBLEVEL_MENU, TAG_SUBLEVEL_MENU_LIST -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildUrl()Build the url of the whatsnewGet the reference page nameGet the HTML code of the moderated elementsvoidsetRefPageName(String strRefPageName) Set the reference page namevoidsetWhatsNewType(Locale locale) Set the whatsnew typeMethods inherited from class fr.paris.lutece.plugins.whatsnew.business.WhatsNew
getDateUpdate, getDescription, getDocumentId, getPageId, getPortletId, getTitle, getType, getWhatsNewType, getXml, getXmlDocument, setDateUpdate, setDescription, setDocumentId, setPageId, setPortletId, setTitle, setType, setWhatsNewType
-
Constructor Details
-
WhatsNewTypePortlet
public WhatsNewTypePortlet()Constructor
-
-
Method Details
-
getTemplateModeratedElement
Get the HTML code of the moderated elements- Returns:
- HTML code
-
setRefPageName
Set the reference page name- Parameters:
strRefPageName- the reference page name
-
getRefPageName
Get the reference page name- Returns:
- the reference page name
-
setWhatsNewType
Set the whatsnew type- Parameters:
locale-Locale
-
buildUrl
Build the url of the whatsnew- Returns:
- the url
-