Package com.jalios.jcms.policy
Interface PublicationFollowerPolicyFilter
-
- All Superinterfaces:
java.lang.Comparable
,PluginComponent
,PolicyFilter
- All Known Implementing Classes:
BasicPublicationFollowerPolicyFilter
public interface PublicationFollowerPolicyFilter extends PolicyFilter
-
-
Field Summary
-
Fields inherited from interface com.jalios.jcms.plugin.PluginComponent
REVISION
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
canFollow(Member mbr, Publication pub)
Returns true if the given member can follow the given publication.boolean
searchParents(boolean searchParents, Publication pub, java.util.Map context)
Returns true if the notification should be sent to PublicationFollower of parent of the Publicationboolean
sendFollowerNotification(Member mbr, Publication pub, java.util.Map context)
Returns true if the notification for the given publication must be sent to the given memberboolean
sendFollowerNotification(Publication pub, java.util.Map context)
Returns true if the notification must be sent to the follower of the given publication-
Methods inherited from interface com.jalios.jcms.plugin.PluginComponent
init
-
-
-
-
Method Detail
-
canFollow
boolean canFollow(Member mbr, Publication pub)
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
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 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
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 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
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 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
-
-