public final class FeedbackTypeDAO extends Object implements IFeedbackTypeDAO
| Constructor and Description |
|---|
FeedbackTypeDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nFeedbackTypeId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
Optional<FeedbackType> |
findByOrder(int nOrder,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
FeedbackType |
insert(FeedbackType feedbackType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Optional<FeedbackType> |
load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
List<FeedbackType> |
selectFeedbackTypesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the feedbackType objects and returns them as a List
|
void |
store(FeedbackType feedbackType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public FeedbackType insert(FeedbackType feedbackType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IFeedbackTypeDAOfeedbackType - instance of the FeedbackType object to inssertplugin - the Pluginpublic Optional<FeedbackType> load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IFeedbackTypeDAOplugin - the Pluginpublic void delete(int nFeedbackTypeId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IFeedbackTypeDAOnFeedbackTypeId - int identifier of the FeedbackType to deleteplugin - the Pluginpublic void store(FeedbackType feedbackType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IFeedbackTypeDAOfeedbackType - the reference of the FeedbackTypeplugin - the Pluginpublic List<FeedbackType> selectFeedbackTypesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectFeedbackTypesList in interface IFeedbackTypeDAOplugin - the Pluginpublic Optional<FeedbackType> findByOrder(int nOrder, fr.paris.lutece.portal.service.plugin.Plugin plugin)
findByOrder in interface IFeedbackTypeDAOnOrder - The nOrderplugin - the PluginCopyright © 2022 City of Paris. All rights reserved.