Examples of EmailAddress


Examples of com.saasovation.identityaccess.domain.model.identity.EmailAddress

        User user = this.existingUser(aCommand.getTenantId(), aCommand.getUsername());

        this.internalChangeUserContactInformation(
                user,
                new ContactInformation(
                        new EmailAddress(aCommand.getEmailAddress()),
                        new PostalAddress(
                                aCommand.getAddressStreetAddress(),
                                aCommand.getAddressCity(),
                                aCommand.getAddressStateProvince(),
                                aCommand.getAddressPostalCode(),
View Full Code Here

Examples of com.sun.jersey.samples.contacts.models.EmailAddress

        Contact c = new Contact();
        c.setName("bobs");
        c.setContent("Bob contacts");

        EmailAddress email = new EmailAddress("bob@example.com", "work e-mail", true, "work");

        c.getEmailAddresses().add(email);

        client.createContact(bob.getUsername(), c);
    }
View Full Code Here

Examples of edu.stanford.bmir.protege.web.shared.user.EmailAddress

    }

    @Override
    public Optional<EmailAddress> getValue() {
        if(isWellFormed()) {
            return Optional.of(new EmailAddress(emailAddressField.getText().trim()));
        }
        else {
            return Optional.absent();
        }
    }
View Full Code Here

Examples of evolaris.framework.async.business.communication.email.EmailAddress

    if (emailSendForm.getDestinationSelection() == null){
      emailSendForm.setDestinationSelection(-1)// none selected
    }
    if (emailSendForm.getFromEmail() == null || emailSendForm.getFromEmail().trim().length() == 0){
      if (webUser.getEmail() != null){
        EmailAddress webUserEmailAddress = new EmailAddress(webUser);
        emailSendForm.setFromEmail(webUserEmailAddress.getEmail());
        emailSendForm.setFromPersonalName(webUserEmailAddress.getPersonalName());
      }
      // no from setting if web user does not have e-mail configured => non-administrators must configure in personal settings
    }
    if (emailSendForm.getFromPersonalName() == null || emailSendForm.getFromPersonalName().trim().length() == 0){
      emailSendForm.setFromPersonalName((webUser.getFirstName() == null ? "" : webUser.getFirstName()) + " " + (webUser.getLastName() == null ? "" : webUser.getLastName()).trim());
View Full Code Here

Examples of fr.openwide.maven.artifact.notifier.core.business.user.model.EmailAddress

  private IModel<EmailAddress> emailAddressModel;
 
  public ConfirmEmailNotificationPage(PageParameters parameters) {
    super(parameters);
   
    EmailAddress emailAddress = LinkUtils.extractEmailFromHashPageParameter(emailAddressService, parameters, getApplication().getHomePage());
    emailAddressModel = new GenericEntityModel<Long, EmailAddress>(emailAddress);
   
    if (emailAddress.getStatus() != EmailStatus.PENDING_CONFIRM) {
      LOGGER.error("This email address is not pending for a confirmation");
      Session.get().error(getString("notification.email.confirm.wrongStatus"));

      redirect(getApplication().getHomePage());
      return;
View Full Code Here

Examples of info.ineighborhood.cardme.EmailAddress

   * Create Email Address
   * @param emailAddress
   * @return email address
   */
  private static EmailAddress createEmailAddress(String emailAddress){
    EmailAddress email = new EmailAddressImpl();
    email.addType(EmailAddressType.INTERNET_EMAIL);
    email.setEmailAddress(emailAddress);
    return email;
  }
View Full Code Here

Examples of javax.xml.registry.infomodel.EmailAddress

      telephoneNumber.setType(null);
      PostalAddress address = blm.createPostalAddress("111", "My Drive", "BuckHead", "GA", "USA", "1111-111", "");
      Collection postalAddresses = new ArrayList();
      postalAddresses.add(address);
      Collection emailAddresses = new ArrayList();
      EmailAddress emailAddress = blm.createEmailAddress("anil@apache.org");
      emailAddresses.add(emailAddress);

      Collection numbers = new ArrayList();
      numbers.add(telephoneNumber);
      user.setPersonName(personName);
View Full Code Here

Examples of javax.xml.registry.infomodel.EmailAddress

      emailarr = new Email[ec.size()];

            Iterator iter = ec.iterator();
      int emailarrPos = 0;
      while (iter.hasNext()) {
                EmailAddress ea = (EmailAddress) iter.next();
        Email email = Email.Factory.newInstance();
       
        if (ea.getAddress() != null) {
          email.setStringValue(ea.getAddress());
        }
        // email.setText( ea.getAddress() );
       
        if (ea.getType() != null) {
                email.setUseType(ea.getType());
            }

        emailarr[emailarrPos] = email;
        emailarrPos++;
      }
View Full Code Here

Examples of javax.xml.registry.infomodel.EmailAddress

                            "Munsey Drive", "Forest Hill",
                            "MD", "USA", "21050-2747", "");
            Collection postalAddresses = new ArrayList();
            postalAddresses.add(address);
            Collection emailAddresses = new ArrayList();
            EmailAddress emailAddress = blm.createEmailAddress("sviens@apache.org");
            emailAddresses.add(emailAddress);
            Collection numbers = new ArrayList();
            numbers.add(telephoneNumber);
            user.setPersonName(personName);
            user.setPostalAddresses(postalAddresses);
View Full Code Here

Examples of javax.xml.registry.infomodel.EmailAddress

      emailarr = new Email[ec.size()];

            Iterator iter = ec.iterator();
      int emailarrPos = 0;
      while (iter.hasNext()) {
                EmailAddress ea = (EmailAddress) iter.next();
        Email email = objectFactory.createEmail();
       
        if (ea.getAddress() != null) {
          email.setValue(ea.getAddress());
        }
        // email.setText( ea.getAddress() );
       
        if (ea.getType() != null) {
                email.setUseType(ea.getType());
            }

        emailarr[emailarrPos] = email;
        emailarrPos++;
      }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.