|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EmailTextFormatter
Interface for classes used to format email subject and body text.
The overview of community functionality contains a description of the community framework.
Method Summary | |
---|---|
void |
destroy()
Called by EmailInviter implementations once they are
completed using this EmailTextFormatter , giving the
formatter an opportunity to do any necessary cleanup or to
release resources obtained in init. |
EmailContent |
getBody(Invitee i)
Get the email body text for the current Invitee |
EmailContent |
getSubject(Invitee i)
Get the email subject text for the current Invitee |
void |
init(InvitationDetails invitationDetails,
String invitationURL)
Perform any one-time setup operations that need to be done such as obtaining resources that are needed during calls to getSubject and getBody |
Method Detail |
---|
void init(InvitationDetails invitationDetails, String invitationURL)
invitationDetails
- the InvitationDetails
for this invitation operationinvitationURL
- the URL to the registration page or the community for this
invitation operation. Email messages should include this URL so that recipients
can navigate to the inviting community.EmailContent getSubject(Invitee i) throws IOException
Invitee
i
- the current Invitee
IOException
EmailContent getBody(Invitee i) throws IOException
Invitee
i
- the current Invitee
IOException
void destroy()
EmailInviter
implementations once they are
completed using this EmailTextFormatter
, giving the
formatter an opportunity to do any necessary cleanup or to
release resources obtained in init.
|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |