// <editor-fold defaultstate="collapsed" desc="Validate"> private void validate(UserVO userVO, UserDAO userDAO) throws UserNameDuplicateException, EmailDuplicateException, InvalidInputException { validateCredentials(userVO.getUserName(), userVO.getPassword(), userDAO); validateDeliveryInfo(userVO.getDeliveryInfo(), userDAO); }
// <editor-fold defaultstate="collapsed" desc="populate"> private void populate(UserVO user, Md5PasswordEncoder pwdEncoder) { populateCredentials(user.getUserName(), user.getPassword(), pwdEncoder); populateDeliveryInfo(user.getDeliveryInfo()); }