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,ProcessableForDataTranslation,IEntity
@Entity public class UserProductNotification extends AbstractProductNotification
Allowed user notification preferences.
-
-
Constructor Summary
Constructors Constructor Description UserProductNotification()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserNotificationTypegetType()booleanisAllowMail()booleanisAllowSms()booleanisEnabled()voidsetAllowMail(boolean allowMail)voidsetAllowSms(boolean allowSms)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
clone, equals, getId, getId, getIds, getUniqueIds, getUniqueIds, hashCode, isPersistent, isTransient, toShortString
-
-
-
-
Method Detail
-
getType
public UserNotificationType getType()
-
isAllowMail
public boolean isAllowMail()
-
isAllowSms
public boolean isAllowSms()
-
isEnabled
public boolean isEnabled()
-
setAllowMail
public void setAllowMail(boolean allowMail)
-
setAllowSms
public void setAllowSms(boolean allowSms)
-
setEnabled
public void setEnabled(boolean enabled)
-
setType
public void setType(UserNotificationType notificationType)
-
toString
public String toString()
- Overrides:
toStringin classSimpleEntity
-
-