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

java.lang.Object
  extended by fr.paris.lutece.portal.business.portlet.PortletHome
      extended by fr.paris.lutece.plugins.folderlisting.business.portlet.FolderListingPortletHome
All Implemented Interfaces:
fr.paris.lutece.portal.business.portlet.PortletHomeInterface

public class FolderListingPortletHome
extends fr.paris.lutece.portal.business.portlet.PortletHome

This class provides instances management methods for FolderListingPortlet objects


Constructor Summary
FolderListingPortletHome()
          Constructor Need to be public to use getDAO and getPortletTypeId methods
 
Method Summary
static boolean checkNoFolderInPortlet(int nIdFolder)
          Checks whether the folder is registered in a Portlet
 fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO getDAO()
          Returns the instance of the FolderListingPortletDAO singleton
static fr.paris.lutece.portal.business.portlet.PortletHome getInstance()
          Returns the instance of the FolderListingPortletHome singleton
 java.lang.String getPortletTypeId()
          Returns the type of the portlet
 
Methods inherited from class fr.paris.lutece.portal.business.portlet.PortletHome
create, findByPrimaryKey, findByType, getPortletListByStyle, getPortletsListbyName, getPortletType, getStylesList, hasAlias, invalidate, invalidate, remove, update, updateStatus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FolderListingPortletHome

public FolderListingPortletHome()
Constructor Need to be public to use getDAO and getPortletTypeId methods

Method Detail

getInstance

public static fr.paris.lutece.portal.business.portlet.PortletHome getInstance()
Returns the instance of the FolderListingPortletHome singleton

Returns:
the FolderListingPortletHome instance

getDAO

public fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO getDAO()
Returns the instance of the FolderListingPortletDAO singleton

Returns:
the instance of the FolderListingPortletDAO

getPortletTypeId

public java.lang.String getPortletTypeId()
Returns the type of the portlet

Returns:
The type of the portlet

checkNoFolderInPortlet

public static boolean checkNoFolderInPortlet(int nIdFolder)
Checks whether the folder is registered in a Portlet

Parameters:
nIdFolder - The identifier of the Folder
Returns:
The boolean result


Copyright © 2007 Mairie de Paris. All Rights Reserved.