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

Examples of com.ibm.sbt.services.client.connections.activitystreams.ActivityStreamService


     * Save an AS entry so the list is not empty.
     * @throws ActivityStreamServiceException
     */
    protected void saveEntry() throws ActivityStreamServiceException{
      if(activityStreamService == null){
        activityStreamService = new ActivityStreamService();
      }
      String eventId = null;
      Map<String, String> params = new HashMap<String, String>();
      params.put("rollup", "true");
      ActivityStreamEntityList list = activityStreamService.getStream("@me", "@all", "@all", params);
View Full Code Here


      if (actionable) connections.put("actionable", "true");
      if (saved) connections.put("saved", "true");
      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

    object.putString("displayName", "Display Name for Misscrblogging sameple");
    postPayload.putObject("actor", actor);
    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

Related Classes of com.ibm.sbt.services.client.connections.activitystreams.ActivityStreamService

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.