public final class DirectoryDAO extends Object implements IDirectoryDAO
| Constructor and Description |
|---|
DirectoryDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nIdDirectory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from 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 nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the Directory from the table
|
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key
|
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
|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the pluginpublic int insert(Directory directory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IDirectoryDAOdirectory - instance of the Directory to insertplugin - the pluginpublic Directory load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IDirectoryDAOnId - The identifier of the directoryplugin - the pluginpublic void delete(int nIdDirectory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IDirectoryDAOnIdDirectory - The identifier of the directoryplugin - the pluginpublic void store(Directory directory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IDirectoryDAOdirectory - instance of the Directory object to updateplugin - the pluginpublic List<Directory> selectDirectoryList(DirectoryFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectDirectoryList in interface IDirectoryDAOfilter - the filterplugin - the pluginpublic fr.paris.lutece.util.ReferenceList getEnableDirectoryList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
getEnableDirectoryList in interface IDirectoryDAOplugin - the pluginCopyright © 2014 Mairie de Paris. All rights reserved.