Interface IEntrySelectOptionDAO
- All Known Implementing Classes:
EntrySelectOptionDAO
public interface IEntrySelectOptionDAO
Interface IEntrySelectOptionDAO
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nId, int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete theEntrySelectOptionwhose identifier is specified in parameterinsert(EntrySelectOption option, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert theEntrySelectOptionload(int nId, int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of theEntrySelectOptionfrom the tableselect(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all entry type returns them in a listselectByEntry(int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the option list for an entrySelectvoidstore(EntrySelectOption option, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update theEntrySelectOption
-
Method Details
-
insert
EntrySelectOption insert(EntrySelectOption option, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert theEntrySelectOption- Parameters:
option- TheEntrySelectOptionto insertplugin- ThePlugin- Returns:
- The
EntrySelectOption
-
delete
void delete(int nId, int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete theEntrySelectOptionwhose identifier is specified in parameter- Parameters:
nId- The identifier of theEntrySelectOptionnIdEntry- The Entry identifierplugin- ThePlugin
-
store
Update theEntrySelectOption- Parameters:
option- TheEntrySelectOptionobjectplugin- ThePlugin
-
load
Load the data of theEntrySelectOptionfrom the table- Parameters:
nId- The identifier of the entry select optionnIdEntry- The Entry identifierplugin- the plugin- Returns:
- the instance of the
EntrySelectOption
-
select
Load the data of all entry type returns them in a list- Parameters:
plugin- the plugin- Returns:
- the
Collectionof entry type
-
selectByEntry
Collection<EntrySelectOption> selectByEntry(int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the option list for an entrySelect- Parameters:
nIdEntry- The entry Idplugin- the plugin- Returns:
- the
CollectionofEntrySelectOption
-