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

Examples of com.ibm.sbt.services.client.connections.communities.Community.save()


    String type = "public";
    if (TestEnvironment.isSmartCloudEnvironment()) {
      type = "private";
    }
    community.setCommunityType(type);
    community = community.save();
    community = community.load();
    return community;
  }

  @Ignore
View Full Code Here


         community =  new Community(communityService, "");
         community.setTitle("Test Community 1ab" + System.currentTimeMillis());
         community.setContent("");
        community.setCommunityType("public");
        community.setTags(tags);
         community = community.save();
         long duration = System.currentTimeMillis() - start;
         Trace.log("Created test community: "+community.getCommunityUuid() + " took "+duration+"(ms)");
         } catch (ClientServicesException e) {
           System.out.println("Grid Setup Error: cannot create community");
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.