Interface IFeedbackTypeDAO
-
- All Known Implementing Classes:
FeedbackTypeDAO
public interface IFeedbackTypeDAOIFeedbackTypeDAO Interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(int nIdFeedbackType, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the tablejava.util.Optional<FeedbackType>findByOrder(int nOrder, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tableFeedbackTypeinsert(FeedbackType feedbackType, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.java.util.Optional<FeedbackType>load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tablejava.util.List<FeedbackType>selectFeedbackTypesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the feedbackType objects and returns them as a Listvoidstore(FeedbackType feedbackType, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the record in the table
-
-
-
Method Detail
-
insert
FeedbackType insert(FeedbackType feedbackType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.- Parameters:
feedbackType- instance of the FeedbackType object to inssertplugin- the Plugin
-
store
void store(FeedbackType feedbackType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table- Parameters:
feedbackType- the reference of the FeedbackTypeplugin- the Plugin
-
delete
void delete(int nIdFeedbackType, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the table- Parameters:
nIdFeedbackType- int identifier of the FeedbackType to deleteplugin- the Plugin
-
load
java.util.Optional<FeedbackType> load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table- Parameters:
strId- The identifier of the feedbackTypeplugin- the Plugin- Returns:
- The instance of the feedbackType
-
findByOrder
java.util.Optional<FeedbackType> findByOrder(int nOrder, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table- Parameters:
nOrder- The nOrderplugin- the Plugin- Returns:
- The instance of the feedbackType
-
selectFeedbackTypesList
java.util.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- Parameters:
plugin- the Plugin- Returns:
- The List which contains the data of all the feedbackType objects
-
-