|
||||||||||
| 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 |
List<Notification> |
selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find all notification |
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 INotificationDAOplugin - The Plugin
public int insert(Notification notification,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface INotificationDAOnotification - 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 INotificationDAOnIdNotification - The identifier of the notificationplugin - the Plugin
public void store(Notification notification,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface INotificationDAOnotification - the reference of the Notificationplugin - the Plugin
public void delete(int nIdNotification,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface INotificationDAOnIdNotification - int identifier of the notification to deleteplugin - the Plugin
public void deleteByIdDemand(int nIdDemand,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteByIdDemand in interface INotificationDAOnIdDemand - the id demandplugin - the Pluginpublic List<Notification> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectAll in interface INotificationDAOplugin - Plugin
Notification
public List<Notification> selectNotificationsByFilter(NotificationFilter nFilter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectNotificationsByFilter in interface INotificationDAOnFilter - the filterplugin - Plugin
Notification
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||