fr.paris.lutece.plugins.folderlisting.business.portlet
Class FolderListingPortlet

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

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

This class represents business objects FolderListingPortlet


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
FolderListingPortlet()
          Creates a new FolderListingPortlet object.
 
Method Summary
 int getFolderListingFileId()
          Returns the Id of this folderlistingfile
 java.lang.String getFolderPath()
          Returns the FolderPath
 java.lang.String getRootFolderId()
          Returns the RootFolderId
 java.lang.String getRootFolderName()
          Get the path corresponding to Root Folder Id
 java.lang.String getRootFolderPath()
          Get the path corresponding to Root Folder Id
 java.lang.String getXml(javax.servlet.http.HttpServletRequest request)
          Returns the Xml code of the FolderListing portlet without XML heading
 java.lang.String getXmlDocument(javax.servlet.http.HttpServletRequest request)
          Returns the Xml code of the FolderListing portlet with XML heading
 void remove()
          Remove portlet
 void setFolderListingFileId(int nFolderListingFileId)
          Sets the Id of the folderlistingfile
 void setFolderPath(java.lang.String strFolderPath)
          Sets the FolderPath
 void setRootFolderId(java.lang.String strRootFolderId)
          Sets the RootFolderId
 void update()
          Update the 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

FolderListingPortlet

public FolderListingPortlet()
Creates a new FolderListingPortlet object.

Method Detail

setFolderListingFileId

public void setFolderListingFileId(int nFolderListingFileId)
Sets the Id of the folderlistingfile

Parameters:
nFolderListingFileId - the new Id

getFolderListingFileId

public int getFolderListingFileId()
Returns the Id of this folderlistingfile

Returns:
the folderlistingfile Id

getFolderPath

public java.lang.String getFolderPath()
Returns the FolderPath

Returns:
The FolderPath

setRootFolderId

public void setRootFolderId(java.lang.String strRootFolderId)
Sets the RootFolderId

Parameters:
strRootFolderId - The RootFolderId

getRootFolderId

public java.lang.String getRootFolderId()
Returns the RootFolderId

Returns:
The RootFolderId

setFolderPath

public void setFolderPath(java.lang.String strFolderPath)
Sets the FolderPath

Parameters:
strFolderPath - The FolderPath

getRootFolderPath

public java.lang.String getRootFolderPath()
Get the path corresponding to Root Folder Id

Returns:
The path of the root folder

getRootFolderName

public java.lang.String getRootFolderName()
Get the path corresponding to Root Folder Id

Returns:
The path of the root folder

getXml

public java.lang.String getXml(javax.servlet.http.HttpServletRequest request)
Returns the Xml code of the FolderListing portlet without XML heading

Parameters:
request - The http request
Returns:
the Xml code of the FolderListing portlet content

getXmlDocument

public java.lang.String getXmlDocument(javax.servlet.http.HttpServletRequest request)
Returns the Xml code of the FolderListing portlet with XML heading

Parameters:
request - the HttpServletRequest
Returns:
the Xml code of the FolderListing portlet

update

public void update()
Update the portlet


remove

public void remove()
Remove portlet

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


Copyright © 2007 Mairie de Paris. All Rights Reserved.