public class UserProductNotificationDTO extends AbstractProductNotificationDTO
| Modifier and Type | Field and Description |
|---|---|
static BasicProperty<java.lang.Boolean,UserProductNotificationDTO> |
ALLOW_MAIL |
static BasicProperty<java.lang.Boolean,UserProductNotificationDTO> |
ALLOW_SMS |
static java.lang.String |
CLASS_NAME |
static BasicProperty<java.lang.Boolean,UserProductNotificationDTO> |
ENABLED |
static BasicProperty<UserNotificationType,UserProductNotificationDTO> |
TYPE |
DEFAULT_MAIL, DEFAULT_SMSID| Constructor and Description |
|---|
UserProductNotificationDTO() |
UserProductNotificationDTO(java.lang.Long id) |
UserProductNotificationDTO(Property<T,? super UserProductNotificationDTO> property,
T value) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
className() |
protected java.util.List<Property<?,?>> |
doGetProperties() |
UserNotificationType |
getType() |
boolean |
isAllowMail() |
boolean |
isAllowSms() |
boolean |
isEnabled() |
void |
setAllowMail(boolean allowMail) |
void |
setAllowSms(boolean allowSms) |
void |
setEnabled(boolean enabled) |
void |
setType(UserNotificationType type) |
isDefaultMail, isDefaultSms, setDefaultMail, setDefaultSmsgetVersion, isPersistent, isTransient, setVersionaddPropertyChangeListener, addPropertyChangeListener, attributeNames, changes, clearAttributes, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, property, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, set, set, setAttribute, setWithPropagationIdpublic static final java.lang.String CLASS_NAME
public static final BasicProperty<java.lang.Boolean,UserProductNotificationDTO> ALLOW_MAIL
public static final BasicProperty<java.lang.Boolean,UserProductNotificationDTO> ALLOW_SMS
public static final BasicProperty<java.lang.Boolean,UserProductNotificationDTO> ENABLED
public static final BasicProperty<UserNotificationType,UserProductNotificationDTO> TYPE
public UserProductNotificationDTO()
public UserProductNotificationDTO(java.lang.Long id)
public UserProductNotificationDTO(Property<T,? super UserProductNotificationDTO> property, T value)
protected java.util.List<Property<?,?>> doGetProperties()
doGetProperties in class AbstractProductNotificationDTOpublic boolean isAllowMail()
public void setAllowMail(boolean allowMail)
public boolean isAllowSms()
public void setAllowSms(boolean allowSms)
public boolean isEnabled()
public void setEnabled(boolean enabled)
public UserNotificationType getType()
public void setType(UserNotificationType type)
public java.lang.String className()
className in class AbstractProductNotificationDTO