Package com.jalios.jcms.policy
Interface PublicationFollowerPolicyFilter
- All Superinterfaces:
Comparable,PluginComponent,PolicyFilter
- All Known Implementing Classes:
BasicPublicationFollowerPolicyFilter
-
Method Summary
Modifier and TypeMethodDescriptionbooleancanFollow(Member mbr, Publication pub) Returns true if the given member can follow the given publication.booleansearchParents(boolean searchParents, Publication pub, Map context) Returns true if the notification should be sent to PublicationFollower of parent of the PublicationbooleansendFollowerNotification(Member mbr, Publication pub, Map context) Returns true if the notification for the given publication must be sent to the given memberbooleansendFollowerNotification(Publication pub, Map context) Returns true if the notification must be sent to the follower of the given publicationMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.jalios.jcms.plugin.PluginComponent
init
-
Method Details
-
canFollow
Returns true if the given member can follow the given publication.- Parameters:
mbr- the memberpub- the publication- Returns:
- true if the given member can follow the given publication.
- Since:
- jcms-7.0.0
-
sendFollowerNotification
Returns true if the notification must be sent to the follower of the given publication- Parameters:
pub- the publicationcontext- the DataController context- Returns:
- true if the notification must be sent to the follower of the given publication
- Since:
- jcms-7.0.0
-
sendFollowerNotification
Returns true if the notification for the given publication must be sent to the given member- Parameters:
mbr- the memberpub- the publicationcontext- 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
Returns true if the notification should be sent to PublicationFollower of parent of the Publication- Parameters:
searchParents- the current searchParents valuepub- the publicationcontext- the current context- Returns:
- true if the notification should be sent to PublicationFollower of parent of the Publication
- Since:
- jcms-8.0.1
-