com.day.cq.mailer.commons
Class GroupMailingList

java.lang.Object
  extended by com.day.cq.mailer.commons.GroupMailingList
All Implemented Interfaces:
MailingList

public class GroupMailingList
extends Object
implements MailingList

MailingList that takes a Group's members as its members. The List unfolds the transitive dependencies of Group membership

Since:
5.4
See Also:
MailingList

Constructor Summary
GroupMailingList(Group group)
           
GroupMailingList(Group group, org.apache.commons.collections.Predicate filterPredicate)
          Constructor to set an optional filter predicate.
 
Method Summary
 Iterator<Authorizable> members()
          The members of this List
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupMailingList

public GroupMailingList(Group group)
Parameters:
group - this list represents

GroupMailingList

public GroupMailingList(Group group,
                        org.apache.commons.collections.Predicate filterPredicate)
Constructor to set an optional filter predicate.

Parameters:
group - group this list represents
filterPredicate - an optional filter predicate to filter the group members when accessing the members() method.
Method Detail

members

public Iterator<Authorizable> members()
                               throws RepositoryException
Description copied from interface: MailingList
The members of this List

Specified by:
members in interface MailingList
Returns:
all members of the Group including transitive members
Throws:
RepositoryException


Copyright © 2011-2013 Adobe Systems Incorporated. All Rights Reserved.