Package org.cyclos.model.users.users
Class AbstractUserRegistrationDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityDTO
-
- org.cyclos.model.NamedEntityDTO
-
- org.cyclos.model.users.users.BasicUserDTO
-
- org.cyclos.model.users.users.UserDTO
-
- org.cyclos.model.users.users.AbstractSimpleUserRegistrationDTO
-
- org.cyclos.model.users.users.AbstractUserRegistrationDTO
-
- All Implemented Interfaces:
Serializable,Comparable<NamedEntityDTO>,AccountOwner,InternalAccountOwner,IEntity,INamedEntity,ModelWithCustomValues<UserCustomFieldValueDTO>,BasicUserRegistrationDTO,IUser,SimpleBasicUserRegistrationDTO
- Direct Known Subclasses:
PublicRegistrationDTO,UserRegistrationDTO
public abstract class AbstractUserRegistrationDTO extends AbstractSimpleUserRegistrationDTO implements BasicUserRegistrationDTO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic ListProperty<ContactInfoDTO,AbstractUserRegistrationDTO>CONTACT_INFOSstatic ListProperty<PasswordRegistrationDTO,AbstractUserRegistrationDTO>PASSWORDSstatic BasicProperty<String,AbstractUserRegistrationDTO>SECURITY_ANSWERstatic BasicProperty<SecurityQuestion,AbstractUserRegistrationDTO>SECURITY_QUESTION-
Fields inherited from class org.cyclos.model.users.users.AbstractSimpleUserRegistrationDTO
ADDRESSES, LAND_LINE_PHONES, MOBILE_PHONES, NFC_TOKEN, UPLOADED_IMAGES
-
Fields inherited from class org.cyclos.model.users.users.UserDTO
CUSTOM_VALUES, GROUP, HIDE_EMAIL
-
Fields inherited from class org.cyclos.model.users.users.BasicUserDTO
EMAIL, USERNAME
-
Fields inherited from class org.cyclos.model.NamedEntityDTO
NAME
-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description AbstractUserRegistrationDTO()AbstractUserRegistrationDTO(Long id)AbstractUserRegistrationDTO(Property<T,? super AbstractUserRegistrationDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<Property<?,?>>doGetProperties()List<ContactInfoDTO>getContactInfos()List<PasswordRegistrationDTO>getPasswords()StringgetSecurityAnswer()SecurityQuestiongetSecurityQuestion()voidsetContactInfos(List<ContactInfoDTO> contactInfos)voidsetPasswords(List<PasswordRegistrationDTO> passwords)voidsetSecurityAnswer(String securityAnswer)voidsetSecurityQuestion(SecurityQuestion securityQuestion)-
Methods inherited from class org.cyclos.model.users.users.AbstractSimpleUserRegistrationDTO
getAddresses, getLandLinePhones, getMobilePhones, getNfcToken, getUploadedImages, setAddresses, setLandLinePhones, setMobilePhones, setNfcToken, setUploadedImages
-
Methods inherited from class org.cyclos.model.users.users.UserDTO
className, getCustomValues, getGroup, isHideEmail, setCustomValues, setGroup, setHideEmail
-
Methods inherited from class org.cyclos.model.users.users.BasicUserDTO
getEmail, getUsername, setEmail, setUsername, toString
-
Methods inherited from class org.cyclos.model.NamedEntityDTO
compareTo, getName, setName
-
Methods inherited from class org.cyclos.model.EntityDTO
getVersion, isPersistent, isTransient, setVersion
-
Methods inherited from class org.cyclos.model.EntityModel
equals, getId, hashCode, setId
-
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
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.model.INamedEntity
getName, setName
-
Methods inherited from interface org.cyclos.model.users.users.SimpleBasicUserRegistrationDTO
getEmail, getLandLinePhones, getMobilePhones, getUsername, setEmail, setLandLinePhones, setMobilePhones, setUsername
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
CONTACT_INFOS
public static final ListProperty<ContactInfoDTO,AbstractUserRegistrationDTO> CONTACT_INFOS
-
PASSWORDS
public static final ListProperty<PasswordRegistrationDTO,AbstractUserRegistrationDTO> PASSWORDS
-
SECURITY_ANSWER
public static final BasicProperty<String,AbstractUserRegistrationDTO> SECURITY_ANSWER
-
SECURITY_QUESTION
public static final BasicProperty<SecurityQuestion,AbstractUserRegistrationDTO> SECURITY_QUESTION
-
-
Constructor Detail
-
AbstractUserRegistrationDTO
public AbstractUserRegistrationDTO()
-
AbstractUserRegistrationDTO
public AbstractUserRegistrationDTO(Long id)
-
AbstractUserRegistrationDTO
public AbstractUserRegistrationDTO(Property<T,? super AbstractUserRegistrationDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classAbstractSimpleUserRegistrationDTO
-
getContactInfos
public List<ContactInfoDTO> getContactInfos()
-
setContactInfos
public void setContactInfos(List<ContactInfoDTO> contactInfos)
-
getPasswords
public List<PasswordRegistrationDTO> getPasswords()
- Specified by:
getPasswordsin interfaceBasicUserRegistrationDTO
-
setPasswords
public void setPasswords(List<PasswordRegistrationDTO> passwords)
- Specified by:
setPasswordsin interfaceBasicUserRegistrationDTO
-
getSecurityAnswer
public String getSecurityAnswer()
-
setSecurityAnswer
public void setSecurityAnswer(String securityAnswer)
-
getSecurityQuestion
public SecurityQuestion getSecurityQuestion()
-
setSecurityQuestion
public void setSecurityQuestion(SecurityQuestion securityQuestion)
-
-