Package org.cyclos.entities.users
Class UserProductNotification
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.BaseEntity
-
- org.cyclos.entities.users.AbstractProductNotification
-
- org.cyclos.entities.users.UserProductNotification
-
- All Implemented Interfaces:
Cloneable,HasNetwork,ProcessableForProxying,IEntity
@Entity public class UserProductNotification extends AbstractProductNotification
Allowed user notification preferences.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description UserProductNotification()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserNotificationTypegetType()booleanisAllowApp()booleanisAllowMail()booleanisAllowSms()booleanisDefaultApp()booleanisEnabled()voidsetAllowApp(boolean allowApp)voidsetAllowMail(boolean allowMail)voidsetAllowSms(boolean allowSms)voidsetDefaultApp(boolean defaultApp)voidsetEnabled(boolean enabled)voidsetType(UserNotificationType notificationType)StringtoString()-
Methods inherited from class org.cyclos.entities.users.AbstractProductNotification
getNetwork, getProduct, isDefaultMail, isDefaultSms, setDefaultMail, setDefaultSms, setProduct
-
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, 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
-
getType
public UserNotificationType getType()
-
isAllowApp
public boolean isAllowApp()
-
isAllowMail
public boolean isAllowMail()
-
isAllowSms
public boolean isAllowSms()
-
isDefaultApp
public boolean isDefaultApp()
-
isEnabled
public boolean isEnabled()
-
setAllowApp
public void setAllowApp(boolean allowApp)
-
setAllowMail
public void setAllowMail(boolean allowMail)
-
setAllowSms
public void setAllowSms(boolean allowSms)
-
setDefaultApp
public void setDefaultApp(boolean defaultApp)
-
setEnabled
public void setEnabled(boolean enabled)
-
setType
public void setType(UserNotificationType notificationType)
-
toString
public String toString()
- Overrides:
toStringin classSimpleEntity
-
-