Package com.liferay.portal

Examples of com.liferay.portal.UserEmailAddressException


    throws PortalException, SystemException {

    emailAddress = emailAddress.trim().toLowerCase();

    if (!Validator.isEmailAddress(emailAddress)) {
      throw new UserEmailAddressException();
    }

    User user = UserUtil.findByC_EA(companyId, emailAddress);

    // we use the ICQ field to store the token:timestamp of the
View Full Code Here


    login = login.trim().toLowerCase();

    if (byEmailAddress) {
      if (!Validator.isEmailAddress(login)) {
        throw new UserEmailAddressException();
      }
    }
    else {
      if (Validator.isNull(login)) {
        throw new UserIdException();
View Full Code Here

        throw new ReservedUserIdException();
      }
    }

    if (!Validator.isEmailAddress(emailAddress)) {
      throw new UserEmailAddressException("Please enter a valid Email Address");
    }
    else {
      try {
        User user = UserUtil.findByC_EA(companyId, emailAddress);
View Full Code Here

    }

    User user = UserUtil.findByPrimaryKey(userId);

    if (!Validator.isEmailAddress(emailAddress)) {
      throw new UserEmailAddressException("Please enter a valid Email Address");
    }
    else {
      try {
        if (!user.getEmailAddress().equals(emailAddress)) {
          if (UserUtil.findByC_EA(
View Full Code Here

TOP

Related Classes of com.liferay.portal.UserEmailAddressException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.