com.silverpeas.notification.delayed.model
Class DelayedNotificationUserSetting

java.lang.Object
  extended by com.silverpeas.notification.delayed.model.DelayedNotificationUserSetting
All Implemented Interfaces:
Serializable

@Entity
public class DelayedNotificationUserSetting
extends Object
implements Serializable

Author:
Yohann Chastagnier
See Also:
Serialized Form

Constructor Summary
DelayedNotificationUserSetting()
          Simple constructor
DelayedNotificationUserSetting(int userId, NotifChannel channelId, DelayedNotificationFrequency frequency)
          Default constructor
 
Method Summary
 NotifChannel getChannel()
           
 List<DelayedNotificationData> getDelayedNotifications()
           
 DelayedNotificationFrequency getFrequency()
           
 Integer getId()
           
 Integer getUserId()
           
 void setChannel(NotifChannel channelId)
           
 void setDelayedNotifications(List<DelayedNotificationData> delayedNotifications)
           
 void setFrequency(DelayedNotificationFrequency frequency)
           
 void setId(Integer id)
           
 void setUserId(Integer userId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelayedNotificationUserSetting

public DelayedNotificationUserSetting()
Simple constructor


DelayedNotificationUserSetting

public DelayedNotificationUserSetting(int userId,
                                      NotifChannel channelId,
                                      DelayedNotificationFrequency frequency)
Default constructor

Parameters:
userId -
channelId -
frequency -
Method Detail

getId

public Integer getId()

setId

public void setId(Integer id)

getUserId

public Integer getUserId()

setUserId

public void setUserId(Integer userId)

getChannel

public NotifChannel getChannel()

setChannel

public void setChannel(NotifChannel channelId)

getFrequency

public DelayedNotificationFrequency getFrequency()

setFrequency

public void setFrequency(DelayedNotificationFrequency frequency)

getDelayedNotifications

public List<DelayedNotificationData> getDelayedNotifications()

setDelayedNotifications

public void setDelayedNotifications(List<DelayedNotificationData> delayedNotifications)


Copyright © 2016 Silverpeas. All Rights Reserved.