Package org.apache.shindig.social.opensocial.jpa

Examples of org.apache.shindig.social.opensocial.jpa.NameDb


    person.setLookingFor(lookingFor);

    person.setMovies(asList(""));
    person.setMusic(asList(""));

    NameDb name = new NameDb();
    name.setAdditionalName("");
    name.setFamilyName("");
    name.setGivenName("");
    name.setHonorificPrefix("");
    name.setHonorificSuffix("");
    name.setFormatted("");
    person.setName(name);

    person.setNetworkPresence(new EnumDb<NetworkPresence>(NetworkPresence.ONLINE));
    person.setNickname("");
    person.setPets("");
View Full Code Here


  private Name getNewName(int i) {
    String targetName = String.valueOf("FamilyName" + (i % 25));
    Name name = findOne(NameDb.FINDBY_FAMILY_NAME, new String[] { NameDb.PARAM_FAMILY_NAME },
        new Object[] { targetName });
    if (name == null) {
      name = new NameDb();
      name.setFamilyName(targetName);
      name.setGivenName("GivenName");
      name.setHonorificPrefix("Hprefix");
      name.setHonorificSuffix("HSufix");
      name.setFormatted("formatted");
View Full Code Here

    Person person = buildPersonTemplate(id);
    person.setDisplayName(displayName);
    person.setGender(gender);
    person.setHasApp(hasApp);

    NameDb name = new NameDb();
    name.setFamilyName(familyName);
    name.setGivenName(givenName);
    name.setFormatted(formatted);
    person.setName(name);

    return person;
  }
View Full Code Here

    person.setLookingFor(lookingFor);

    person.setMovies(asList("Iron Man", "Nosferatu"));
    person.setMusic(asList("Chieftains","Beck"));

    NameDb name = new NameDb();
    name.setAdditionalName("H");
    name.setFamilyName("Digg");
    name.setGivenName("Shin");
    name.setHonorificPrefix("Sir");
    name.setHonorificSuffix("Social Butterfly");
    name.setFormatted("Sir Shin H. Digg Social Butterfly");
    person.setName(name);

    person.setNetworkPresence(new EnumDb<NetworkPresence>(NetworkPresence.ONLINE));

    person.setNickname("diggy");
View Full Code Here

    person.setLookingFor(lookingFor);

    person.setMovies(asList(""));
    person.setMusic(asList(""));

    NameDb name = new NameDb();
    name.setAdditionalName("");
    name.setFamilyName("");
    name.setGivenName("");
    name.setHonorificPrefix("");
    name.setHonorificSuffix("");
    name.setFormatted("");
    person.setName(name);

    person.setNetworkPresence(new EnumDb<NetworkPresence>(NetworkPresence.ONLINE));
    person.setNickname("");
    person.setPets("");
View Full Code Here

  private Name getNewName(int i) {
    String targetName = String.valueOf("FamilyName" + (i % 25));
    Name name = findOne(NameDb.FINDBY_FAMILY_NAME, new String[] { NameDb.PARAM_FAMILY_NAME },
        new Object[] { targetName });
    if (name == null) {
      name = new NameDb();
      name.setFamilyName(targetName);
      name.setGivenName("GivenName");
      name.setHonorificPrefix("Hprefix");
      name.setHonorificSuffix("HSufix");
      name.setFormatted("formatted");
View Full Code Here

    Person person = buildPersonTemplate(id);
    person.setDisplayName(displayName);
    person.setGender(gender);
    person.setHasApp(hasApp);
   
    NameDb name = new NameDb();
    name.setFamilyName(familyName);
    name.setGivenName(givenName);
    name.setFormatted(formatted);
    person.setName(name);
   
    return person;
  }
View Full Code Here

    person.setLookingFor(lookingFor);
   
    person.setMovies(asList("Iron Man", "Nosferatu"));
    person.setMusic(asList("Chieftains","Beck"));
   
    NameDb name = new NameDb();
    name.setAdditionalName("H");
    name.setFamilyName("Digg");
    name.setGivenName("Shin");
    name.setHonorificPrefix("Sir");
    name.setHonorificSuffix("Social Butterfly");
    name.setFormatted("Sir Shin H. Digg Social Butterfly");
    person.setName(name);
   
    person.setNetworkPresence(new EnumDb<NetworkPresence>(NetworkPresence.ONLINE));
   
    person.setNickname("diggy");
View Full Code Here

    person.setLookingFor(lookingFor);
   
    person.setMovies(asList(""));
    person.setMusic(asList(""));
   
    NameDb name = new NameDb();
    name.setAdditionalName("");
    name.setFamilyName("");
    name.setGivenName("");
    name.setHonorificPrefix("");
    name.setHonorificSuffix("");
    name.setFormatted("");
    person.setName(name);
   
    person.setNetworkPresence(new EnumDb<NetworkPresence>(NetworkPresence.ONLINE));
    person.setNickname("");
    person.setPets("");
View Full Code Here

TOP

Related Classes of org.apache.shindig.social.opensocial.jpa.NameDb

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.