fr.paris.lutece.plugins.whatsnew.business
Class WhatsNewTypeDocument

java.lang.Object
  extended by fr.paris.lutece.plugins.whatsnew.business.WhatsNew
      extended by fr.paris.lutece.plugins.whatsnew.business.WhatsNewTypeDocument
All Implemented Interfaces:
IWhatsNew, fr.paris.lutece.portal.business.XmlContent

public class WhatsNewTypeDocument
extends WhatsNew

WhatsNewTypeDocument


Field Summary
 
Fields inherited from class fr.paris.lutece.plugins.whatsnew.business.WhatsNew
RESOURCE_TYPE
 
Fields 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
WhatsNewTypeDocument()
          Constructor
 
Method Summary
 String buildUrl()
          Build the url of the whatsnew
 String getAssociatedPortletName()
          Get the reference portlet name
 String getTemplateModeratedElement()
          Get the HTML code of the moderated elements
 void setAssociatedPortletName(String strRefPortletName)
          Set the reference portlet name
 void setWhatsNewType(Locale locale)
          Set the whatsnew type
 
Methods 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WhatsNewTypeDocument

public WhatsNewTypeDocument()
Constructor

Method Detail

setAssociatedPortletName

public void setAssociatedPortletName(String strRefPortletName)
Set the reference portlet name

Parameters:
strRefPortletName - the reference portlet name

getAssociatedPortletName

public String getAssociatedPortletName()
Get the reference portlet name

Returns:
the portlet name

getTemplateModeratedElement

public String getTemplateModeratedElement()
Get the HTML code of the moderated elements

Returns:
HTML code

setWhatsNewType

public void setWhatsNewType(Locale locale)
Set the whatsnew type

Parameters:
locale - Locale

buildUrl

public String buildUrl()
Build the url of the whatsnew

Returns:
the url


Copyright © 2013 Mairie de Paris. All Rights Reserved.