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

java.lang.Object
  extended by fr.paris.lutece.plugins.folderlisting.business.portlet.FolderListingPortletDAO
All Implemented Interfaces:
IFolderListingPortletDAO, fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO

public final class FolderListingPortletDAO
extends java.lang.Object
implements IFolderListingPortletDAO

this class provides Data Access methods for FolderListingPortlet objects


Constructor Summary
FolderListingPortletDAO()
           
 
Method Summary
 boolean checkNoFolderInPortlet(int nIdFolder)
          Checks whether the folder is registered in a Portlet
 void delete(int nPortletId)
          Delete record from table
 void insert(fr.paris.lutece.portal.business.portlet.Portlet portlet)
          Insert a new record in the table.
 fr.paris.lutece.portal.business.portlet.Portlet load(int nIdPortlet)
          load the data of FolderListingPortlet from the table
 void store(fr.paris.lutece.portal.business.portlet.Portlet portlet)
          Update the record in the table
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FolderListingPortletDAO

public FolderListingPortletDAO()
Method Detail

delete

public void delete(int nPortletId)
Delete record from table

Specified by:
delete in interface IFolderListingPortletDAO
Specified by:
delete in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
Parameters:
nPortletId - The indentifier of the Portlet

insert

public void insert(fr.paris.lutece.portal.business.portlet.Portlet portlet)
Insert a new record in the table.

Specified by:
insert in interface IFolderListingPortletDAO
Specified by:
insert in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
Parameters:
portlet - The Instance of the Portlet

load

public fr.paris.lutece.portal.business.portlet.Portlet load(int nIdPortlet)
load the data of FolderListingPortlet from the table

Specified by:
load in interface IFolderListingPortletDAO
Specified by:
load in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
Parameters:
nIdPortlet - The indentifier of the portlet
Returns:
portlet The instance of the object portlet

store

public void store(fr.paris.lutece.portal.business.portlet.Portlet portlet)
Update the record in the table

Specified by:
store in interface IFolderListingPortletDAO
Specified by:
store in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
Parameters:
portlet - The reference of the portlet

checkNoFolderInPortlet

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

Specified by:
checkNoFolderInPortlet in interface IFolderListingPortletDAO
Parameters:
nIdFolder - The identifier of the Folder
Returns:
The boolean result


Copyright © 2011 Mairie de Paris. All Rights Reserved.