public abstract class WhatsNew extends Object implements IWhatsNew
| Modifier and Type | Field and Description |
|---|---|
static String |
RESOURCE_TYPE |
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 and Description |
|---|
WhatsNew()
Creates a new WhatsNew object.
|
| Modifier and Type | Method and Description |
|---|---|
Timestamp |
getDateUpdate()
Returns the date of the last update of the whatsnew object
|
String |
getDescription()
Returns the description of the whatsnew object
|
int |
getDocumentId()
Get the document ID
|
int |
getPageId()
Get the page ID
|
int |
getPortletId()
Get the portlet ID
|
String |
getTitle()
Returns the title of the whatsnew object
|
String |
getType()
Get the type
|
WhatsNewType |
getWhatsNewType()
Returns the type of the whatsnew object
|
String |
getXml(javax.servlet.http.HttpServletRequest request)
Builds the XML content of this whatsnew object and returns it
|
String |
getXmlDocument(javax.servlet.http.HttpServletRequest request)
Adds the XML header to the XML content of this whatsnew object and returns it
|
void |
setDateUpdate(Timestamp date)
Sets the date of the last update of the whatsnew object
|
void |
setDescription(String strDescription)
Sets the description of the whatsnew object to the specified String
|
void |
setDocumentId(int nDocumentId)
Set the document ID
|
void |
setPageId(int nPageId)
Set the page ID
|
void |
setPortletId(int nPortletId)
Set the portlet ID
|
void |
setTitle(String strTitle)
Sets the title of the whatsnew object to the specified String
|
void |
setType(String strType)
Set the type
|
void |
setWhatsNewType(WhatsNewType whatsNewType)
Sets the type of the whatsnew object to the specified String
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuildUrl, getTemplateModeratedElement, setWhatsNewTypepublic static final String RESOURCE_TYPE
public WhatsNewType getWhatsNewType()
getWhatsNewType in interface IWhatsNewpublic String getTitle()
public String getDescription()
getDescription in interface IWhatsNewpublic Timestamp getDateUpdate()
getDateUpdate in interface IWhatsNewpublic void setWhatsNewType(WhatsNewType whatsNewType)
setWhatsNewType in interface IWhatsNewwhatsNewType - the new type of the whatsnew objectpublic void setTitle(String strTitle)
public void setDescription(String strDescription)
setDescription in interface IWhatsNewstrDescription - the new description of the whatsnew objectpublic void setDateUpdate(Timestamp date)
setDateUpdate in interface IWhatsNewdate - the date update of the whatsnew objectpublic int getDocumentId()
getDocumentId in interface IWhatsNewpublic void setDocumentId(int nDocumentId)
setDocumentId in interface IWhatsNewnDocumentId - The _nDocumentId to set.public int getPageId()
public void setPageId(int nPageId)
public int getPortletId()
getPortletId in interface IWhatsNewpublic void setPortletId(int nPortletId)
setPortletId in interface IWhatsNewnPortletId - The _nPortletId to set.public String getType()
public void setType(String strType)
public String getXmlDocument(javax.servlet.http.HttpServletRequest request)
getXmlDocument in interface IWhatsNewgetXmlDocument in interface fr.paris.lutece.portal.business.XmlContentrequest - The HTTP Servlet requestpublic String getXml(javax.servlet.http.HttpServletRequest request)
Copyright © 2015 City of Paris. All rights reserved.