Class CommentCreationVeto

java.lang.Object
org.nuxeo.ecm.platform.comment.notification.CommentCreationVeto
All Implemented Interfaces:
NotificationListenerVeto

@Deprecated(since="11.1", forRemoval=true) public class CommentCreationVeto extends Object implements NotificationListenerVeto
Deprecated, for removal: This API element is subject to removal in a future version.
since 11.1. Use CommentNotificationVeto instead.
This veto prevents from sending notifications for document creation when the target document is a Comment or a Post.
Since:
5.7
Author:
Thierry Martins
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    accept(Event event)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CommentCreationVeto

      public CommentCreationVeto()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • accept

      public boolean accept(Event event)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      accept in interface NotificationListenerVeto