Class EntrySelectOptionDAO
- java.lang.Object
-
- fr.paris.lutece.plugins.quicklinks.business.EntrySelectOptionDAO
-
- All Implemented Interfaces:
IEntrySelectOptionDAO
public class EntrySelectOptionDAO extends java.lang.Object implements IEntrySelectOptionDAO
Class EntrySelectDAO
-
-
Constructor Summary
Constructors Constructor Description EntrySelectOptionDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(int nId, int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete theEntrySelectOptionwhose identifier is specified in parameterEntrySelectOptioninsert(EntrySelectOption entrySelectOption, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert theEntrySelectOptionEntrySelectOptionload(int nId, int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of theEntrySelectOptionfrom the tableintnewPrimaryKey(int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)Calculate a new primary key to add a newEntryjava.util.Collection<EntrySelectOption>select(fr.paris.lutece.portal.service.plugin.Plugin plugin)Get a complete list ofEntrySelectOptionjava.util.Collection<EntrySelectOption>selectByEntry(int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)Get a list ofEntrySelectOptionspecified by entry idvoidstore(EntrySelectOption entrySelectOption, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update theEntrySelectOption
-
-
-
Method Detail
-
newPrimaryKey
public int newPrimaryKey(int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)Calculate a new primary key to add a newEntry- Parameters:
nIdEntry- identryplugin- ThePluginusing this data access service- Returns:
- The new key.
-
load
public EntrySelectOption load(int nId, int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of theEntrySelectOptionfrom the table- Specified by:
loadin interfaceIEntrySelectOptionDAO- Parameters:
nId- The identifier of the entry select optionnIdEntry- The identifier of theEntryplugin- the plugin- Returns:
- the instance of the
EntrySelectOption
-
delete
public void delete(int nId, int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete theEntrySelectOptionwhose identifier is specified in parameter- Specified by:
deletein interfaceIEntrySelectOptionDAO- Parameters:
nId- The identifier of theEntrySelectOptionnIdEntry- The identifier of theEntryplugin- ThePlugin
-
insert
public EntrySelectOption insert(EntrySelectOption entrySelectOption, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert theEntrySelectOption- Specified by:
insertin interfaceIEntrySelectOptionDAO- Parameters:
entrySelectOption- TheEntrySelectOptionto insertplugin- ThePlugin- Returns:
- The
EntrySelectOption
-
store
public void store(EntrySelectOption entrySelectOption, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update theEntrySelectOption- Specified by:
storein interfaceIEntrySelectOptionDAO- Parameters:
entrySelectOption- TheEntrySelectOptionobjectplugin- ThePlugin
-
select
public java.util.Collection<EntrySelectOption> select(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get a complete list ofEntrySelectOption- Specified by:
selectin interfaceIEntrySelectOptionDAO- Parameters:
plugin- ThePlugin- Returns:
- A
CollectionofEntrySelectOption
-
selectByEntry
public java.util.Collection<EntrySelectOption> selectByEntry(int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get a list ofEntrySelectOptionspecified by entry id- Specified by:
selectByEntryin interfaceIEntrySelectOptionDAO- Parameters:
nIdEntry- The entry idplugin- ThePlugin- Returns:
- A
CollectionofEntrySelectOption
-
-