Package org.cyclos.entities.messaging
Class NotificationTypeSettings
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.BaseEntity
-
- org.cyclos.entities.messaging.NotificationTypeSettings
-
- All Implemented Interfaces:
Cloneable,HasNetwork,ProcessableForProxying,IEntity,INotificationTypeSettings
- Direct Known Subclasses:
AdminNotificationTypeSettings,UserNotificationTypeSettings
@Entity public abstract class NotificationTypeSettings extends BaseEntity implements INotificationTypeSettings
Notification preference by type associated to users and admins
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description NotificationTypeSettings()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description NetworkgetNetwork()Returns the network this entity belongs toabstract NotificationSettingsgetNotificationSettings()BooleangetNotifyByEmail()BooleangetNotifyByInternal()BooleangetNotifyBySms()abstract INotificationTypegetType()voidsetNotifyByEmail(Boolean notifyByEmail)voidsetNotifyByInternal(Boolean notifyByInternal)voidsetNotifyBySms(Boolean notifyBySms)-
Methods inherited from class org.cyclos.entities.BaseEntity
getDataTranslationType, getVersion
-
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
-
getNetwork
public Network getNetwork()
Description copied from interface:HasNetworkReturns the network this entity belongs to- Specified by:
getNetworkin interfaceHasNetwork
-
getNotificationSettings
public abstract NotificationSettings getNotificationSettings()
-
getNotifyByEmail
public Boolean getNotifyByEmail()
- Specified by:
getNotifyByEmailin interfaceINotificationTypeSettings
-
getNotifyByInternal
public Boolean getNotifyByInternal()
- Specified by:
getNotifyByInternalin interfaceINotificationTypeSettings
-
getNotifyBySms
public Boolean getNotifyBySms()
- Specified by:
getNotifyBySmsin interfaceINotificationTypeSettings
-
getType
public abstract INotificationType getType()
-
setNotifyByEmail
public void setNotifyByEmail(Boolean notifyByEmail)
- Specified by:
setNotifyByEmailin interfaceINotificationTypeSettings
-
setNotifyByInternal
public void setNotifyByInternal(Boolean notifyByInternal)
- Specified by:
setNotifyByInternalin interfaceINotificationTypeSettings
-
setNotifyBySms
public void setNotifyBySms(Boolean notifyBySms)
- Specified by:
setNotifyBySmsin interfaceINotificationTypeSettings
-
-