|
||||||||||
| 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
WhatsNewPortlet
| Field Summary |
|---|
| Fields inherited from class fr.paris.lutece.portal.business.portlet.Portlet |
|---|
STATUS_PUBLISHED, STATUS_UNPUBLISHED |
| 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 | |
|---|---|
boolean |
getAscSort()
Check if the portlet is sorting ascendingly |
boolean |
getDynamic()
Check if the whatsnew is dynamic |
int |
getElementsOrder()
Get the element order |
int |
getNbElementsMax()
Get the maximum number of elements to see in the portlet |
int |
getPeriod()
Get the period |
boolean |
getShowDocuments()
Check if the portlet must show the documents or not |
boolean |
getShowPages()
Check if the portlet must show the pages or not |
boolean |
getShowPortlets()
Check if the portlet must show the portlets or not |
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 the form portlet object |
void |
setAscSort(boolean bIsAscSort)
Set the sorting attribute |
void |
setDynamic(boolean bIsDynamic)
Set the attribute dynamic of the whatsnew |
void |
setElementsOrder(int nOrder)
Set the element order |
void |
setNbElementsMax(int nElementsMax)
Set maximum number of elements to see in the portlet |
void |
setPeriod(int nPeriod)
Set the period |
void |
setShowDocuments(boolean bShowDocuments)
Set true if the portlet must show the documents |
void |
setShowPages(boolean bPages)
Set true if the portlet must show the pages |
void |
setShowPortlets(boolean bPortlets)
Set true if the portlet must show the portlets |
void |
update()
Updates the current instance of the form portlet object |
| 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, getRole, getStatus, getStyleId, getUrlCreation, getUrlUpdate, getXslFile, getXslParams, getXslSource, setAcceptAlias, setColumn, setDateUpdate, setDisplayPortletTitle, setHomeClassName, setId, setName, setOrder, setPageId, setPluginName, setPortletTypeId, setPortletTypeName, setRole, setStatus, setStyleId, setUrlCreation, setUrlUpdate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WhatsNewPortlet()
| Method Detail |
|---|
public boolean getShowDocuments()
public void setShowDocuments(boolean bShowDocuments)
bShowDocuments - The new boolean that indicates if the user wants to see the articlespublic boolean getShowPortlets()
public void setShowPortlets(boolean bPortlets)
bPortlets - The new boolean that indicates if the user wants to see the portletspublic boolean getShowPages()
public void setShowPages(boolean bPages)
bPages - The new boolean that indicates if the user wants to see the pagespublic 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 boolean getAscSort()
public void setAscSort(boolean bIsAscSort)
bIsAscSort - true if it is sorting ascendinglypublic java.lang.String getXmlDocument(javax.servlet.http.HttpServletRequest request)
request - The HTTP Servlet request
public boolean getDynamic()
public void setDynamic(boolean bIsDynamic)
bIsDynamic - true if it is dynamic, false otherwisepublic 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 | |||||||||