Package com.ikanow.infinit.e.data_model.store.social.sharing.SharePojo

Examples of com.ikanow.infinit.e.data_model.store.social.sharing.SharePojo.ShareOwnerPojo


    addSocial(share);
   
    DbManager.getSocial().getShare().save(share.toDb());
  }
  private static void addSocial(SharePojo share) {
    ShareOwnerPojo person = new ShareOwnerPojo();
    person.set_id(new ObjectId("4e3706c48d26852237078005")); // (admin)
    person.setEmail("infinite_default@ikanow.com");
    person.setDisplayName("infinite_default@ikanow.com");
    share.setOwner(person);
    share.setCommunities(new ArrayList<ShareCommunityPojo>(2));
    ShareCommunityPojo community = new ShareCommunityPojo();
    community.set_id(new ObjectId("4c927585d591d31d7b37097a"));
    community.setName("System");
View Full Code Here


   * @return
   */
  private ShareOwnerPojo getOwner(PersonPojo owner)
  {
    // Set ShareOwner
    ShareOwnerPojo shareOwner = new ShareOwnerPojo();
    shareOwner.set_id(owner.get_id());
    shareOwner.setDisplayName(owner.getDisplayName());
    shareOwner.setEmail(owner.getEmail());
    return shareOwner;
  }
View Full Code Here

TOP

Related Classes of com.ikanow.infinit.e.data_model.store.social.sharing.SharePojo.ShareOwnerPojo

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.