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 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 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 IDirectoryDAO
directory
- instance of the Directory to insertplugin
- the pluginpublic Directory load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load
in interface IDirectoryDAO
nId
- The identifier of the directoryplugin
- the pluginpublic void delete(int nIdDirectory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete
in interface IDirectoryDAO
nIdDirectory
- The identifier of the directoryplugin
- the pluginpublic void store(Directory directory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store
in interface IDirectoryDAO
directory
- 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 IDirectoryDAO
filter
- the filterplugin
- the pluginpublic fr.paris.lutece.util.ReferenceList getEnableDirectoryList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
getEnableDirectoryList
in interface IDirectoryDAO
plugin
- the pluginCopyright © 2020 City of Paris. All rights reserved.