Tabnine Logo
ListFieldImpl
Code IndexAdd Tabnine to your IDE (free)

How to use
ListFieldImpl
in
org.apache.shindig.social.core.model

Best Java code snippets using org.apache.shindig.social.core.model.ListFieldImpl (Showing top 16 results out of 315)

origin: org.apache.shindig/shindig-social-api

public void setThumbnailUrl(String thumbnailUrl) {
 ListField photo = getListFieldWithType(THUMBNAIL_PHOTO_TYPE, getPhotos());
 if (photo != null) {
  photo.setValue(thumbnailUrl);
 } else {
  if (thumbnailUrl != null)
   setPhotos(addListField(new ListFieldImpl(THUMBNAIL_PHOTO_TYPE, thumbnailUrl), getPhotos()));
 }
}
origin: org.wso2.org.apache.shindig/shindig-social-api

public void setThumbnailUrl(String thumbnailUrl) {
 ListField photo = getListFieldWithType(THUMBNAIL_PHOTO_TYPE, getPhotos());
 if (photo != null) {
  photo.setValue(thumbnailUrl);
 } else {
  if (thumbnailUrl != null)
   setPhotos(addListField(new ListFieldImpl(THUMBNAIL_PHOTO_TYPE, thumbnailUrl), getPhotos()));
 }
}
origin: com.lmco.shindig/shindig-social-api

public void setThumbnailUrl(String thumbnailUrl) {
 ListField photo = getListFieldWithType(THUMBNAIL_PHOTO_TYPE, getPhotos());
 if (photo != null) {
  photo.setValue(thumbnailUrl);
 } else {
  if (thumbnailUrl != null)
   setPhotos(addListField(new ListFieldImpl(THUMBNAIL_PHOTO_TYPE, thumbnailUrl), getPhotos()));
 }
}
origin: com.lmco.shindig/shindig-social-api

@Before
public void setUp() throws Exception {
 Injector injector = Guice.createInjector(new SocialApiTestsGuiceModule());
 johnDoe = new PersonImpl("johnDoeId", "Johnny", new NameImpl("John Doe"));
 johnDoe.setPhoneNumbers(Lists.<ListField> newArrayList(new ListFieldImpl(
   "home", "+33H000000000"), new ListFieldImpl("mobile", "+33M000000000"),
   new ListFieldImpl("work", "+33W000000000")));
 johnDoe.setAddresses(Lists.<Address> newArrayList(new AddressImpl(
   "My home address")));
 johnDoe.setEmails(Lists.<ListField> newArrayList(new ListFieldImpl("work",
   "john.doe@work.bar"), new ListFieldImpl("home", "john.doe@home.bar")));
 activity = new ActivityImpl("activityId", johnDoe.getId());
 activity.setUrl("http://foo.com/");
 activity.setMediaItems(Lists.<MediaItem> newArrayList(new MediaItemImpl(
   "image/jpg", MediaItem.Type.IMAGE, "http://foo.bar")));
 beanXmlConverter = new BeanXStreamConverter(new XStream081Configuration(injector));
}
origin: org.apache.shindig/shindig-social-api

@Before
public void setUp() throws Exception {
 Injector injector = Guice.createInjector(new SocialApiTestsGuiceModule());
 johnDoe = new PersonImpl("johnDoeId", "Johnny", new NameImpl("John Doe"));
 johnDoe.setPhoneNumbers(Lists.<ListField> newArrayList(new ListFieldImpl(
   "home", "+33H000000000"), new ListFieldImpl("mobile", "+33M000000000"),
   new ListFieldImpl("work", "+33W000000000")));
 johnDoe.setAddresses(Lists.<Address> newArrayList(new AddressImpl(
   "My home address")));
 johnDoe.setEmails(Lists.<ListField> newArrayList(new ListFieldImpl("work",
   "john.doe@work.bar"), new ListFieldImpl("home", "john.doe@home.bar")));
 activity = new ActivityImpl("activityId", johnDoe.getId());
 activity.setUrl("http://foo.com/");
 activity.setMediaItems(Lists.<MediaItem> newArrayList(new MediaItemImpl(
   "image/jpg", MediaItem.Type.IMAGE, "http://foo.bar")));
 beanXmlConverter = new BeanXStreamConverter(new XStream081Configuration(injector));
}
origin: org.wso2.org.apache.shindig/shindig-social-api

@Before
public void setUp() throws Exception {
 Injector injector = Guice.createInjector(new SocialApiTestsGuiceModule());
 johnDoe = new PersonImpl("johnDoeId", "Johnny", new NameImpl("John Doe"));
 johnDoe.setPhoneNumbers(Lists.<ListField> newArrayList(new ListFieldImpl(
   "home", "+33H000000000"), new ListFieldImpl("mobile", "+33M000000000"),
   new ListFieldImpl("work", "+33W000000000")));
 johnDoe.setAddresses(Lists.<Address> newArrayList(new AddressImpl(
   "My home address")));
 johnDoe.setEmails(Lists.<ListField> newArrayList(new ListFieldImpl("work",
   "john.doe@work.bar"), new ListFieldImpl("home", "john.doe@home.bar")));
 activity = new ActivityImpl("activityId", johnDoe.getId());
 activity.setUrl("http://foo.com/");
 activity.setMediaItems(Lists.<MediaItem> newArrayList(new MediaItemImpl(
   "image/jpg", MediaItem.Type.IMAGE, "http://foo.bar")));
 beanXmlConverter = new BeanXStreamConverter(new XStream081Configuration(injector));
}
origin: com.lmco.shindig/shindig-social-api

@Before
public void setUp() throws Exception {
 Injector injector = Guice.createInjector(new SocialApiTestsGuiceModule());
 johnDoe = new PersonImpl("johnDoeId", "Johnny", new NameImpl("John Doe"));
 johnDoe.setPhoneNumbers(Lists.<ListField> newArrayList(new ListFieldImpl(
   "home", "+33H000000000"), new ListFieldImpl("mobile", "+33M000000000"),
   new ListFieldImpl("work", "+33W000000000")));
 johnDoe.setAddresses(Lists.<Address> newArrayList(new AddressImpl(
   "My home address")));
 johnDoe.setEmails(Lists.<ListField> newArrayList(new ListFieldImpl("work",
   "john.doe@work.bar"), new ListFieldImpl("home", "john.doe@home.bar")));
 activity = new ActivityImpl("activityId", johnDoe.getId());
 MediaItemImpl mediaItem = new MediaItemImpl();
 mediaItem.setMimeType("image/jpg");
 mediaItem.setType(MediaItem.Type.IMAGE);
 mediaItem.setUrl("http://foo.bar");
 mediaItem.setLocation(new AddressImpl("Foo bar address"));
 mediaItem.setNumViews("10000");
 activity.setMediaItems(Lists.<MediaItem> newArrayList(mediaItem));
 activity.setUrl("http://foo.com");
 beanXmlConverter = new BeanXStreamAtomConverter(
   new XStream081Configuration(injector));
}
origin: org.apache.shindig/shindig-social-api

@Before
public void setUp() throws Exception {
 Injector injector = Guice.createInjector(new SocialApiTestsGuiceModule());
 johnDoe = new PersonImpl("johnDoeId", "Johnny", new NameImpl("John Doe"));
 johnDoe.setPhoneNumbers(Lists.<ListField> newArrayList(new ListFieldImpl(
   "home", "+33H000000000"), new ListFieldImpl("mobile", "+33M000000000"),
   new ListFieldImpl("work", "+33W000000000")));
 johnDoe.setAddresses(Lists.<Address> newArrayList(new AddressImpl(
   "My home address")));
 johnDoe.setEmails(Lists.<ListField> newArrayList(new ListFieldImpl("work",
   "john.doe@work.bar"), new ListFieldImpl("home", "john.doe@home.bar")));
 activity = new ActivityImpl("activityId", johnDoe.getId());
 MediaItemImpl mediaItem = new MediaItemImpl();
 mediaItem.setMimeType("image/jpg");
 mediaItem.setType(MediaItem.Type.IMAGE);
 mediaItem.setUrl("http://foo.bar");
 mediaItem.setLocation(new AddressImpl("Foo bar address"));
 mediaItem.setNumViews("10000");
 activity.setMediaItems(Lists.<MediaItem> newArrayList(mediaItem));
 activity.setUrl("http://foo.com");
 beanXmlConverter = new BeanXStreamAtomConverter(
   new XStream081Configuration(injector));
}
origin: org.wso2.org.apache.shindig/shindig-social-api

@Before
public void setUp() throws Exception {
 Injector injector = Guice.createInjector(new SocialApiTestsGuiceModule());
 johnDoe = new PersonImpl("johnDoeId", "Johnny", new NameImpl("John Doe"));
 johnDoe.setPhoneNumbers(Lists.<ListField> newArrayList(new ListFieldImpl(
   "home", "+33H000000000"), new ListFieldImpl("mobile", "+33M000000000"),
   new ListFieldImpl("work", "+33W000000000")));
 johnDoe.setAddresses(Lists.<Address> newArrayList(new AddressImpl(
   "My home address")));
 johnDoe.setEmails(Lists.<ListField> newArrayList(new ListFieldImpl("work",
   "john.doe@work.bar"), new ListFieldImpl("home", "john.doe@home.bar")));
 activity = new ActivityImpl("activityId", johnDoe.getId());
 MediaItemImpl mediaItem = new MediaItemImpl();
 mediaItem.setMimeType("image/jpg");
 mediaItem.setType(MediaItem.Type.IMAGE);
 mediaItem.setUrl("http://foo.bar");
 mediaItem.setLocation(new AddressImpl("Foo bar address"));
 mediaItem.setNumViews("10000");
 activity.setMediaItems(Lists.<MediaItem> newArrayList(mediaItem));
 activity.setUrl("http://foo.com");
 beanXmlConverter = new BeanXStreamAtomConverter(
   new XStream081Configuration(injector));
}
origin: org.wso2.org.apache.shindig/shindig-social-api

ListField email = new ListFieldImpl("work",
  "dev@shindig.apache.org");
canonical.setEmails(Lists.newArrayList(email));
canonical.setNickname("diggy");
canonical.setPets("dog,cat");
canonical.setPhoneNumbers(Lists.<ListField> newArrayList(new ListFieldImpl(
  "work", "111-111-111"), new ListFieldImpl("mobile", "999-999-999")));
origin: com.lmco.shindig/shindig-social-api

ListField email = new ListFieldImpl("work", "dev@shindig.apache.org");
canonical.setEmails(Lists.newArrayList(email));
canonical.setNickname("diggy");
canonical.setPets("dog,cat");
canonical.setPhoneNumbers(Lists.<ListField> newArrayList(new ListFieldImpl("work",
  "111-111-111"), new ListFieldImpl("mobile", "999-999-999")));
origin: org.wso2.org.apache.shindig/shindig-social-api

ListField email = new ListFieldImpl("work", "dev@shindig.apache.org");
canonical.setEmails(Lists.newArrayList(email));
canonical.setNickname("diggy");
canonical.setPets("dog,cat");
canonical.setPhoneNumbers(Lists.<ListField> newArrayList(new ListFieldImpl("work",
  "111-111-111"), new ListFieldImpl("mobile", "999-999-999")));
origin: com.lmco.shindig/shindig-social-api

ListField email = new ListFieldImpl("work",
  "dev@shindig.apache.org");
canonical.setEmails(Lists.newArrayList(email));
canonical.setNickname("diggy");
canonical.setPets("dog,cat");
canonical.setPhoneNumbers(Lists.<ListField> newArrayList(new ListFieldImpl(
  "work", "111-111-111"), new ListFieldImpl("mobile", "999-999-999")));
origin: org.apache.shindig/shindig-social-api

ListField email = new ListFieldImpl("work", "dev@shindig.apache.org");
canonical.setEmails(Lists.newArrayList(email));
canonical.setNickname("diggy");
canonical.setPets("dog,cat");
canonical.setPhoneNumbers(Lists.<ListField> newArrayList(new ListFieldImpl("work",
  "111-111-111"), new ListFieldImpl("mobile", "999-999-999")));
origin: org.apache.shindig/shindig-social-api

ListField email = new ListFieldImpl("work",
  "dev@shindig.apache.org");
canonical.setEmails(Lists.newArrayList(email));
canonical.setNickname("diggy");
canonical.setPets("dog,cat");
canonical.setPhoneNumbers(Lists.<ListField> newArrayList(new ListFieldImpl(
  "work", "111-111-111"), new ListFieldImpl("mobile", "999-999-999")));
origin: org.apache.shindig/shindig-samples

ListField email = new ListFieldImpl("work", "dev@shindig.apache.org");
canonical.setEmails(Lists.newArrayList(email));
canonical.setNickname("diggy");
canonical.setPets("dog,cat");
canonical.setPhoneNumbers(Lists.<ListField> newArrayList(new ListFieldImpl("work",
  "111-111-111"), new ListFieldImpl("mobile", "999-999-999")));
org.apache.shindig.social.core.modelListFieldImpl

Javadoc

ListField data structure

Most used methods

  • <init>

Popular in Java

  • Finding current android device location
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • onCreateOptionsMenu (Activity)
  • setRequestProperty (URLConnection)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now