示例#1
0
  // <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);
  }
示例#2
0
 // <editor-fold defaultstate="collapsed" desc="populate">
 private void populate(UserVO user, Md5PasswordEncoder pwdEncoder) {
   populateCredentials(user.getUserName(), user.getPassword(), pwdEncoder);
   populateDeliveryInfo(user.getDeliveryInfo());
 }