|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.portal.business.portlet.Portlet
fr.paris.lutece.plugins.whatsnew.business.portlet.WhatsNewPortlet
public class WhatsNewPortlet
This class represents business object WhatsNewPortlet
| Field Summary | |
|---|---|
static int |
ELEMENT_ORDER_ALPHA
|
static int |
ELEMENT_ORDER_DATE_ASC
|
static int |
ELEMENT_ORDER_DATE_DESC
|
| 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 | |
|---|---|
WhatsNewPortlet()
Sets the identifier of the portlet type to the value specified in the WhatsNewPortletHome class |
|
| Method Summary | |
|---|---|
int |
getElementsOrder()
|
int |
getNbElementsMax()
|
int |
getPeriod()
|
boolean |
getShowDocuments()
|
boolean |
getShowPages()
|
boolean |
getShowPortlets()
|
java.lang.String |
getXml(javax.servlet.http.HttpServletRequest request)
Returns the XML content of the portlet without the XML header |
java.lang.String |
getXmlDocument(javax.servlet.http.HttpServletRequest request)
Returns the XML content of the portlet with the XML header |
void |
remove()
Removes the current instance of the WhatsNewPortlet object |
void |
setElementsOrder(int nOrder)
|
void |
setNbElementsMax(int nElementsMax)
|
void |
setPeriod(int nPeriod)
|
void |
setShowDocuments(boolean bShowDocuments)
|
void |
setShowPages(boolean bPages)
|
void |
setShowPortlets(boolean bPortlets)
|
void |
update()
Update of this portlet |
| Methods inherited from class fr.paris.lutece.portal.business.portlet.Portlet |
|---|
addPortletTags, copy, getAcceptAlias, getColumn, getDateUpdate, getDisplayPortletTitle, getHomeClassName, getId, getName, getOrder, getPageId, getPluginName, getPortletTypeId, getPortletTypeName, getStatus, getStyleId, getUrlCreation, getUrlUpdate, getXslFile, getXslParams, getXslSource, setAcceptAlias, setColumn, setDateUpdate, setDisplayPortletTitle, setHomeClassName, setId, setName, setOrder, setPageId, setPluginName, setPortletTypeId, setPortletTypeName, setStatus, setStyleId, setUrlCreation, setUrlUpdate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int ELEMENT_ORDER_DATE_DESC
public static final int ELEMENT_ORDER_DATE_ASC
public static final int ELEMENT_ORDER_ALPHA
| Constructor Detail |
|---|
public WhatsNewPortlet()
| Method Detail |
|---|
public boolean getShowDocuments()
public void setShowDocuments(boolean bShowDocuments)
bArticles - The new boolean that indicates if the user wants to see the articles..public boolean getShowPortlets()
public void setShowPortlets(boolean bPortlets)
bPortlets - The new boolean that indicates if the user wants to see the portlets.public boolean getShowPages()
public void setShowPages(boolean bPages)
bPages - The new boolean that indicates if the user wants to see the pages.public int getPeriod()
public void setPeriod(int nPeriod)
nPeriod - The period to set (number of days).public int getNbElementsMax()
public void setNbElementsMax(int nElementsMax)
nElementsMax - The maximum number of elements to see in the portlet.public int getElementsOrder()
public void setElementsOrder(int nOrder)
nOrder - The maximum number of elements to see in the portlet.public java.lang.String getXmlDocument(javax.servlet.http.HttpServletRequest request)
request - The HTTP Servlet request
public java.lang.String getXml(javax.servlet.http.HttpServletRequest request)
request - The HTTP Servlet request
public void update()
public void remove()
remove in class fr.paris.lutece.portal.business.portlet.Portlet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||