Package org.cyclos.model.users.products
Class UserProductNotificationDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityDTO
-
- org.cyclos.model.users.products.AbstractProductNotificationDTO
-
- org.cyclos.model.users.products.UserProductNotificationDTO
-
- All Implemented Interfaces:
Serializable,IEntity
public class UserProductNotificationDTO extends AbstractProductNotificationDTO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BasicProperty<Boolean,UserProductNotificationDTO>ALLOW_APPstatic BasicProperty<Boolean,UserProductNotificationDTO>ALLOW_MAILstatic BasicProperty<Boolean,UserProductNotificationDTO>ALLOW_SMSstatic StringCLASS_NAMEstatic BasicProperty<Boolean,UserProductNotificationDTO>DEFAULT_APPstatic BasicProperty<Boolean,UserProductNotificationDTO>ENABLEDstatic BasicProperty<UserNotificationType,UserProductNotificationDTO>TYPE-
Fields inherited from class org.cyclos.model.users.products.AbstractProductNotificationDTO
DEFAULT_MAIL, DEFAULT_SMS
-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description UserProductNotificationDTO()UserProductNotificationDTO(Long id)UserProductNotificationDTO(Property<T,? super UserProductNotificationDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()UserNotificationTypegetType()booleanisAllowApp()booleanisAllowMail()booleanisAllowSms()booleanisDefaultApp()booleanisEnabled()voidsetAllowApp(boolean allowApp)voidsetAllowMail(boolean allowMail)voidsetAllowSms(boolean allowSms)voidsetDefaultApp(boolean defaultApp)voidsetEnabled(boolean enabled)voidsetType(UserNotificationType type)-
Methods inherited from class org.cyclos.model.users.products.AbstractProductNotificationDTO
isDefaultMail, isDefaultSms, setDefaultMail, setDefaultSms
-
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, 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
-
ALLOW_APP
public static final BasicProperty<Boolean,UserProductNotificationDTO> ALLOW_APP
-
ALLOW_MAIL
public static final BasicProperty<Boolean,UserProductNotificationDTO> ALLOW_MAIL
-
ALLOW_SMS
public static final BasicProperty<Boolean,UserProductNotificationDTO> ALLOW_SMS
-
DEFAULT_APP
public static final BasicProperty<Boolean,UserProductNotificationDTO> DEFAULT_APP
-
ENABLED
public static final BasicProperty<Boolean,UserProductNotificationDTO> ENABLED
-
TYPE
public static final BasicProperty<UserNotificationType,UserProductNotificationDTO> TYPE
-
-
Constructor Detail
-
UserProductNotificationDTO
public UserProductNotificationDTO()
-
UserProductNotificationDTO
public UserProductNotificationDTO(Long id)
-
UserProductNotificationDTO
public UserProductNotificationDTO(Property<T,? super UserProductNotificationDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classAbstractProductNotificationDTO
-
isAllowApp
public boolean isAllowApp()
-
setAllowApp
public void setAllowApp(boolean allowApp)
-
isAllowMail
public boolean isAllowMail()
-
setAllowMail
public void setAllowMail(boolean allowMail)
-
isAllowSms
public boolean isAllowSms()
-
setAllowSms
public void setAllowSms(boolean allowSms)
-
isDefaultApp
public boolean isDefaultApp()
-
setDefaultApp
public void setDefaultApp(boolean defaultApp)
-
isEnabled
public boolean isEnabled()
-
setEnabled
public void setEnabled(boolean enabled)
-
getType
public UserNotificationType getType()
-
setType
public void setType(UserNotificationType type)
-
className
public String className()
- Overrides:
classNamein classAbstractProductNotificationDTO
-
-