com.compoze.collab.groupware
Class RecipientHelper

java.lang.Object
  extended by com.compoze.collab.groupware.RecipientHelper

public class RecipientHelper
extends Object

This class provides methods useful for working with recipients.


Constructor Summary
RecipientHelper()
           
 
Method Summary
static IMailRecipient[] getRecipientsByType(IMailRecipient[] recipients, RecipientType recipType)
          Gets the recipients from the array by the specified type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecipientHelper

public RecipientHelper()
Method Detail

getRecipientsByType

public static IMailRecipient[] getRecipientsByType(IMailRecipient[] recipients,
                                                   RecipientType recipType)
                                            throws CollaborationException
Gets the recipients from the array by the specified type.

Parameters
recipients - the recipients to get from (not null)
recipType - the recipient type (not null)
Returns
an array of the matching recipients (an empty array if there are no recipients of the specified type)
Throws
CollaborationException


Copyright © 2006 BEA Systems, Inc. All Rights Reserved