Interface IOptionsDAO
-
- All Known Implementing Classes:
OptionsDAO
public interface IOptionsDAOIOptionsDAO 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(Options options, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.Optionsload(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tableOptionsloadOptionByFieldName(java.lang.String fieldName, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tablejava.util.Collection<java.lang.Integer>selectIdOptionssList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the id of all the options objects and returns them as a collectionjava.util.Collection<Options>selectOptionssList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the options objects and returns them as a collectionvoidstore(Options options, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the record in the table
-
-
-
Method Detail
-
insert
void insert(Options options, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.- Parameters:
options- instance of the Options object to insertplugin- the Plugin
-
store
void store(Options options, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table- Parameters:
options- the reference of the Optionsplugin- 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 Options to deleteplugin- the Plugin
-
load
Options load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table- Parameters:
nKey- The identifier of the optionsplugin- the Plugin- Returns:
- The instance of the options
-
loadOptionByFieldName
Options loadOptionByFieldName(java.lang.String fieldName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table- Parameters:
fieldName- The identifier of the optionsplugin- the Plugin- Returns:
- The instance of the options
-
selectOptionssList
java.util.Collection<Options> selectOptionssList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the options objects and returns them as a collection- Parameters:
plugin- the Plugin- Returns:
- The collection which contains the data of all the options objects
-
selectIdOptionssList
java.util.Collection<java.lang.Integer> selectIdOptionssList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the options objects and returns them as a collection- Parameters:
plugin- the Plugin- Returns:
- The collection which contains the id of all the options objects
-
-