|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opengts.db.Recipients
public class Recipients
Constructor Summary | |
---|---|
Recipients()
Constructor: Empty list of recipients |
|
Recipients(java.util.Set<java.lang.String> recipSet)
Constructor: Set containing a list of EMail/SMS recipients |
|
Recipients(java.lang.String recipCSV)
Constructor: String containing a comma-separated list of EMail/SMS recipients |
Method Summary | |
---|---|
void |
addRecipients(java.util.Set<java.lang.String> recipSet)
Adds the specified set of recipients to this instance |
void |
addRecipients(java.lang.String recipCSV)
Adds the specified comma-separated list of recipients to this instance |
static java.lang.String |
extractEmailRecipients(java.lang.String recipCSV)
Extracts and returns all email recipients in the specified comma-separated recipient list |
static java.lang.String |
extractSmsRecipients(java.lang.String recipCSV)
Extracts and returns all SMS recipients in the specified comma-separated recipient list |
java.util.Set<java.lang.String> |
getEmailRecipients()
Returns the set of email recipients (null if no email recipients specified) |
java.lang.String |
getEmailRecipientsString()
Returns the comma-separated String of email recipients |
java.util.Set<java.lang.String> |
getSmsRecipients()
Returns the set of SMS recipients (null if no SMS recipients specified) |
java.lang.String |
getSmsRecipientsString()
Returns the comma-separated String of SMS recipients |
boolean |
hasEmailRecipients()
Returns true if this instance defined at least one email address |
boolean |
hasRecipients()
Returns true if this instance defines at least one recipient |
boolean |
hasSmsRecipients()
Returns true if this instance defined at least one sms number |
static void |
main(java.lang.String[] argv)
|
java.lang.String |
toString()
Returns a String representation of this instance (debug only) |
boolean |
validateEmailRecipients()
Validates contained email addresses |
boolean |
validateSmsRecipients()
Validates contained SMS phone numbers |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Recipients()
public Recipients(java.util.Set<java.lang.String> recipSet)
public Recipients(java.lang.String recipCSV)
Method Detail |
---|
public static java.lang.String extractEmailRecipients(java.lang.String recipCSV)
public static java.lang.String extractSmsRecipients(java.lang.String recipCSV)
public void addRecipients(java.lang.String recipCSV)
public void addRecipients(java.util.Set<java.lang.String> recipSet)
public java.util.Set<java.lang.String> getEmailRecipients()
public java.lang.String getEmailRecipientsString()
public boolean hasEmailRecipients()
public boolean validateEmailRecipients()
public java.util.Set<java.lang.String> getSmsRecipients()
public java.lang.String getSmsRecipientsString()
public boolean hasSmsRecipients()
public boolean validateSmsRecipients()
public boolean hasRecipients()
public java.lang.String toString()
toString
in class java.lang.Object
public static void main(java.lang.String[] argv)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |