com.jalios.jcms.policy
Interface PublicationFollowerPolicyFilter

All Superinterfaces:
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
 boolean canFollow(Member mbr, Publication pub)
          Returns true if the given member can follow the given publication.
 boolean sendFollowerNotification(Member mbr, Publication pub, Map context)
          Returns true if the notification for the given publication must be sent to the given member
 boolean sendFollowerNotification(Publication pub, Map context)
          Returns true if the notification must be sent to the follower of the given publication
 
Methods inherited from interface java.lang.Comparable
compareTo
 
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 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


Copyright © 2001-2010 Jalios SA. All Rights Reserved.