|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.directory.business.DirectoryDAO
public final class DirectoryDAO
class DirectoryDAO
Constructor Summary | |
---|---|
DirectoryDAO()
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DirectoryDAO()
Method Detail |
---|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- the plugin
public int insert(Directory directory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert
in interface IDirectoryDAO
directory
- instance of the Directory to insertplugin
- the plugin
public Directory load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load
in interface IDirectoryDAO
nId
- The identifier of the directoryplugin
- the plugin
public 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 plugin
public fr.paris.lutece.util.ReferenceList getEnableDirectoryList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
getEnableDirectoryList
in interface IDirectoryDAO
plugin
- the plugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |