use of com.netsteadfast.greenstep.vo.AccountVO in project bamboobsc by billchen198318.
the class EmployeeSaveOrUpdateAction method updatePassword.
private void updatePassword() throws ControllerException, AuthorityException, ServiceException, Exception {
this.checkFieldsForUpdatePassword();
EmployeeVO employee = new EmployeeVO();
this.transformFields2ValueObject(employee, new String[] { "oid", "password" });
DefaultResult<AccountVO> result = this.employeeLogicService.updatePassword(employee, this.getFields().get("password2"));
this.message = result.getSystemMessage().getValue();
if (result.getValue() != null) {
this.success = IS_YES;
}
}
Aggregations