Class DelayedNotificationUserSetting
- java.lang.Object
-
- org.silverpeas.core.persistence.datasource.model.jpa.AbstractJpaEntity<E,I>
-
- org.silverpeas.core.persistence.datasource.model.jpa.BasicJpaEntity<DelayedNotificationUserSetting,UniqueIntegerIdentifier>
-
- org.silverpeas.core.notification.user.delayed.model.DelayedNotificationUserSetting
-
- All Implemented Interfaces:
Serializable
,IdentifiableEntity
@Entity public class DelayedNotificationUserSetting extends BasicJpaEntity<DelayedNotificationUserSetting,UniqueIntegerIdentifier> implements Serializable
The user settings about the delayed notifications. They are about the frequency at which the delayed notifications have to be sent to the user as well as the notification channel to use.- Author:
- Yohann Chastagnier
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DelayedNotificationUserSetting()
Simple constructorDelayedNotificationUserSetting(int userId, NotifChannel channelId, DelayedNotificationFrequency frequency)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NotifChannel
getChannel()
DelayedNotificationFrequency
getFrequency()
Integer
getUserId()
void
setChannel(NotifChannel channelId)
void
setFrequency(DelayedNotificationFrequency frequency)
void
setUserId(Integer userId)
-
Methods inherited from class org.silverpeas.core.persistence.datasource.model.jpa.BasicJpaEntity
performBeforePersist, performBeforeRemove, performBeforeUpdate
-
Methods inherited from class org.silverpeas.core.persistence.datasource.model.jpa.AbstractJpaEntity
equals, getId, getNativeId, hashCode, isPersisted, setId
-
-
-
-
Constructor Detail
-
DelayedNotificationUserSetting
public DelayedNotificationUserSetting()
Simple constructor
-
DelayedNotificationUserSetting
public DelayedNotificationUserSetting(int userId, NotifChannel channelId, DelayedNotificationFrequency frequency)
-
-
Method Detail
-
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)
-
-