| | |
| | | } |
| | | |
| | | if (urls.size() > 0) { |
| | | condition.setUrl(urls); |
| | | condition.setUrls(urls); |
| | | |
| | | if(id == null){ |
| | | companyFieldList = this.companyFieldMapper.findByUrls(condition); |
| | |
| | | * @return String |
| | | */ |
| | | private String verifyEmail(String email) { |
| | | if (!Pattern.matches("^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,4}$", email)) { |
| | | /*if (!Pattern.matches("^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,4}$", email)) { |
| | | throw new OwlRuntimeException(this.messageAccessor.getMessage(MsgConstants.EMAIL_NOT_INVALID)); |
| | | } |
| | | }*/ |
| | | |
| | | if (email.contains(" ")) { |
| | | email = email.replace(" ", ""); |