Class ChangePasswordDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.access.passwords.PasswordActionDTO
-
- org.cyclos.model.access.passwords.ChangePasswordDTO
-
- All Implemented Interfaces:
Serializable,PasswordContainer
public class ChangePasswordDTO extends PasswordActionDTO implements PasswordContainer
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<String,ChangePasswordDTO>CONFIRM_NEW_PASSWORDstatic BasicProperty<Boolean,ChangePasswordDTO>FORCE_CHANGEstatic BasicProperty<String,ChangePasswordDTO>NEW_PASSWORDstatic BasicProperty<String,ChangePasswordDTO>OLD_PASSWORD-
Fields inherited from class org.cyclos.model.access.passwords.PasswordActionDTO
TYPE, USER
-
-
Constructor Summary
Constructors Constructor Description ChangePasswordDTO()ChangePasswordDTO(Property<T,? super ChangePasswordDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()StringgetConfirmNewPassword()StringgetNewPassword()StringgetOldPassword()booleanisForceChange()voidsetConfirmNewPassword(String confirmNewPassword)voidsetForceChange(boolean forceChange)voidsetNewPassword(String newPassword)voidsetOldPassword(String oldPassword)-
Methods inherited from class org.cyclos.model.access.passwords.PasswordActionDTO
getType, getUser, setType, setUser, toString
-
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
-
CONFIRM_NEW_PASSWORD
public static final BasicProperty<String,ChangePasswordDTO> CONFIRM_NEW_PASSWORD
-
FORCE_CHANGE
public static final BasicProperty<Boolean,ChangePasswordDTO> FORCE_CHANGE
-
NEW_PASSWORD
public static final BasicProperty<String,ChangePasswordDTO> NEW_PASSWORD
-
OLD_PASSWORD
public static final BasicProperty<String,ChangePasswordDTO> OLD_PASSWORD
-
-
Constructor Detail
-
ChangePasswordDTO
public ChangePasswordDTO()
-
ChangePasswordDTO
public ChangePasswordDTO(Property<T,? super ChangePasswordDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classPasswordActionDTO
-
getConfirmNewPassword
public String getConfirmNewPassword()
-
setConfirmNewPassword
public void setConfirmNewPassword(String confirmNewPassword)
-
isForceChange
public boolean isForceChange()
-
setForceChange
public void setForceChange(boolean forceChange)
-
getNewPassword
public String getNewPassword()
-
setNewPassword
public void setNewPassword(String newPassword)
-
getOldPassword
public String getOldPassword()
-
setOldPassword
public void setOldPassword(String oldPassword)
-
className
public String className()
- Overrides:
classNamein classPasswordActionDTO
-
-