Package de.xima.fc.gui.bean.settings
Class UpdateBean.DbEncryption
- java.lang.Object
-
- de.xima.fc.gui.bean.settings.UpdateBean.DbEncryption
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- UpdateBean
public final class UpdateBean.DbEncryption extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description EDBEncryptionAlgorithmgetAlgorithm()StringgetOldPassword()StringgetPassword()StringgetPasswordRepeat()UpdateContextgetUpdateContext()booleanhasDataChanged()booleanisCurrentPasswordBlank()booleanisDbOutdated()booleanisEncryptFormData()booleanisMigrate()voidsetAlgorithm(EDBEncryptionAlgorithm algorithm)voidsetEncryptFormData(boolean encryptFormData)voidsetMigrate(boolean migrate)voidsetOldPassword(String oldPassword)voidsetPassword(String password)voidsetPasswordRepeat(String passwordRepeat)booleanstoreEncryptionSettingsAndMigrate()Deprecated.UseFormcycleUpdateinstead.voidvalidateConfirmPassword(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object o)booleanvalidatePassword(javax.faces.context.FacesContext context, List<javax.faces.component.UIInput> components, List<Object> values)
-
-
-
Method Detail
-
getAlgorithm
public EDBEncryptionAlgorithm getAlgorithm()
- Returns:
- the algorithm
-
setAlgorithm
public void setAlgorithm(EDBEncryptionAlgorithm algorithm)
- Parameters:
algorithm- the algorithm to set
-
getPassword
public String getPassword()
- Returns:
- the password
-
isDbOutdated
public boolean isDbOutdated()
-
setPassword
public void setPassword(String password)
- Parameters:
password- the password to set
-
getPasswordRepeat
public String getPasswordRepeat()
-
setPasswordRepeat
public void setPasswordRepeat(String passwordRepeat)
-
isMigrate
public boolean isMigrate()
-
setMigrate
public void setMigrate(boolean migrate)
-
getUpdateContext
public UpdateContext getUpdateContext()
-
isEncryptFormData
public boolean isEncryptFormData()
-
setEncryptFormData
public void setEncryptFormData(boolean encryptFormData)
-
getOldPassword
public String getOldPassword()
-
setOldPassword
public void setOldPassword(String oldPassword)
-
validatePassword
public boolean validatePassword(javax.faces.context.FacesContext context, List<javax.faces.component.UIInput> components, List<Object> values)
-
validateConfirmPassword
public void validateConfirmPassword(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object o) throws javax.faces.validator.ValidatorException- Throws:
javax.faces.validator.ValidatorException
-
hasDataChanged
public boolean hasDataChanged()
-
isCurrentPasswordBlank
public boolean isCurrentPasswordBlank()
-
storeEncryptionSettingsAndMigrate
@Deprecated public boolean storeEncryptionSettingsAndMigrate()
Deprecated.UseFormcycleUpdateinstead.
-
-