public class NotificationQuery
extends java.lang.Object
It provides two methods to retrieve the publication corresponding to one or several members' notification criteria :
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
REVISION |
Constructor and Description |
---|
NotificationQuery(int period)
Create a new NotificationQuery for the specified period and
immediately retrieve the visible publications created,
updated or modified during this period.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<Publication> |
getMemberPublicationSet(Member mbr)
This methods finds publications matching notification
criterias of query period for the specified member.
|
java.util.Map<Member,java.util.Set<? extends Publication>> |
getMemberToPublicationSetMap(java.util.Set<Member> memberSet)
This methods finds for each members to be notified the
publications matching notification criterias of given period.
|
public static final java.lang.String REVISION
public NotificationQuery(int period)
period
- the period as returned by NotificationManager.getAvailablePeriods()
public java.util.Map<Member,java.util.Set<? extends Publication>> getMemberToPublicationSetMap(java.util.Set<Member> memberSet)
memberSet
- The Set of Member for which to retrieve the Publicationpublic java.util.Set<Publication> getMemberPublicationSet(Member mbr)
mbr
- the member for which publicaiton are being retrievedCopyright © 2001-2010 Jalios SA. All Rights Reserved.