fr.paris.lutece.plugins.workflow.modules.notifymylutece.business.notification
Class NotificationTypeDAO

java.lang.Object
  extended by fr.paris.lutece.plugins.workflow.modules.notifymylutece.business.notification.NotificationTypeDAO
All Implemented Interfaces:
INotificationTypeDAO

public class NotificationTypeDAO
extends java.lang.Object
implements INotificationTypeDAO

NotificationTypeDAO


Constructor Summary
NotificationTypeDAO()
           
 
Method Summary
 void delete(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete the associations notification type - task
 void insert(int nIdTask, int nIdNotificationType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert an association notification type - task
 java.util.List<java.lang.Integer> load(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the list of notification type associated to the task
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotificationTypeDAO

public NotificationTypeDAO()
Method Detail

load

public java.util.List<java.lang.Integer> load(int nIdTask,
                                              fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of notification type associated to the task

Specified by:
load in interface INotificationTypeDAO
Parameters:
nIdTask - the id task
plugin - the Plugin
Returns:
a list of id notification type

insert

public void insert(int nIdTask,
                   int nIdNotificationType,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert an association notification type - task

Specified by:
insert in interface INotificationTypeDAO
Parameters:
nIdTask - the id task
nIdNotificationType - the id notification type
plugin - the Plugin

delete

public void delete(int nIdTask,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete the associations notification type - task

Specified by:
delete in interface INotificationTypeDAO
Parameters:
nIdTask - the id task
plugin - the Plugin


Copyright © 2012 Mairie de Paris. All Rights Reserved.