Class WhatsNewTypeDocument
java.lang.Object
fr.paris.lutece.plugins.whatsnew.business.WhatsNew
fr.paris.lutece.plugins.whatsnew.business.WhatsNewTypeDocument
- All Implemented Interfaces:
IWhatsNew,fr.paris.lutece.portal.business.XmlContent
WhatsNewTypeDocument
-
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 portlet nameGet the HTML code of the moderated elementsvoidsetAssociatedPortletName(String strRefPortletName) Set the reference portlet 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
-
WhatsNewTypeDocument
public WhatsNewTypeDocument()Constructor
-
-
Method Details
-
setAssociatedPortletName
Set the reference portlet name- Parameters:
strRefPortletName- the reference portlet name
-
getAssociatedPortletName
Get the reference portlet name- Returns:
- the portlet name
-
getTemplateModeratedElement
Get the HTML code of the moderated elements- Returns:
- HTML code
-
setWhatsNewType
Set the whatsnew type- Parameters:
locale-Locale
-
buildUrl
Build the url of the whatsnew- Returns:
- the url
-