fr.paris.lutece.plugins.workflow.modules.notifymylutece.service.notification
Class NotificationTypeService

java.lang.Object
  extended by fr.paris.lutece.plugins.workflow.modules.notifymylutece.service.notification.NotificationTypeService
All Implemented Interfaces:
INotificationTypeService

public class NotificationTypeService
extends java.lang.Object
implements INotificationTypeService

NotificationTypeService


Field Summary
static java.lang.String BEAN_SERVICE
           
 
Constructor Summary
NotificationTypeService()
           
 
Method Summary
 void create(int nIdTask, int nIdNotificationType)
          Create an association notification type - task
 java.util.List<java.lang.Integer> find(int nIdTask)
          Find the list of id notification type for a task
 void remove(int nIdTask)
          Remove the associations notification type - task
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BEAN_SERVICE

public static final java.lang.String BEAN_SERVICE
See Also:
Constant Field Values
Constructor Detail

NotificationTypeService

public NotificationTypeService()
Method Detail

find

public java.util.List<java.lang.Integer> find(int nIdTask)
Find the list of id notification type for a task

Specified by:
find in interface INotificationTypeService
Parameters:
nIdTask - the id task
Returns:
the list of id notification type

create

@Transactional(value="workflow-notifymylutece.transactionManager")
public void create(int nIdTask,
                                 int nIdNotificationType)
Create an association notification type - task

Specified by:
create in interface INotificationTypeService
Parameters:
nIdTask - the id task
nIdNotificationType - the id notification type

remove

@Transactional(value="workflow-notifymylutece.transactionManager")
public void remove(int nIdTask)
Remove the associations notification type - task

Specified by:
remove in interface INotificationTypeService
Parameters:
nIdTask - the id task


Copyright © 2012 Mairie de Paris. All Rights Reserved.