Class PrivacySettingsDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.users.privacysettings.PrivacySettingsDTO
-
- All Implemented Interfaces:
Serializable
public class PrivacySettingsDTO extends Bean
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<Boolean,PrivacySettingsDTO>ENABLE_PRIVACY_CONTROLstatic SetProperty<PrivacyControlVO,PrivacySettingsDTO>PRIVACY_CONTROLSstatic BasicProperty<UserVO,PrivacySettingsDTO>USER
-
Constructor Summary
Constructors Constructor Description PrivacySettingsDTO()PrivacySettingsDTO(Property<T,? super PrivacySettingsDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()Set<PrivacyControlVO>getPrivacyControls()UserVOgetUser()booleanisEnablePrivacyControl()voidsetEnablePrivacyControl(boolean enablePrivacyControl)voidsetPrivacyControls(Set<PrivacyControlVO> privacyControls)voidsetUser(UserVO user)-
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
-
ENABLE_PRIVACY_CONTROL
public static final BasicProperty<Boolean,PrivacySettingsDTO> ENABLE_PRIVACY_CONTROL
-
PRIVACY_CONTROLS
public static final SetProperty<PrivacyControlVO,PrivacySettingsDTO> PRIVACY_CONTROLS
-
USER
public static final BasicProperty<UserVO,PrivacySettingsDTO> USER
-
-
Constructor Detail
-
PrivacySettingsDTO
public PrivacySettingsDTO()
-
PrivacySettingsDTO
public PrivacySettingsDTO(Property<T,? super PrivacySettingsDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classBean
-
isEnablePrivacyControl
public boolean isEnablePrivacyControl()
-
setEnablePrivacyControl
public void setEnablePrivacyControl(boolean enablePrivacyControl)
-
getPrivacyControls
public Set<PrivacyControlVO> getPrivacyControls()
-
setPrivacyControls
public void setPrivacyControls(Set<PrivacyControlVO> privacyControls)
-
getUser
public UserVO getUser()
-
setUser
public void setUser(UserVO user)
-
-