Class EntryDAO
- java.lang.Object
-
- fr.paris.lutece.plugins.form.business.EntryDAO
-
-
Constructor Summary
Constructors Constructor Description EntryDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the tableintinsert(IEntry entry, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.IEntryload(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of the entry from the tablejava.util.List<IEntry>selectEntryListByFilter(EntryFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the entry who verify the filter and returns them in a listintselectNumberEntryByFilter(EntryFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)Return the number of entry who verify the filtervoidstore(IEntry entry, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the entry in the table
-
-
-
Method Detail
-
insert
public int insert(IEntry entry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
-
load
public IEntry load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the entry from the table
-
delete
public void delete(int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the table
-
store
public void store(IEntry entry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the entry in the table
-
selectEntryListByFilter
public java.util.List<IEntry> selectEntryListByFilter(EntryFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the entry who verify the filter and returns them in a list- Specified by:
selectEntryListByFilterin interfaceIEntryDAO- Parameters:
filter- the filterplugin- the plugin- Returns:
- the list of entry
-
selectNumberEntryByFilter
public int selectNumberEntryByFilter(EntryFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return the number of entry who verify the filter- Specified by:
selectNumberEntryByFilterin interfaceIEntryDAO- Parameters:
filter- the filterplugin- the plugin- Returns:
- the number of entry who verify the filter
-
-