fr.paris.lutece.plugins.jcr.business.portlet
Class Jsr170Portlet

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

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

This class represents business objects Jsr170Portlet


Field Summary
 
Fields inherited from class fr.paris.lutece.portal.business.portlet.Portlet
FLAG_DISPLAY_ON_LARGE_DEVICE, FLAG_DISPLAY_ON_NORMAL_DEVICE, FLAG_DISPLAY_ON_SMALL_DEVICE, FLAG_DISPLAY_ON_XLARGE_DEVICE, STATUS_PUBLISHED, STATUS_UNPUBLISHED
 
Fields inherited from interface fr.paris.lutece.portal.business.XmlContent
TAG_CHILD_PAGES_LIST, TAG_CURRENT_PAGE_ID, TAG_DISPLAY_ON_LARGE_DEVICE, TAG_DISPLAY_ON_NORMAL_DEVICE, TAG_DISPLAY_ON_SMALL_DEVICE, TAG_DISPLAY_ON_XLARGE_DEVICE, 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
Jsr170Portlet()
          Creates a new Jsr170Portlet object.
 
Method Summary
 int getDefaultView()
          Gets the default view
 int getFolderListingFileId()
          Returns the Id of this folderlistingfile
 String getXml(javax.servlet.http.HttpServletRequest request)
          Returns the Xml code of the FolderListing portlet without XML heading
 String getXmlDocument(javax.servlet.http.HttpServletRequest request)
          Returns the Xml code of the FolderListing portlet with XML heading
 boolean hasDefaultView()
           
 void remove()
          Remove portlet
 void setDefaultView(int nViewId)
          Sets the view of this portlet.
 void setFolderListingFileId(int nFolderListingFileId)
          Sets the Id of the folderlistingfile
 void update()
          Update the portlet
 
Methods inherited from class fr.paris.lutece.portal.business.portlet.Portlet
addPortletTags, canBeCachedForAnonymousUsers, canBeCachedForConnectedUsers, copy, getAcceptAlias, getColumn, getDateUpdate, getDeviceDisplayFlags, getDisplayPortletTitle, getHomeClassName, getHtmlContent, getId, getName, getOrder, getPageId, getPluginName, getPortletTypeId, getPortletTypeName, getRole, getStatus, getStyleId, getUrlCreation, getUrlUpdate, getXslFile, getXslParams, getXslSource, hasDeviceDisplayFlag, isContentGeneratedByXmlAndXsl, setAcceptAlias, setColumn, setDateUpdate, setDeviceDisplayFlags, 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

Jsr170Portlet

public Jsr170Portlet()
Creates a new Jsr170Portlet 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

getXml

public 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 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

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

setDefaultView

public void setDefaultView(int nViewId)
Sets the view of this portlet.

Parameters:
nViewId - the view id

getDefaultView

public int getDefaultView()
Gets the default view

Returns:
the view id

hasDefaultView

public boolean hasDefaultView()
Returns:
true if this portlet has a default view


Copyright © 2014 Mairie de Paris. All Rights Reserved.