fr.paris.lutece.plugins.quicklinks.business
Interface IEntrySelectOptionDAO

All Known Implementing Classes:
EntrySelectOptionDAO

public interface IEntrySelectOptionDAO

Interface IEntrySelectOptionDAO


Method Summary
 void delete(int nId, int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete the EntrySelectOption whose identifier is specified in parameter
 EntrySelectOption insert(EntrySelectOption option, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert the EntrySelectOption
 EntrySelectOption load(int nId, int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data of the EntrySelectOption from the table
 java.util.Collection<EntrySelectOption> select(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data of all entry type returns them in a list
 java.util.Collection<EntrySelectOption> selectByEntry(int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the option list for an entrySelect
 void store(EntrySelectOption option, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update the EntrySelectOption
 

Method Detail

insert

EntrySelectOption insert(EntrySelectOption option,
                         fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert the EntrySelectOption

Parameters:
option - The EntrySelectOption to insert
plugin - The Plugin
Returns:
The EntrySelectOption

delete

void delete(int nId,
            int nIdEntry,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete the EntrySelectOption whose identifier is specified in parameter

Parameters:
nId - The identifier of the EntrySelectOption
nIdEntry - The Entry identifier
plugin - The Plugin

store

void store(EntrySelectOption option,
           fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the EntrySelectOption

Parameters:
option - The EntrySelectOption object
plugin - The Plugin

load

EntrySelectOption load(int nId,
                       int nIdEntry,
                       fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the EntrySelectOption from the table

Parameters:
nId - The identifier of the entry select option
nIdEntry - The Entry identifier
plugin - the plugin
Returns:
the instance of the EntrySelectOption

select

java.util.Collection<EntrySelectOption> select(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all entry type returns them in a list

Parameters:
plugin - the plugin
Returns:
the Collection of entry type

selectByEntry

java.util.Collection<EntrySelectOption> selectByEntry(int nIdEntry,
                                                      fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the option list for an entrySelect

Parameters:
nIdEntry - The entry Id
plugin - the plugin
Returns:
the Collection of EntrySelectOption


Copyright © 2009 Mairie de Paris. All Rights Reserved.