Package com.google.enterprise.connector.spi.SocialUserProfileDocument

Examples of com.google.enterprise.connector.spi.SocialUserProfileDocument.ColleagueData


    }
    if (userColleagues != null) {
      ArrayList<ColleagueData> socialColleagues = new ArrayList<ColleagueData>();
      for (ContactData contact : userColleagues) {
        if ((!secure) && (contact.getPrivacy() == Privacy.Public)) {
          ColleagueData oneColleague = new ColleagueData();
          oneColleague.setIdentity(contact.getAccountName());
          oneColleague.setEmail(contact.getEmail());
          oneColleague.setGroup(contact.getGroup());
          oneColleague.setInWorkGroup(contact.isIsInWorkGroup());
          oneColleague.setName(contact.getName());
          oneColleague.setTitle(contact.getTitle());
          oneColleague.setUrl(contact.getUrl());
          socialColleagues.add(oneColleague);
        }
      }
      userProfile.setColleagues(socialColleagues);
      String url;
View Full Code Here


    userProfile.setPastProjects(data);
    userProfile.setPictureUrl("http://foo/picture");
    userProfile.setProperty("prop1", data);
    userProfile.setProperty("prop2", data);
    ArrayList<ColleagueData> colleagues = new ArrayList<ColleagueData>();
    ColleagueData colleague = new ColleagueData();
    colleague.setIdentity("google\\foo");
    colleague.setEmail("foo@google.com");
    colleague.setGroup("mygroup");
    colleague.setInWorkGroup(true);
    colleague.setTitle("big guy");
    colleague.setUrl("http://foo/itshim");
    colleagues.add(colleague);
    userProfile.setColleagues(colleagues);
    userProfile.setPublic(true);
    userProfile.setSkills(data);
    userProfile.setUserContent("Hey hey");
View Full Code Here

TOP

Related Classes of com.google.enterprise.connector.spi.SocialUserProfileDocument.ColleagueData

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.