Examples of emailAddress()


Examples of com.saasovation.agilepm.domain.model.team.ProductOwner.emailAddress()

        assertNotNull(savedProductOwner);
        assertEquals(productOwner.tenantId(), savedProductOwner.tenantId());
        assertEquals(productOwner.username(), savedProductOwner.username());
        assertEquals(productOwner.firstName(), savedProductOwner.firstName());
        assertEquals(productOwner.lastName(), savedProductOwner.lastName());
        assertEquals(productOwner.emailAddress(), savedProductOwner.emailAddress());

        Collection<ProductOwner> savedProductOwners =
                this.productOwnerRepository.allProductOwnersOfTenant(productOwner.tenantId());

        assertFalse(savedProductOwners.isEmpty());
View Full Code Here

Examples of com.saasovation.agilepm.domain.model.team.TeamMember.emailAddress()

        assertNotNull(savedTeamMember);
        assertEquals(teamMember.tenantId(), savedTeamMember.tenantId());
        assertEquals(teamMember.username(), savedTeamMember.username());
        assertEquals(teamMember.firstName(), savedTeamMember.firstName());
        assertEquals(teamMember.lastName(), savedTeamMember.lastName());
        assertEquals(teamMember.emailAddress(), savedTeamMember.emailAddress());

        Collection<TeamMember> savedTeamMembers =
                this.teamMemberRepository.allTeamMembersOfTenant(teamMember.tenantId());

        assertFalse(savedTeamMembers.isEmpty());
View Full Code Here

Examples of com.saasovation.identityaccess.domain.model.identity.UserDescriptor.emailAddress()

        super();
    }

    private void initializeFrom(User aUser, String aRole) {
        UserDescriptor desc = aUser.userDescriptor();
        this.setEmailAddress(desc.emailAddress());
        this.setFirstName(aUser.person().name().firstName());
        this.setLastName(aUser.person().name().lastName());
        this.setRole(aRole);
        this.setTenantId(desc.tenantId().id());
        this.setUsername(desc.username());
View Full Code Here

Examples of com.secretpal.model.SPPerson.emailAddress()

    public void invalidRecipients(ERMessage message, NSArray<String> invalidRecipientAddresses) {
      EOEditingContext editingContext = ERXEC.newEditingContext();
      editingContext.lock();
      try {
        SPPerson person = (SPPerson) ERXEOControlUtilities.convertGIDtoEO(editingContext, _personGID);
        _errorNoticeList.addNotice("Failed to send an email to '" + person.emailAddress() + "'.");
      } finally {
        editingContext.unlock();
        editingContext.dispose();
      }
    }
View Full Code Here

Examples of com.secretpal.model.SPPerson.emailAddress()

    public void deliveryFailed(ERMessage message, Throwable failure) {
      EOEditingContext editingContext = ERXEC.newEditingContext();
      editingContext.lock();
      try {
        SPPerson person = (SPPerson) ERXEOControlUtilities.convertGIDtoEO(editingContext, _personGID);
        _errorNoticeList.addNotice("Failed to send an email to '" + person.emailAddress() + "'.");
        person.setEmailDeliveryFailure(Boolean.TRUE);
        editingContext.saveChanges();
      } finally {
        editingContext.unlock();
        editingContext.dispose();
View Full Code Here

Examples of com.secretpal.model.SPPerson.emailAddress()

public class SecretPal1 extends ERXMigrationDatabase.Migration implements IERXPostMigration {
  public void postUpgrade(EOEditingContext editingContext, EOModel model) throws Throwable {
    for (SPPerson person : SPPerson.fetchAllSPPersons(editingContext)) {
      EOEditingContext nestedEditingContext = ERXEC.newEditingContext(editingContext);
      SPPerson nestedPerson = person.localInstanceIn(nestedEditingContext);
      nestedPerson.setEmailAddress(SPUtilities.cleanseEmailAddress(nestedPerson.emailAddress()));
      try {
        nestedEditingContext.saveChanges();
      }
      catch (NSValidation.ValidationException e) {
        // this probably means the person realized they screwed up and reinvited the person with the proper email address
View Full Code Here

Examples of com.testdomain.FieldAccount.emailAddress()

  protected FieldAccount newFieldAccount6() {
    FieldAccount account = new FieldAccount();
    account.id(6);
    account.firstName("Jennifer");
    account.lastName("Begin");
    account.emailAddress("no_email@provided.com");
    return account;
  }

  protected void assertAccount1(Account account) {
    assertNotNull(account);
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.