fr.paris.lutece.plugins.links.business.portlet
Class LinksPortlet

java.lang.Object
  extended by fr.paris.lutece.portal.business.portlet.Portlet
      extended by fr.paris.lutece.plugins.links.business.portlet.LinksPortlet
All Implemented Interfaces:
fr.paris.lutece.portal.business.XmlContent

public class LinksPortlet
extends fr.paris.lutece.portal.business.portlet.Portlet

This class represents business object LinkPortlet


Field Summary
 
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
LinksPortlet()
          Creates a new LinkPortlet object.
 
Method Summary
 int getLinkId()
          Returns the identifier of the Link of this portlet
 int getPortletOrder()
          Return the order of the portlet in the links page
 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 this portlet
 void setLinkId(int nLinkId)
          Sets the identifier of the Link of this LinkPortlet to the specified int
 void setPortletOrder(int nPortletOrder)
          Sets the order of the portlet in the links page
 void update()
          Updates 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
 

Constructor Detail

LinksPortlet

public LinksPortlet()
Creates a new LinkPortlet object.

Method Detail

getLinkId

public int getLinkId()
Returns the identifier of the Link of this portlet

Returns:
The Link identifier

setLinkId

public void setLinkId(int nLinkId)
Sets the identifier of the Link of this LinkPortlet to the specified int

Parameters:
nLinkId - the new identifier of the Link

getXml

public java.lang.String getXml(javax.servlet.http.HttpServletRequest request)
Returns the XML content of the portlet without the XML header

Parameters:
request - The HTTP servlet request
Returns:
The Xml content of this portlet

getXmlDocument

public java.lang.String getXmlDocument(javax.servlet.http.HttpServletRequest request)
Returns the XML content of the portlet with the XML header

Parameters:
request - The HTTP servlet request
Returns:
The XML content of this portlet

update

public void update()
Updates this portlet


remove

public void remove()
Removes this portlet

Overrides:
remove in class fr.paris.lutece.portal.business.portlet.Portlet

getPortletOrder

public int getPortletOrder()
Return the order of the portlet in the links page

Returns:
the order

setPortletOrder

public void setPortletOrder(int nPortletOrder)
Sets the order of the portlet in the links page

Parameters:
nPortletOrder - The new value


Copyright © 2007 Mairie de Paris. All Rights Reserved.