Interface ITemporaryCodeConfigDAO
-
- All Known Implementing Classes:
TemporaryCodeConfigDAO
public interface ITemporaryCodeConfigDAOITemporaryCodeConfigDAO Interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclearDefaultFlag(fr.paris.lutece.portal.service.plugin.Plugin plugin)Clear default flagvoiddelete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the tablevoidinsert(TemporaryCodeConfig temporaryCodeConfig, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.java.util.Optional<TemporaryCodeConfig>load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tablejava.util.Optional<TemporaryCodeConfig>loadDefaultConfig(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load a dafult temporary code configjava.util.List<java.lang.Integer>selectIdTemporaryCodeConfigsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the id of all the temporaryCodeConfig objects and returns them as a listjava.util.List<TemporaryCodeConfig>selectTemporaryCodeConfigsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the temporaryCodeConfig objects and returns them as a listjava.util.List<TemporaryCodeConfig>selectTemporaryCodeConfigsListByIds(fr.paris.lutece.portal.service.plugin.Plugin _plugin, java.util.List<java.lang.Integer> listIds)Load the data of all the avant objects and returns them as a listfr.paris.lutece.util.ReferenceListselectTemporaryCodeConfigsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the temporaryCodeConfig objects and returns them as a referenceListvoidstore(TemporaryCodeConfig temporaryCodeConfig, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the record in the table
-
-
-
Method Detail
-
insert
void insert(TemporaryCodeConfig temporaryCodeConfig, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.- Parameters:
temporaryCodeConfig- instance of the TemporaryCodeConfig object to insertplugin- the Plugin
-
store
void store(TemporaryCodeConfig temporaryCodeConfig, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table- Parameters:
temporaryCodeConfig- the reference of the TemporaryCodeConfigplugin- 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 TemporaryCodeConfig to deleteplugin- the Plugin
-
clearDefaultFlag
void clearDefaultFlag(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Clear default flag- Parameters:
plugin-
-
load
java.util.Optional<TemporaryCodeConfig> load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table- Parameters:
nKey- The identifier of the temporaryCodeConfigplugin- the Plugin- Returns:
- The instance of the temporaryCodeConfig
-
loadDefaultConfig
java.util.Optional<TemporaryCodeConfig> loadDefaultConfig(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load a dafult temporary code config- Parameters:
plugin-- Returns:
- The instance of the default temporary code config
-
selectTemporaryCodeConfigsList
java.util.List<TemporaryCodeConfig> selectTemporaryCodeConfigsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the temporaryCodeConfig objects and returns them as a list- Parameters:
plugin- the Plugin- Returns:
- The list which contains the data of all the temporaryCodeConfig objects
-
selectIdTemporaryCodeConfigsList
java.util.List<java.lang.Integer> selectIdTemporaryCodeConfigsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the temporaryCodeConfig objects and returns them as a list- Parameters:
plugin- the Plugin- Returns:
- The list which contains the id of all the temporaryCodeConfig objects
-
selectTemporaryCodeConfigsReferenceList
fr.paris.lutece.util.ReferenceList selectTemporaryCodeConfigsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the temporaryCodeConfig objects and returns them as a referenceList- Parameters:
plugin- the Plugin- Returns:
- The referenceList which contains the data of all the temporaryCodeConfig objects
-
selectTemporaryCodeConfigsListByIds
java.util.List<TemporaryCodeConfig> selectTemporaryCodeConfigsListByIds(fr.paris.lutece.portal.service.plugin.Plugin _plugin, java.util.List<java.lang.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
-
-