|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.whatsnew.business.WhatsNew
public class WhatsNew
This class represents business object WhatsNew
| Field Summary | |
|---|---|
static java.lang.String |
PARAMETER_DOCUMENT_ID
parameters. |
static int |
TYPE_DOCUMENT
|
static int |
TYPE_PAGE
|
static int |
TYPE_PORTLET
constants to refer to the styles |
| 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 | |
|---|---|
WhatsNew()
Creates a new WhatsNew object. |
|
| Method Summary | |
|---|---|
java.sql.Timestamp |
getDateUpdate()
Returns the date of the last update of the whatsnew object |
java.lang.String |
getDescription()
Returns the description of the whatsnew object |
int |
getDocumentId()
|
int |
getPageId()
|
int |
getPortletId()
|
java.lang.String |
getPropertiesPrefix()
Returns portlet's properties prefix |
java.lang.String |
getTitle()
Returns the title of the whatsnew object |
int |
getType()
Returns the type of the whatsnew object |
java.lang.String |
getXml(javax.servlet.http.HttpServletRequest request)
Builds the XML content of this whatsnew object and returns it |
java.lang.String |
getXmlDocument(javax.servlet.http.HttpServletRequest request)
Adds the XML header to the XML content of this whatsnew object and returns it |
void |
setDateUpdate(java.sql.Timestamp date)
Sets the date of the last update of the whatsnew object |
void |
setDescription(java.lang.String strDescription)
Sets the description of the whatsnew object to the specified String |
void |
setDocumentId(int nDocumentId)
|
void |
setPageId(int nPageId)
|
void |
setPortletId(int nPortletId)
|
void |
setTitle(java.lang.String strTitle)
Sets the title of the whatsnew object to the specified String |
void |
setType(int nType)
Sets the type of the whatsnew object to the specified String |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PARAMETER_DOCUMENT_ID
public static final int TYPE_PORTLET
public static final int TYPE_PAGE
public static final int TYPE_DOCUMENT
| Constructor Detail |
|---|
public WhatsNew()
| Method Detail |
|---|
public int getType()
public java.lang.String getTitle()
public java.lang.String getDescription()
public java.sql.Timestamp getDateUpdate()
public void setType(int nType)
nType - the new type of the whatsnew objectpublic void setTitle(java.lang.String strTitle)
strTitle - the new title of the whatsnew objectpublic void setDescription(java.lang.String strDescription)
strDescription - the new description of the whatsnew objectpublic void setDateUpdate(java.sql.Timestamp date)
date - the date update of the whatsnew objectpublic int getDocumentId()
public void setDocumentId(int nDocumentId)
nArticleId - The _nArticleId to set.public int getPageId()
public void setPageId(int nPageId)
nPageId - The _nPageId to set.public int getPortletId()
public void setPortletId(int nPortletId)
nPortletId - The _nPortletId to set.public java.lang.String getXml(javax.servlet.http.HttpServletRequest request)
getXml in interface fr.paris.lutece.portal.business.XmlContentrequest - The HTTP Servlet request
public java.lang.String getXmlDocument(javax.servlet.http.HttpServletRequest request)
getXmlDocument in interface fr.paris.lutece.portal.business.XmlContentrequest - The HTTP Servlet request
public java.lang.String getPropertiesPrefix()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||