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

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

public class WhatsNewTypePortlet
extends WhatsNew

WhatsNewTypePortlet


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_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
WhatsNewTypePortlet()
          Constructor
 
Method Summary
 java.lang.String buildUrl()
          Build the url of the whatsnew
 java.lang.String getRefPageName()
          Get the reference page name
 java.lang.String getTemplateModeratedElement()
          Get the HTML code of the moderated elements
 void setRefPageName(java.lang.String strRefPageName)
          Set the reference page name
 void setWhatsNewType(java.util.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

WhatsNewTypePortlet

public WhatsNewTypePortlet()
Constructor

Method Detail

getTemplateModeratedElement

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

Returns:
HTML code

setRefPageName

public void setRefPageName(java.lang.String strRefPageName)
Set the reference page name

Parameters:
strRefPageName - the reference page name

getRefPageName

public java.lang.String getRefPageName()
Get the reference page name

Returns:
the reference page name

setWhatsNewType

public void setWhatsNewType(java.util.Locale locale)
Set the whatsnew type

Parameters:
locale - Locale

buildUrl

public java.lang.String buildUrl()
Build the url of the whatsnew

Returns:
the url


Copyright © 2011 Mairie de Paris. All Rights Reserved.