Package org.cyclos.model.users.phones
Class PhoneListData
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.users.phones.PhoneListData
-
- All Implemented Interfaces:
Serializable
public class PhoneListData extends Bean
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BasicProperty<Boolean,PhoneListData>CAN_CREATE_LANDLINE_PHONEstatic BasicProperty<Boolean,PhoneListData>CAN_CREATE_MOBILE_PHONEstatic BasicProperty<Boolean,PhoneListData>CAN_ENABLE_FOR_SMSstatic BasicProperty<Boolean,PhoneListData>CAN_MANAGE_PRIVACYstatic BasicProperty<Boolean,PhoneListData>CAN_VERIFYstatic StringCLASS_NAMEstatic BasicProperty<Boolean,PhoneListData>ENABLE_PRIVACYstatic BasicProperty<Boolean,PhoneListData>LAND_LINE_REQUIREDstatic BasicProperty<Boolean,PhoneListData>MANAGES_PHONESstatic BasicProperty<Integer,PhoneListData>MAX_LAND_LINE_PHONESstatic BasicProperty<Integer,PhoneListData>MAX_MOBILE_PHONESstatic BasicProperty<Boolean,PhoneListData>MOBILE_REQUIREDstatic ListProperty<PhoneVO,PhoneListData>PHONESstatic BasicProperty<Boolean,PhoneListData>SMS_ENABLEDstatic BasicProperty<UserVO,PhoneListData>USER
-
Constructor Summary
Constructors Constructor Description PhoneListData()PhoneListData(Property<T,? super PhoneListData> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()IntegergetMaxLandLinePhones()IntegergetMaxMobilePhones()List<PhoneVO>getPhones()UserVOgetUser()booleanisCanCreateLandlinePhone()booleanisCanCreateMobilePhone()booleanisCanEnableForSms()booleanisCanManagePrivacy()booleanisCanVerify()booleanisEnablePrivacy()booleanisLandLineRequired()booleanisManagesPhones()booleanisMobileRequired()booleanisSmsEnabled()voidsetCanCreateLandlinePhone(boolean canCreateLandlinePhone)voidsetCanCreateMobilePhone(boolean canCreateMobilePhone)voidsetCanEnableForSms(boolean canEnableForSms)voidsetCanManagePrivacy(boolean canManagePrivacy)voidsetCanVerify(boolean canVerify)voidsetEnablePrivacy(boolean enablePrivacy)voidsetLandLineRequired(boolean landLineRequired)voidsetManagesPhones(boolean managesPhones)voidsetMaxLandLinePhones(Integer maxLandLinePhones)voidsetMaxMobilePhones(Integer maxMobilePhones)voidsetMobileRequired(boolean mobileRequired)voidsetPhones(List<PhoneVO> phones)voidsetSmsEnabled(boolean smsEnabled)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
-
CAN_CREATE_LANDLINE_PHONE
public static final BasicProperty<Boolean,PhoneListData> CAN_CREATE_LANDLINE_PHONE
-
CAN_CREATE_MOBILE_PHONE
public static final BasicProperty<Boolean,PhoneListData> CAN_CREATE_MOBILE_PHONE
-
CAN_ENABLE_FOR_SMS
public static final BasicProperty<Boolean,PhoneListData> CAN_ENABLE_FOR_SMS
-
CAN_MANAGE_PRIVACY
public static final BasicProperty<Boolean,PhoneListData> CAN_MANAGE_PRIVACY
-
CAN_VERIFY
public static final BasicProperty<Boolean,PhoneListData> CAN_VERIFY
-
ENABLE_PRIVACY
public static final BasicProperty<Boolean,PhoneListData> ENABLE_PRIVACY
-
LAND_LINE_REQUIRED
public static final BasicProperty<Boolean,PhoneListData> LAND_LINE_REQUIRED
-
MANAGES_PHONES
public static final BasicProperty<Boolean,PhoneListData> MANAGES_PHONES
-
MAX_LAND_LINE_PHONES
public static final BasicProperty<Integer,PhoneListData> MAX_LAND_LINE_PHONES
-
MAX_MOBILE_PHONES
public static final BasicProperty<Integer,PhoneListData> MAX_MOBILE_PHONES
-
MOBILE_REQUIRED
public static final BasicProperty<Boolean,PhoneListData> MOBILE_REQUIRED
-
PHONES
public static final ListProperty<PhoneVO,PhoneListData> PHONES
-
SMS_ENABLED
public static final BasicProperty<Boolean,PhoneListData> SMS_ENABLED
-
USER
public static final BasicProperty<UserVO,PhoneListData> USER
-
-
Constructor Detail
-
PhoneListData
public PhoneListData()
-
PhoneListData
public PhoneListData(Property<T,? super PhoneListData> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classBean
-
isCanCreateLandlinePhone
public boolean isCanCreateLandlinePhone()
-
setCanCreateLandlinePhone
public void setCanCreateLandlinePhone(boolean canCreateLandlinePhone)
-
isCanCreateMobilePhone
public boolean isCanCreateMobilePhone()
-
setCanCreateMobilePhone
public void setCanCreateMobilePhone(boolean canCreateMobilePhone)
-
isCanEnableForSms
public boolean isCanEnableForSms()
-
setCanEnableForSms
public void setCanEnableForSms(boolean canEnableForSms)
-
isCanManagePrivacy
public boolean isCanManagePrivacy()
-
setCanManagePrivacy
public void setCanManagePrivacy(boolean canManagePrivacy)
-
isCanVerify
public boolean isCanVerify()
-
setCanVerify
public void setCanVerify(boolean canVerify)
-
isEnablePrivacy
public boolean isEnablePrivacy()
-
setEnablePrivacy
public void setEnablePrivacy(boolean enablePrivacy)
-
isLandLineRequired
public boolean isLandLineRequired()
-
setLandLineRequired
public void setLandLineRequired(boolean landLineRequired)
-
isManagesPhones
public boolean isManagesPhones()
-
setManagesPhones
public void setManagesPhones(boolean managesPhones)
-
getMaxLandLinePhones
public Integer getMaxLandLinePhones()
-
setMaxLandLinePhones
public void setMaxLandLinePhones(Integer maxLandLinePhones)
-
getMaxMobilePhones
public Integer getMaxMobilePhones()
-
setMaxMobilePhones
public void setMaxMobilePhones(Integer maxMobilePhones)
-
isMobileRequired
public boolean isMobileRequired()
-
setMobileRequired
public void setMobileRequired(boolean mobileRequired)
-
isSmsEnabled
public boolean isSmsEnabled()
-
setSmsEnabled
public void setSmsEnabled(boolean smsEnabled)
-
getUser
public UserVO getUser()
-
setUser
public void setUser(UserVO user)
-
-