|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.crm.business.notification.NotificationDAO
public class NotificationDAO
NotificationDAO
Constructor Summary | |
---|---|
NotificationDAO()
|
Method Summary | |
---|---|
void |
delete(int nIdNotification,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table |
void |
deleteByIdDemand(int nIdDemand,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete all record from a given id demand |
int |
insert(Notification notification,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table. |
Notification |
load(int nIdNotification,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table |
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key |
java.util.List<Notification> |
selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find all notification |
java.util.List<Notification> |
selectNotificationsByFilter(NotificationFilter nFilter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find by filter |
void |
store(Notification notification,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NotificationDAO()
Method Detail |
---|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
newPrimaryKey
in interface INotificationDAO
plugin
- The Plugin
public int insert(Notification notification, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert
in interface INotificationDAO
notification
- instance of the Notification object to insertplugin
- the Plugin
public Notification load(int nIdNotification, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load
in interface INotificationDAO
nIdNotification
- The identifier of the notificationplugin
- the Plugin
public void store(Notification notification, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store
in interface INotificationDAO
notification
- the reference of the Notificationplugin
- the Pluginpublic void delete(int nIdNotification, fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete
in interface INotificationDAO
nIdNotification
- int identifier of the notification to deleteplugin
- the Pluginpublic void deleteByIdDemand(int nIdDemand, fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteByIdDemand
in interface INotificationDAO
nIdDemand
- the id demandplugin
- the Pluginpublic java.util.List<Notification> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectAll
in interface INotificationDAO
plugin
- Plugin
Notification
public java.util.List<Notification> selectNotificationsByFilter(NotificationFilter nFilter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectNotificationsByFilter
in interface INotificationDAO
nFilter
- the filterplugin
- Plugin
Notification
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |