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

Examples of com.ibm.sbt.services.client.connections.forums.ForumTopic


  protected Element question() {
    if (!isForumTopic()) {
      return null;
    }
    ForumTopic topic = (ForumTopic) entity;
    return topic.isQuestion() ? element(CATEGORY,
        attribute(SCHEME, Namespace.FLAGS.getUrl()),
        attribute(TERM, QUESTION)) : null;
  }
View Full Code Here


    }
   
    protected ForumTopic createForumTopic(Forum forum, String title, String content) {
      ForumService forumService = getForumService();
     
      ForumTopic forumTopic = new ForumTopic(forumService);
      forumTopic.setForumUuid(forum.getForumUuid());
      forumTopic.setTitle(title);
      forumTopic.setContent(content);
     
      try {
        return forumService.createForumTopic(forumTopic);
      } catch (Exception fse) {
        fail("Error creating forum topic", fse);
View Full Code Here

TOP

Related Classes of com.ibm.sbt.services.client.connections.forums.ForumTopic

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.