|
Project Wonder 2.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object er.corebusinesslogic.ERCMailDelivery
Utility class used for sending mails via the ERCMailMessage database tables. Actual emails are then sent using the ERMailer application.
Field Summary | |
protected static ERCMailDelivery |
_sharedInstance
holds a reference to the shared instance |
static ERXLogger |
log
logging supprt |
Constructor Summary | |
ERCMailDelivery()
|
Method Summary | |
static String |
commaSeparatedListFromArray(NSArray a)
Utilitiy method used to break an array of email addresses down into a comma separated list. |
ERCMailMessage |
composeComponentEmail(String from,
NSArray to,
NSArray cc,
NSArray bcc,
String title,
String componentName,
NSDictionary bindings,
EOEditingContext ec)
Composes a mail message from a given component. |
ERCMailMessage |
composeComponentEmail(String from,
NSArray to,
NSArray cc,
NSArray bcc,
String title,
String componentName,
String plainTextComponentName,
NSDictionary bindings,
EOEditingContext ec)
Composes a mail message from a given component. |
ERCMailMessage |
composeComponentEmail(String from,
NSArray to,
NSArray cc,
NSArray bcc,
String title,
WOComponent component,
EOEditingContext ec)
Composes a mail message from a given component. |
ERCMailMessage |
composeEmail(String from,
NSArray to,
NSArray cc,
NSArray bcc,
String title,
String message,
EOEditingContext ec)
Composes a mail message. |
ERCMailMessage |
composeEmailWithAttachments(String from,
NSArray to,
NSArray cc,
NSArray bcc,
String title,
String message,
NSArray filePaths,
EOEditingContext ec)
Composes a mail message with attachments. |
static ERCMailDelivery |
sharedInstance()
Gets the shared instance used to create ERCMailMessages. |
static boolean |
usesMail()
Is Mail turned on |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final ERXLogger log
protected static ERCMailDelivery _sharedInstance
Constructor Detail |
public ERCMailDelivery()
Method Detail |
public static ERCMailDelivery sharedInstance()
public static String commaSeparatedListFromArray(NSArray a)
a
- array of email addresses
public static boolean usesMail()
public ERCMailMessage composeEmail(String from, NSArray to, NSArray cc, NSArray bcc, String title, String message, EOEditingContext ec)
from
- email addressto
- email addressescc
- email addressesbcc
- email addressestitle
- of the messagemessage
- text of the messageec
- editing context to create the mail
message in.
public ERCMailMessage composeEmailWithAttachments(String from, NSArray to, NSArray cc, NSArray bcc, String title, String message, NSArray filePaths, EOEditingContext ec)
from
- email addressto
- email addressescc
- email addressesbcc
- email addressestitle
- of the messagemessage
- text of the messagefilePaths
- array of file paths to attachec
- editing context to create the mail
message in.
public ERCMailMessage composeComponentEmail(String from, NSArray to, NSArray cc, NSArray bcc, String title, WOComponent component, EOEditingContext ec)
from
- email addressto
- email addressescc
- email addressesbcc
- email addressestitle
- of the messagecomponent
- to render to get the messageec
- editing context to create the mail
message in.
public ERCMailMessage composeComponentEmail(String from, NSArray to, NSArray cc, NSArray bcc, String title, String componentName, NSDictionary bindings, EOEditingContext ec)
from
- email addressto
- email addressescc
- email addressesbcc
- email addressestitle
- of the messagecomponentName
- name of the component to renderec
- editing context to create the mail
message in.
public ERCMailMessage composeComponentEmail(String from, NSArray to, NSArray cc, NSArray bcc, String title, String componentName, String plainTextComponentName, NSDictionary bindings, EOEditingContext ec)
from
- email addressto
- email addressescc
- email addressesbcc
- email addressestitle
- of the messagecomponentName
- name of the component to renderplainTextComponentName
- name of the component to renderec
- editing context to create the mail
message in.
|
Last updated: Do, Dez 9, 2004 12:46 PM CET | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |