public class ReportedMessageDAO extends Object implements IReportedMessageDAO
Constructor and Description |
---|
ReportedMessageDAO() |
Modifier and Type | Method and Description |
---|---|
void |
deleteByDiggSubmit(int nIdDiggSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete the reportedMessage whose identifier is specified in parameter
|
void |
insert(ReportedMessage reportedMessage,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new reportedMessage in the table.
|
ReportedMessage |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the ReportedMessage from the table
|
List<ReportedMessage> |
selectListByDiggSubmit(int nIdDiggSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the reportedMessage who is associated to the nIdDiggSubmit
|
public void insert(ReportedMessage reportedMessage, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert
in interface IReportedMessageDAO
reportedMessage
- The instance of the reported Message which contains the informations to storetplugin
- the pluginpublic ReportedMessage load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load
in interface IReportedMessageDAO
nKey
- The identifier of the report Messageplugin
- the pluginpublic void deleteByDiggSubmit(int nIdDiggSubmit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteByDiggSubmit
in interface IReportedMessageDAO
nIdDiggSubmit
- The nIdDiggSubmitplugin
- the Pluginpublic List<ReportedMessage> selectListByDiggSubmit(int nIdDiggSubmit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectListByDiggSubmit
in interface IReportedMessageDAO
nIdDiggSubmit
- the nIdDiggSubmitplugin
- the pluginCopyright © 2016 Mairie de Paris. All Rights Reserved.