Interface IEntryDAO
-
- All Known Implementing Classes:
EntryDAO
public interface IEntryDAOIEntryDAO Interface
-
-
Method Summary
All Methods Instance Methods Abstract 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 nIdEntry, 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
int insert(IEntry entry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.- Parameters:
entry- instance of the Entry object to insertplugin- the plugin- Returns:
- the id of the new entry
-
store
void store(IEntry entry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the entry in the table- Parameters:
entry- instance of the Entry object to updateplugin- the plugin
-
delete
void delete(int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the table- Parameters:
nIdEntry- The identifier of the entryplugin- the plugin
-
load
IEntry load(int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the entry from the table- Parameters:
nIdEntry- The identifier of the entryplugin- the plugin- Returns:
- the instance of the Entry
-
selectEntryListByFilter
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- Parameters:
filter- the filterplugin- the plugin- Returns:
- the list of entry
-
selectNumberEntryByFilter
int selectNumberEntryByFilter(EntryFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return the number of entry who verify the filter- Parameters:
filter- the filterplugin- the plugin- Returns:
- the number of entry who verify the filter
-
-