fr.paris.lutece.plugins.directory.business
Interface IDirectoryDAO

All Known Implementing Classes:
DirectoryDAO

public interface IDirectoryDAO

IDirectoryDAO Interface


Method Summary
 void delete(int nIdDirectory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete a record directory the table
 fr.paris.lutece.util.ReferenceList getEnableDirectoryList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data of all enable directory returns them in a reference list
 int insert(Directory directory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a new record in the table.
 Directory load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data of the Directory from the table
 java.util.List<Directory> selectDirectoryList(DirectoryFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data of all the directory who verify the filter and returns them in a list
 void store(Directory directory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update the directory in the table
 

Method Detail

insert

int insert(Directory directory,
           fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.

Parameters:
directory - instance of the Directory to insert
plugin - the plugin
Returns:
the id of the new directory

store

void store(Directory directory,
           fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the directory in the table

Parameters:
directory - instance of the Directory object to update
plugin - the plugin

delete

void delete(int nIdDirectory,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record directory the table

Parameters:
nIdDirectory - The identifier of the directory
plugin - the plugin

load

Directory load(int nKey,
               fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the Directory from the table

Parameters:
nKey - The identifier of the directory
plugin - the plugin
Returns:
the instance of the Directory

selectDirectoryList

java.util.List<Directory> selectDirectoryList(DirectoryFilter filter,
                                              fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the directory who verify the filter and returns them in a list

Parameters:
filter - the filter
plugin - the plugin
Returns:
the list of directory

getEnableDirectoryList

fr.paris.lutece.util.ReferenceList getEnableDirectoryList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all enable directory returns them in a reference list

Parameters:
plugin - the plugin
Returns:
a reference list of directory


Copyright © 2009 Mairie de Paris. All Rights Reserved.