Examples of Topics


Examples of org.netcools.forum.model.Topics

    this.topicsDao = topicsDao;
  }

  @Override
  public List<Posts> findPostsByTopic(int topicId) {
    Topics topic = new Topics();
    topic.setId(topicId);
    return postsDao.findByTopic(topic);
  }
View Full Code Here

Examples of org.netcools.forum.model.Topics

      post.setPostsText(new PostsText());
      post.setPostTime(new Date());
      post.setPostEditCount(1);
      post.getPostsText().setPost(post);
      post.setForum(new Forums(forumId));
      post.setTopic(new Topics(topicId));
      post.setUser(new Users(userId));
    } else {
      post.setPostEditCount(post.getPostEditCount() + 1);
    }
   
View Full Code Here

Examples of org.netcools.forum.model.Topics

  }

  @Override
  public void addTopics(String subject, String text, int forumId,
      Integer userId, String posterIp) {
    Topics topic = new Topics();
   
    Forums forum = new Forums();
    forum.setId(forumId);
   
    PostsText postsText = new PostsText();
    postsText.setSubject(subject);
    postsText.setText(text);
   
    Posts post = new Posts();
    post.setForum(forum);
    post.setPostEditCount(1);
    Date date = new Date();
    post.setPostEditTime(date);
    post.setPosterIp(posterIp);
    post.setPostsText(postsText);
    post.setPostTime(date);
    post.setTopic(topic);
   
    postsText.setPost(post);
   
    Users user = new Users();
    userId = 3;
    user.setId(userId);
    post.setUser(user);
   
    topic.setVoteDesc(new VoteDesc(0));
   
    topic.setTitle(subject);
    topic.setForum(forum);
    topic.getPosts().add(post);
    topic.setFirstPost(post);
    topic.setLastPost(post);
    topic.setUser(user);
   
    topicsDao.save(topic);
  }
View Full Code Here

Examples of org.owasp.jbrofuzz.help.Topics

    topics.addActionListener(new ActionListener() {
      public void actionPerformed(final ActionEvent e) {

        SwingUtilities.invokeLater(new Runnable() {
          public void run() {
            new Topics(mainFrame);
          }
        });
      }
    });
   
View Full Code Here

Examples of org.owasp.jbrofuzz.help.Topics

    help.addActionListener(new ActionListener() {
      public void actionPerformed(final ActionEvent e) {

        SwingUtilities.invokeLater(new Runnable() {
          public void run() {
            new Topics(JBroFuzzToolBar.this.getFrame());
          }
        });
      }
    });
View Full Code Here

Examples of zendeskapi.requests.Topics

    satisfactionRatings = new SatisfactionRatings(yourZendeskUrl, user, password);
    search = new Search(yourZendeskUrl, user, password);
    sharingAgreements = new SharingAgreements(yourZendeskUrl, user, password);
    tags = new Tags(yourZendeskUrl, user, password);
    tickets = new Tickets(yourZendeskUrl, user, password);
    topics = new Topics(yourZendeskUrl, user, password);
    triggers = new Triggers(yourZendeskUrl, user, password);
    users = new Users(yourZendeskUrl, user, password);
    views = new Views(yourZendeskUrl, user, password);

    zendeskUrl = yourZendeskUrl;
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.