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 nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the tablevoidinsert(Entry entry, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.Optional<Entry>load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tableOptional<Entry>loadLastVersion(fr.paris.lutece.portal.service.plugin.Plugin _plugin)Load the data from the tableList<Entry>selectEntrysList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the entry objects and returns them as a listList<Entry>selectEntrysListByIds(fr.paris.lutece.portal.service.plugin.Plugin _plugin, List<Integer> listIds)Load the data of all the avant objects and returns them as a listfr.paris.lutece.util.ReferenceListselectEntrysReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the entry objects and returns them as a referenceListList<Integer>selectIdEntrysList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the id of all the entry objects and returns them as a listvoidstore(Entry entry, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the record in the table
-
-
-
Method Detail
-
insert
void insert(Entry 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
-
store
void store(Entry entry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table- Parameters:
entry- the reference of the Entryplugin- the Plugin
-
delete
void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the table- Parameters:
nKey- The identifier of the Entry to deleteplugin- the Plugin
-
load
Optional<Entry> load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table- Parameters:
nKey- The identifier of the entryplugin- the Plugin- Returns:
- The instance of the entry
-
selectEntrysList
List<Entry> selectEntrysList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the entry objects and returns them as a list- Parameters:
plugin- the Plugin- Returns:
- The list which contains the data of all the entry objects
-
selectIdEntrysList
List<Integer> selectIdEntrysList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the entry objects and returns them as a list- Parameters:
plugin- the Plugin- Returns:
- The list which contains the id of all the entry objects
-
selectEntrysReferenceList
fr.paris.lutece.util.ReferenceList selectEntrysReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the entry objects and returns them as a referenceList- Parameters:
plugin- the Plugin- Returns:
- The referenceList which contains the data of all the entry objects
-
selectEntrysListByIds
List<Entry> selectEntrysListByIds(fr.paris.lutece.portal.service.plugin.Plugin _plugin, List<Integer> listIds)
Load the data of all the avant objects and returns them as a list- Parameters:
plugin- the PluginlistIds- liste of ids- Returns:
- The list which contains the data of all the avant objects
-
-