fr.paris.lutece.plugins.folderlisting.business
Class FolderListingDatabaseHome

java.lang.Object
  extended by fr.paris.lutece.plugins.folderlisting.business.FolderListingDatabaseHome

public final class FolderListingDatabaseHome
extends java.lang.Object

This class provides instances management methods (create, find, ...) for FolderListingDatabase objects


Constructor Summary
FolderListingDatabaseHome()
           
 
Method Summary
static FolderListingDatabase create(FolderListingDatabase folderListingDatabase, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Creation of an instance of folderListingDatabase
static FolderListingDatabase findByPrimaryKey(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Returns an instance of a folderListingDatabase whose identifier is specified in parameter
static java.util.List<FolderListingDatabase> findFolderListingDatabasesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Returns a list of folderListingDatabases objects
static void remove(int nFolderListingDatabaseId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Remove the FolderListingDatabase whose identifier is specified in parameter
static FolderListingDatabase update(FolderListingDatabase folderListingDatabase, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update of the folderListingDatabase which is specified in parameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FolderListingDatabaseHome

public FolderListingDatabaseHome()
Method Detail

create

public static FolderListingDatabase create(FolderListingDatabase folderListingDatabase,
                                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of folderListingDatabase

Parameters:
folderListingDatabase - The instance of the folderListingDatabase which contains the informations to store
plugin - The current plugin using this method
Returns:
The instance of folderListingDatabase which has been created with its primary key.

update

public static FolderListingDatabase update(FolderListingDatabase folderListingDatabase,
                                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the folderListingDatabase which is specified in parameter

Parameters:
folderListingDatabase - The instance of the folderListingDatabase which contains the data to store
plugin - The current plugin using this method
Returns:
The instance of the folderListingDatabase which has been updated

remove

public static void remove(int nFolderListingDatabaseId,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the FolderListingDatabase whose identifier is specified in parameter

Parameters:
nFolderListingDatabaseId - The FolderListingDatabase Id
plugin - The current plugin using this method

findByPrimaryKey

public static FolderListingDatabase findByPrimaryKey(int nKey,
                                                     fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a folderListingDatabase whose identifier is specified in parameter

Parameters:
nKey - The Primary key of the folderListingDatabase
plugin - The current plugin using this method
Returns:
An instance of folderListingDatabase

findFolderListingDatabasesList

public static java.util.List<FolderListingDatabase> findFolderListingDatabasesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns a list of folderListingDatabases objects

Parameters:
plugin - The current plugin using this method
Returns:
A list of folders in the database


Copyright © 2008 Mairie de Paris. All Rights Reserved.