Examples of PostReplyRemovedEvent


Examples of net.pterodactylus.sone.core.event.PostReplyRemovedEvent

      /* store posts. */
      database.storePosts(sone, sone.getPosts());
      if (!soneRescueMode) {
        for (PostReply reply : storedSone.get().getReplies()) {
          if (!sone.getReplies().contains(reply)) {
            eventBus.post(new PostReplyRemovedEvent(reply));
          }
        }
      }
      Set<PostReply> storedReplies = storedSone.get().getReplies();
      for (PostReply reply : sone.getReplies()) {
View Full Code Here

Examples of net.pterodactylus.sone.core.event.PostReplyRemovedEvent

    for (Post post : sone.get().getPosts()) {
      eventBus.post(new PostRemovedEvent(post));
    }
    database.removePostReplies(sone.get());
    for (PostReply reply : sone.get().getReplies()) {
      eventBus.post(new PostReplyRemovedEvent(reply));
    }
    synchronized (sones) {
      sones.remove(identity.getId());
    }
    eventBus.post(new SoneRemovedEvent(sone.get()));
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.