Examples of Contact


Examples of org.jboss.as.quickstarts.wicketWar.model.Contact

    /**
     * Add a new Contact.
     */
    @Override
    public void addContact(String name, String email) {
        em.merge(new Contact(null, name, email));
    }
View Full Code Here

Examples of org.jboss.errai.cdi.demo.mvp.client.shared.Contact

    initContacts();
  }

  private void initContacts() {
    for (int i = 0; i < contactsFirstNameData.length && i < contactsLastNameData.length && i < contactsEmailData.length; ++i) {
      Contact contact =
          new Contact(String.valueOf(id.incrementAndGet()), contactsFirstNameData[i], contactsLastNameData[i],
              contactsEmailData[i]);
      contacts.put(contact.getId(), contact);
    }
  }
View Full Code Here

Examples of org.jboss.errai.cdi.demo.mvp.shared.Contact

 
  private void initContacts() {
    // TODO: Create a real UID for each contact
    //
    for (int i = 0; i < contactsFirstNameData.length && i < contactsLastNameData.length && i < contactsEmailData.length; ++i) {
      Contact contact = new Contact(String.valueOf(i), contactsFirstNameData[i], contactsLastNameData[i], contactsEmailData[i]);
      contacts.put(contact.getId(), contact);
    }
  }
View Full Code Here

Examples of org.jboss.resteasy.examples.contacts.core.Contact

  @GET
  @Path("/contacts/{id}")
  @Produces("application/xml")
  public Contact getContactById(@PathParam("id") Long id) {
    Contact contact = contactDao.findContactById(id);

    return contact;
  }
View Full Code Here

Examples of org.jboss.seam.examples.seamcrm.contact.Contact

    private static Set<IndexedEntity> getIndexedObjects()
    {
        Set<IndexedEntity> indexedObjects = new HashSet<IndexedEntity>();
        indexedObjects.add(new Address());
        indexedObjects.add(new Account());
        indexedObjects.add(new Contact());
        return indexedObjects;
    }
View Full Code Here

Examples of org.jboss.test.cluster.clusteredentity.Contact

         }
        
         tester.updateContacts("Kabir", "Updated");
         for (Integer id : jbContacts)
         {
            Contact contact = tester.getContact(id);
            assertNotNull("JBoss contact " + id + " exists", contact);
            String expected = ("Kabir".equals(contact.getName())) ? "Updated" : "2222";
            assertEquals("JBoss contact " + id + " has correct TLF",
                         expected, contact.getTlf());
         }
        
         List<Integer> updated = tester.getContactsByTLF("Updated");
         assertNotNull("Got updated contacts", updated);
         assertEquals("Updated contacts", 5, updated.size());
View Full Code Here

Examples of org.jbox2d.dynamics.contacts.Contact

    }

    // Flag associated contacts for filtering.
    ContactEdge edge = m_body.getContactList();
    while (edge != null) {
      Contact contact = edge.contact;
      Fixture fixtureA = contact.getFixtureA();
      Fixture fixtureB = contact.getFixtureB();
      if (fixtureA == this || fixtureB == this) {
        contact.flagForFiltering();
      }
      edge = edge.next;
    }

    World world = m_body.getWorld();
View Full Code Here

Examples of org.jrest4guice.sample.contact.entity.Contact

   */
  @Get
  @PageFlow(success = @PageInfo(value = "/template/contactDetail.ctl"))
  public Contact getContact(@Cache @Parameter("contactId") String contactId) {
    if(contactId == null)
      return new Contact();
    return this.service.findContactById(contactId);
  }
View Full Code Here

Examples of org.mypj.db.thing.Contact

    PersonManagerImpl impl = new PersonManagerImpl();
    Person p1 = new Person(info.getEditName());
    p1.setBirthday(info.getEditBirthday());
    p1.setSex(info.getEditSex());
    p1.setPs(info.getEditPs());
    Contact c1 = new Contact(info.getEditContact());
    p1.getContacts().add(c1);
    if (!impl.isExist(p1)) {
      impl.create(p1);
      info.setViewName(info.getEditName());
      info.setViewContact(info.getEditContact());
View Full Code Here

Examples of org.netmelody.cieye.core.observation.Contact

public final class JenkinsSpyImmersionTest {

    @Test public void
    canAnalyseJobFromTheJenkinsLiveInstance() {
        final Contact contact = new JsonRestRequester(new GsonBuilder().setDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ").create());
        final JenkinsCommunicator communicator = new JenkinsCommunicator("http://ci.jenkins-ci.org", contact);
        final JobLaboratory lab = new JobLaboratory(communicator, new RecordedKnownOffenders(new SettingsFile(new File(""))));

        final Job job = new Job();
        job.url = "http://ci.jenkins-ci.org/view/Jenkins%20core/job/jenkins_pom/";
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.