Package com.ibm.sbt.services.client.connections.activitystreams

Examples of com.ibm.sbt.services.client.connections.activitystreams.ActivityStreamService.postEntry()


      postPayload.put("connections", connections);
    }
   
    ActivityStreamService service = new ActivityStreamService();
    try {
      String entryID = service.postEntry(userType, groupType, applicationType, postPayload);
      System.out.println("Created Entry "+entryID);
     
    } catch (SBTServiceException e) {
      fail("SBTServiceException: " + e.getMessage());
    }
View Full Code Here


    postPayload.putString("verb", "@invite");
    postPayload.putObject("object", object);

    ActivityStreamService service = new ActivityStreamService();
    try {
      service.postEntry("@me", "@status", "@all", postPayload);
    } catch (SBTServiceException e) {
      fail("SBTServiceException: " + e.getMessage());
    }
    }
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.