Package org.cyclos.entities.messaging
Class Notification
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.messaging.Notification
-
- All Implemented Interfaces:
Cloneable,HasNetwork,ProcessableForProxying,IEntity
- Direct Known Subclasses:
AdminNotification,UserNotification
@Entity public abstract class Notification extends NetworkedEntity
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description Notification()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description DategetDate()LonggetEntityId()StringgetFcmConfiguration()StringgetHtmlText()LocationgetLocation()StringgetMailSubject()NetworkgetNetwork()Returns the network this entity belongs toBasicUsergetRelatedUser()StringgetSms()abstract INotificationTypegetType()BasicUsergetUser()booleanisRead()booleanisSkipEmail()booleanisSkipSms()voidsetDate(Date date)voidsetEntityId(Long entityId)voidsetFcmConfiguration(String fcmConfiguration)voidsetHtmlText(String htmlText)voidsetLocation(Location location)voidsetMailSubject(String mailSubject)voidsetRead(boolean read)voidsetRelatedUser(BasicUser relatedUser)voidsetSkipEmail(boolean skipEmail)voidsetSkipSms(boolean skipSms)voidsetSms(String sms)voidsetUser(BasicUser user)-
Methods inherited from class org.cyclos.entities.NetworkedEntity
isGlobal
-
Methods inherited from class org.cyclos.entities.SimpleEntity
equals, getId, hashCode, id, ids, isPersistent, isTransient, register, setId, toShortString, toString, uniqueIds, uniqueIds
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.entities.ProcessableForProxying
getProxyClass
-
-
-
-
Method Detail
-
getDate
public Date getDate()
-
getEntityId
public Long getEntityId()
-
getFcmConfiguration
public String getFcmConfiguration()
-
getHtmlText
public String getHtmlText()
-
getLocation
public Location getLocation()
-
getMailSubject
public String getMailSubject()
-
getNetwork
public Network getNetwork()
Description copied from interface:HasNetworkReturns the network this entity belongs to
-
getRelatedUser
public BasicUser getRelatedUser()
-
getSms
public String getSms()
-
getType
public abstract INotificationType getType()
-
getUser
public BasicUser getUser()
-
isRead
public boolean isRead()
-
isSkipEmail
public boolean isSkipEmail()
-
isSkipSms
public boolean isSkipSms()
-
setDate
public void setDate(Date date)
-
setEntityId
public void setEntityId(Long entityId)
-
setFcmConfiguration
public void setFcmConfiguration(String fcmConfiguration)
-
setHtmlText
public void setHtmlText(String htmlText)
-
setLocation
public void setLocation(Location location)
-
setMailSubject
public void setMailSubject(String mailSubject)
-
setRead
public void setRead(boolean read)
-
setRelatedUser
public void setRelatedUser(BasicUser relatedUser)
-
setSkipEmail
public void setSkipEmail(boolean skipEmail)
-
setSkipSms
public void setSkipSms(boolean skipSms)
-
setSms
public void setSms(String sms)
-
setUser
public void setUser(BasicUser user)
-
-