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

java.lang.Object
  extended by fr.paris.lutece.plugins.workflow.modules.notifymylutece.business.notification.NotificationTypeFactory

public final class NotificationTypeFactory
extends java.lang.Object

NotificationTypeFactory


Method Summary
static NotificationTypeFactory getFactory()
          Get the factory
 INotificationType getNotificationType(int nIdNotificationType)
          Get the notification type given an id
 java.util.Map<java.lang.String,INotificationType> getNotificationTypes()
          Get the notification types
 void setNotificationTypes(java.util.Map<java.lang.String,INotificationType> mapNotificationTypes)
          Set the notification types
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getFactory

public static NotificationTypeFactory getFactory()
Get the factory

Returns:
the factory

setNotificationTypes

public void setNotificationTypes(java.util.Map<java.lang.String,INotificationType> mapNotificationTypes)
Set the notification types

Parameters:
mapNotificationTypes - a list of INotificationType

getNotificationTypes

public java.util.Map<java.lang.String,INotificationType> getNotificationTypes()
Get the notification types

Returns:
a map of (id_notifiaction_type, INotificationType

getNotificationType

public INotificationType getNotificationType(int nIdNotificationType)
Get the notification type given an id

Parameters:
nIdNotificationType - the id notification type
Returns:
a INotificationType


Copyright © 2012 Mairie de Paris. All Rights Reserved.