Interface PublicationFollowerPolicyFilter

All Superinterfaces:
Comparable, PluginComponent, PolicyFilter
All Known Implementing Classes:
BasicPublicationFollowerPolicyFilter

public interface PublicationFollowerPolicyFilter extends PolicyFilter
  • Method Details

    • canFollow

      boolean canFollow(Member mbr, Publication pub)
      Returns true if the given member can follow the given publication.
      Parameters:
      mbr - the member
      pub - the publication
      Returns:
      true if the given member can follow the given publication.
      Since:
      jcms-7.0.0
    • sendFollowerNotification

      boolean sendFollowerNotification(Publication pub, Map context)
      Returns true if the notification must be sent to the follower of the given publication
      Parameters:
      pub - the publication
      context - the DataController context
      Returns:
      true if the notification must be sent to the follower of the given publication
      Since:
      jcms-7.0.0
    • sendFollowerNotification

      boolean sendFollowerNotification(Member mbr, Publication pub, Map context)
      Returns true if the notification for the given publication must be sent to the given member
      Parameters:
      mbr - the member
      pub - the publication
      context - the DataController context
      Returns:
      true if the notification for the given publication must be sent to the given member
      Since:
      jcms-7.0.0
    • searchParents

      boolean searchParents(boolean searchParents, Publication pub, Map context)
      Returns true if the notification should be sent to PublicationFollower of parent of the Publication
      Parameters:
      searchParents - the current searchParents value
      pub - the publication
      context - the current context
      Returns:
      true if the notification should be sent to PublicationFollower of parent of the Publication
      Since:
      jcms-8.0.1