Package net.sourceforge.pebble.api.event.comment

Examples of net.sourceforge.pebble.api.event.comment.CommentListener.commentApproved()


      if (event.getType() == CommentEvent.COMMENT_ADDED) {
        listener.commentAdded(event);
      } else if (event.getType() == CommentEvent.COMMENT_REMOVED) {
        listener.commentRemoved(event);
      } else if (event.getType() == CommentEvent.COMMENT_APPROVED) {
        listener.commentApproved(event);
      } else if (event.getType() == CommentEvent.COMMENT_REJECTED) {
        listener.commentRejected(event);
      }

      // has the event been vetoed?
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.