public class LastAnnouncesPortlet
extends fr.paris.lutece.portal.business.portlet.PortletHtmlContent
FLAG_DISPLAY_ON_LARGE_DEVICE, FLAG_DISPLAY_ON_NORMAL_DEVICE, FLAG_DISPLAY_ON_SMALL_DEVICE, FLAG_DISPLAY_ON_XLARGE_DEVICE, STATUS_PUBLISHED, STATUS_UNPUBLISHED
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 |
---|
LastAnnouncesPortlet()
Sets the identifier of the portlet type to value specified
|
Modifier and Type | Method and Description |
---|---|
String |
getHtmlContent(javax.servlet.http.HttpServletRequest request) |
int |
getNbAnnouncesToDisplay()
Get the number of announces to display
|
void |
remove() |
void |
setNbAnnouncesToDisplay(int nNbAnnouncesToDisplay)
Set the number of announces to display
|
void |
update()
Updates the current instance of the MyAnnouncePortlet object
|
getXml, getXmlDocument, isContentGeneratedByXmlAndXsl
addPortletTags, canBeCachedForAnonymousUsers, canBeCachedForConnectedUsers, copy, getAcceptAlias, getColumn, getDateUpdate, getDeviceDisplayFlags, getDisplayPortletTitle, getHomeClassName, getId, getName, getOrder, getPageId, getPluginName, getPortletTypeId, getPortletTypeName, getRole, getStatus, getStyleId, getUrlCreation, getUrlUpdate, getXslFile, getXslParams, getXslSource, hasDeviceDisplayFlag, setAcceptAlias, setColumn, setDateUpdate, setDeviceDisplayFlags, setDisplayPortletTitle, setHomeClassName, setId, setName, setOrder, setPageId, setPluginName, setPortletTypeId, setPortletTypeName, setRole, setStatus, setStyleId, setUrlCreation, setUrlUpdate
public LastAnnouncesPortlet()
public int getNbAnnouncesToDisplay()
public void setNbAnnouncesToDisplay(int nNbAnnouncesToDisplay)
nNbAnnouncesToDisplay
- The number of announces to displaypublic String getHtmlContent(javax.servlet.http.HttpServletRequest request)
getHtmlContent
in class fr.paris.lutece.portal.business.portlet.PortletHtmlContent
public void update()
public void remove()
remove
in class fr.paris.lutece.portal.business.portlet.Portlet
Copyright © 2019 City of Paris. All rights reserved.