public class RecipientInformationStore
extends java.lang.Object
Constructor and Description |
---|
RecipientInformationStore(java.util.Collection recipientInfos) |
Modifier and Type | Method and Description |
---|---|
RecipientInformation |
get(RecipientId selector)
Return the first RecipientInformation object that matches the
passed in selector.
|
java.util.Collection |
getRecipients()
Return all recipients in the collection
|
java.util.Collection |
getRecipients(RecipientId selector)
Return possible empty collection with recipients matching the passed in RecipientId
|
int |
size()
Return the number of recipients in the collection.
|
public RecipientInformationStore(java.util.Collection recipientInfos)
public RecipientInformation get(RecipientId selector)
selector
- to identify a recipientpublic int size()
public java.util.Collection getRecipients()
public java.util.Collection getRecipients(RecipientId selector)
selector
- a recipient id to select against.