com.silverpeas.notification.delayed.model
Class DelayedNotificationData

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

@Entity
public class DelayedNotificationData
extends Object
implements Serializable

Author:
Yohann Chastagnier
See Also:
Serialized Form

Constructor Summary
DelayedNotificationData()
          Simple constructor
 
Method Summary
 void beforePersist()
           
 NotifAction getAction()
           
 NotifChannel getChannel()
           
 Date getCreationDate()
           
 DelayedNotificationUserSetting getDelayedNotificationUserSetting()
           
 Integer getFromUserId()
           
 Long getId()
           
 String getLanguage()
           
 String getMessage()
           
 NotificationData getNotificationData()
           
 NotificationParameters getNotificationParameters()
           
 NotificationResourceData getResource()
           
 Integer getUserId()
           
 boolean isSendImmediately()
           
 boolean isValid()
          Checks the data integrity
 void setAction(NotifAction action)
           
 void setChannel(NotifChannel channel)
           
 void setCreationDate(Date creationDate)
           
 void setDelayedNotificationUserSetting(DelayedNotificationUserSetting delayedNotificationUserSetting)
           
 void setFromUserId(Integer fromUserId)
           
 void setId(Long id)
           
 void setLanguage(String language)
           
 void setMessage(String message)
           
 void setNotificationData(NotificationData notificationData)
           
 void setNotificationParameters(NotificationParameters notificationParameters)
           
 void setResource(NotificationResourceData resource)
           
 void setSendImmediately(boolean sendImmediately)
           
 void setUserId(Integer userId)
           
 void setUserId(String userId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelayedNotificationData

public DelayedNotificationData()
Simple constructor

Method Detail

isValid

public boolean isValid()
Checks the data integrity

Returns:

beforePersist

public void beforePersist()

getId

public Long getId()

setId

public void setId(Long id)

getUserId

public Integer getUserId()

setUserId

public void setUserId(Integer userId)

setUserId

public void setUserId(String userId)

getFromUserId

public Integer getFromUserId()

setFromUserId

public void setFromUserId(Integer fromUserId)

getChannel

public NotifChannel getChannel()

setChannel

public void setChannel(NotifChannel channel)

getAction

public NotifAction getAction()

setAction

public void setAction(NotifAction action)

getCreationDate

public Date getCreationDate()

setCreationDate

public void setCreationDate(Date creationDate)

getLanguage

public String getLanguage()

setLanguage

public void setLanguage(String language)

getMessage

public String getMessage()

setMessage

public void setMessage(String message)

getResource

public NotificationResourceData getResource()

setResource

public void setResource(NotificationResourceData resource)

getDelayedNotificationUserSetting

public DelayedNotificationUserSetting getDelayedNotificationUserSetting()

setDelayedNotificationUserSetting

public void setDelayedNotificationUserSetting(DelayedNotificationUserSetting delayedNotificationUserSetting)

isSendImmediately

public boolean isSendImmediately()

setSendImmediately

public void setSendImmediately(boolean sendImmediately)

getNotificationData

public NotificationData getNotificationData()

setNotificationData

public void setNotificationData(NotificationData notificationData)

getNotificationParameters

public NotificationParameters getNotificationParameters()

setNotificationParameters

public void setNotificationParameters(NotificationParameters notificationParameters)


Copyright © 2016 Silverpeas. All Rights Reserved.