Interface PublicationFollowerPolicyFilter

    • Method Detail

      • 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,
                                         java.util.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,
                                         java.util.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,
                              java.util.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