Package com.day.cq.mailer.commons
Class AuthorizableGroupMailingList
- java.lang.Object
-
- com.day.cq.mailer.commons.AuthorizableGroupMailingList
-
- All Implemented Interfaces:
AuthorizableMailingList
public class AuthorizableGroupMailingList extends java.lang.Object implements AuthorizableMailingList
MailingList that takes aGroup's
members as its members. The List unfolds the transitive dependencies ofGroup.getMembers()
Group membership}- See Also:
AuthorizableMailingList
-
-
Constructor Summary
Constructors Constructor Description AuthorizableGroupMailingList(Group group)
AuthorizableGroupMailingList(Group group, Predicate filterPredicate)
Constructor to set an optional filter predicate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Iterator<Authorizable>
members()
The members of this List
-
-
-
Constructor Detail
-
AuthorizableGroupMailingList
public AuthorizableGroupMailingList(Group group)
- Parameters:
group
- Group
-
AuthorizableGroupMailingList
public AuthorizableGroupMailingList(Group group, Predicate filterPredicate)
Constructor to set an optional filter predicate.- Parameters:
group
- group this list representsfilterPredicate
- an optional filter predicate to filter the group members when accessing themembers()
method.
-
-
Method Detail
-
members
public java.util.Iterator<Authorizable> members() throws RepositoryException
Description copied from interface:AuthorizableMailingList
The members of this List- Specified by:
members
in interfaceAuthorizableMailingList
- Returns:
- all members of the Group including transitive members
- Throws:
RepositoryException
- if an error occurs.
-
-