public class UserNotificationSettingsData extends Bean
| Modifier and Type | Field and Description |
|---|---|
static BasicProperty<java.lang.Boolean,UserNotificationSettingsData> |
CAN_MANAGE |
static java.lang.String |
CLASS_NAME |
static BasicProperty<java.lang.Integer,UserNotificationSettingsData> |
CURRENT_SMS_COUNT |
static BasicProperty<java.lang.Boolean,UserNotificationSettingsData> |
EMAIL_ALLOWED |
static BasicProperty<java.lang.Boolean,UserNotificationSettingsData> |
FORWARD_ALLOWED |
static BasicProperty<java.lang.Integer,UserNotificationSettingsData> |
MAX_SMS_PER_MONTH |
static BasicProperty<UserNotificationSettingsDTO,UserNotificationSettingsData> |
NOTIFICATION_SETTINGS |
static BasicProperty<java.lang.Boolean,UserNotificationSettingsData> |
SMS_ALLOWED |
| Constructor and Description |
|---|
UserNotificationSettingsData() |
UserNotificationSettingsData(Property<T,? super UserNotificationSettingsData> property,
T value) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
className() |
protected java.util.List<Property<?,?>> |
doGetProperties() |
java.lang.Integer |
getCurrentSmsCount() |
java.lang.Integer |
getMaxSmsPerMonth() |
UserNotificationSettingsDTO |
getNotificationSettings() |
boolean |
isCanManage() |
boolean |
isEmailAllowed() |
boolean |
isForwardAllowed() |
boolean |
isSmsAllowed() |
void |
setCanManage(boolean canManage) |
void |
setCurrentSmsCount(java.lang.Integer currentSmsCount) |
void |
setEmailAllowed(boolean emailAllowed) |
void |
setForwardAllowed(boolean forwardAllowed) |
void |
setMaxSmsPerMonth(java.lang.Integer maxSmsPerMonth) |
void |
setNotificationSettings(UserNotificationSettingsDTO notificationSettings) |
void |
setSmsAllowed(boolean smsAllowed) |
addPropertyChangeListener, addPropertyChangeListener, attributeNames, changes, clearAttributes, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, set, setAttributepublic static final java.lang.String CLASS_NAME
public static final BasicProperty<java.lang.Boolean,UserNotificationSettingsData> CAN_MANAGE
public static final BasicProperty<java.lang.Integer,UserNotificationSettingsData> CURRENT_SMS_COUNT
public static final BasicProperty<java.lang.Boolean,UserNotificationSettingsData> EMAIL_ALLOWED
public static final BasicProperty<java.lang.Boolean,UserNotificationSettingsData> FORWARD_ALLOWED
public static final BasicProperty<java.lang.Integer,UserNotificationSettingsData> MAX_SMS_PER_MONTH
public static final BasicProperty<UserNotificationSettingsDTO,UserNotificationSettingsData> NOTIFICATION_SETTINGS
public static final BasicProperty<java.lang.Boolean,UserNotificationSettingsData> SMS_ALLOWED
public UserNotificationSettingsData()
public UserNotificationSettingsData(Property<T,? super UserNotificationSettingsData> property, T value)
protected java.util.List<Property<?,?>> doGetProperties()
doGetProperties in class Beanpublic boolean isCanManage()
public void setCanManage(boolean canManage)
public java.lang.Integer getCurrentSmsCount()
public void setCurrentSmsCount(java.lang.Integer currentSmsCount)
public boolean isEmailAllowed()
public void setEmailAllowed(boolean emailAllowed)
public boolean isForwardAllowed()
public void setForwardAllowed(boolean forwardAllowed)
public java.lang.Integer getMaxSmsPerMonth()
public void setMaxSmsPerMonth(java.lang.Integer maxSmsPerMonth)
public UserNotificationSettingsDTO getNotificationSettings()
public void setNotificationSettings(UserNotificationSettingsDTO notificationSettings)
public boolean isSmsAllowed()
public void setSmsAllowed(boolean smsAllowed)