Interface IWhatsNew
- All Superinterfaces:
fr.paris.lutece.portal.business.XmlContent
- All Known Implementing Classes:
WhatsNew,WhatsNewTypeDocument,WhatsNewTypePage,WhatsNewTypePortlet
public interface IWhatsNew
extends fr.paris.lutece.portal.business.XmlContent
IWhatsNew
-
Field Summary
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 -
Method Summary
Modifier and TypeMethodDescriptionbuildUrl()Build the url of the whatsnewReturns the date of the last update of the whatsnew objectReturns the description of the whatsnew objectintGet the document IDintGet the page IDintGet the portlet IDGet the HTML code of the moderated elementsgetTitle()Returns the title of the whatsnew objectgetType()Get the type of the whatsnewReturns the type of the whatsnew objectgetXml(javax.servlet.http.HttpServletRequest request) Builds the XML content of this whatsnew object and returns itgetXmlDocument(javax.servlet.http.HttpServletRequest request) Adds the XML header to the XML content of this whatsnew object and returns itvoidsetDateUpdate(Timestamp date) Sets the date of the last update of the whatsnew objectvoidsetDescription(String strDescription) Sets the description of the whatsnew object to the specified StringvoidsetDocumentId(int nDocumentId) Set the document IDvoidsetPageId(int nPageId) Set the page IDvoidsetPortletId(int nPortletId) Set the portlet IDvoidSets the title of the whatsnew object to the specified StringvoidSet the type of the whatsnewvoidsetWhatsNewType(WhatsNewType whatsNewType) Sets the type of the whatsnew object to the specified StringvoidsetWhatsNewType(Locale locale) Set the whatsnew type
-
Method Details
-
getWhatsNewType
WhatsNewType getWhatsNewType()Returns the type of the whatsnew object- Returns:
- the type of the whatsnew object
-
getTitle
String getTitle()Returns the title of the whatsnew object- Returns:
- the title of the whatsnew object
-
getDescription
String getDescription()Returns the description of the whatsnew object- Returns:
- the description of the whatsnew object
-
getDateUpdate
Timestamp getDateUpdate()Returns the date of the last update of the whatsnew object- Returns:
- the date of the last update of the whatsnew object
-
setWhatsNewType
Sets the type of the whatsnew object to the specified String- Parameters:
whatsNewType- the new type of the whatsnew object
-
setWhatsNewType
Set the whatsnew type- Parameters:
locale-Locale
-
setTitle
Sets the title of the whatsnew object to the specified String- Parameters:
strTitle- the new title of the whatsnew object
-
setDescription
Sets the description of the whatsnew object to the specified String- Parameters:
strDescription- the new description of the whatsnew object
-
setDateUpdate
Sets the date of the last update of the whatsnew object- Parameters:
date- the date update of the whatsnew object
-
getDocumentId
int getDocumentId()Get the document ID- Returns:
- Returns the _nDocumentId.
-
setDocumentId
void setDocumentId(int nDocumentId) Set the document ID- Parameters:
nDocumentId- The _nDocumentId to set.
-
getPageId
int getPageId()Get the page ID- Returns:
- Returns the _nPageId.
-
setPageId
void setPageId(int nPageId) Set the page ID- Parameters:
nPageId- The _nPageId to set.
-
getPortletId
int getPortletId()Get the portlet ID- Returns:
- Returns the _nPortletId.
-
setPortletId
void setPortletId(int nPortletId) Set the portlet ID- Parameters:
nPortletId- The _nPortletId to set.
-
getType
String getType()Get the type of the whatsnew- Returns:
- the type of the whatsnew
-
setType
Set the type of the whatsnew- Parameters:
strType- the type
-
getTemplateModeratedElement
String getTemplateModeratedElement()Get the HTML code of the moderated elements- Returns:
- HTML code
-
buildUrl
String buildUrl()Build the url of the whatsnew- Returns:
- the url
-
getXmlDocument
Adds the XML header to the XML content of this whatsnew object and returns it- Specified by:
getXmlDocumentin interfacefr.paris.lutece.portal.business.XmlContent- Parameters:
request- The HTTP Servlet request- Returns:
- the Xml document with header
-
getXml
Builds the XML content of this whatsnew object and returns it- Specified by:
getXmlin interfacefr.paris.lutece.portal.business.XmlContent- Parameters:
request- The HTTP Servlet request- Returns:
- the Xml content of this whatsnew object
-