Class NotificationSettingsDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityDTO
-
- org.cyclos.model.messaging.notificationsettings.NotificationSettingsDTO
-
- All Implemented Interfaces:
Serializable,IEntity
- Direct Known Subclasses:
AdminNotificationSettingsDTO,UserNotificationSettingsDTO
public abstract class NotificationSettingsDTO extends EntityDTO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic ListProperty<NotificationTypeSettingsDTO,NotificationSettingsDTO>NOTIFICATION_TYPE_SETTINGSstatic BasicProperty<BasicUserVO,NotificationSettingsDTO>USER-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description NotificationSettingsDTO()NotificationSettingsDTO(Long id)NotificationSettingsDTO(Property<T,? super NotificationSettingsDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<Property<?,?>>doGetProperties()List<NotificationTypeSettingsDTO>getNotificationTypeSettings()BasicUserVOgetUser()voidsetNotificationTypeSettings(List<NotificationTypeSettingsDTO> notificationTypeSettings)voidsetUser(BasicUserVO user)-
Methods inherited from class org.cyclos.model.EntityDTO
getVersion, isPersistent, isTransient, setVersion
-
Methods inherited from class org.cyclos.model.Bean
addPropertyChangeListener, addPropertyChangeListener, attributeNames, backup, changes, className, clearAttributes, copyPropertiesTo, copyPropertiesTo, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, property, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, restore, set, set, setAttribute, setWithPropagationId, values
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
NOTIFICATION_TYPE_SETTINGS
public static final ListProperty<NotificationTypeSettingsDTO,NotificationSettingsDTO> NOTIFICATION_TYPE_SETTINGS
-
USER
public static final BasicProperty<BasicUserVO,NotificationSettingsDTO> USER
-
-
Constructor Detail
-
NotificationSettingsDTO
public NotificationSettingsDTO()
-
NotificationSettingsDTO
public NotificationSettingsDTO(Long id)
-
NotificationSettingsDTO
public NotificationSettingsDTO(Property<T,? super NotificationSettingsDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classEntityDTO
-
getNotificationTypeSettings
public List<NotificationTypeSettingsDTO> getNotificationTypeSettings()
-
setNotificationTypeSettings
public void setNotificationTypeSettings(List<NotificationTypeSettingsDTO> notificationTypeSettings)
-
getUser
public BasicUserVO getUser()
-
setUser
public void setUser(BasicUserVO user)
-
-