|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--portlets.compoze.groupware.mail.ComposeAction
This class represents a compose action.
Field Summary | |
static int |
ACTION_DRAFT
This represents a 'draft' action. |
static int |
ACTION_FORWARD
This represents a 'forward' action. |
static int |
ACTION_MEETING_ACCEPT
This represents a 'meeting accept' action. |
static int |
ACTION_MEETING_ACCEPT_TENTATIVE
This represents a 'meeting accept tentative' action. |
static int |
ACTION_MEETING_DECLINE
This represents a 'meeting decline' action. |
static int |
ACTION_NEW_MESSAGE
This represents a 'new message' action. |
static int |
ACTION_REPLY
This represents a 'reply' action. |
static int |
ACTION_REPLY_ALL
This represents a 'reply all' action. |
Constructor Summary | |
ComposeAction()
|
Method Summary | |
static java.lang.String |
prepareBody(java.lang.String sFrom,
java.lang.String sSubject,
java.util.Date timeReceived,
RecipientInfo info,
java.lang.String sBody,
java.util.Locale locale,
java.util.TimeZone timeZone)
Prepares the message body. |
static java.lang.String |
prepareSubject(java.lang.String sSubject,
int iAction,
java.util.Locale locale)
Prepares the subject. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int ACTION_NEW_MESSAGE
public static final int ACTION_REPLY
public static final int ACTION_FORWARD
public static final int ACTION_MEETING_ACCEPT
public static final int ACTION_MEETING_DECLINE
public static final int ACTION_MEETING_ACCEPT_TENTATIVE
public static final int ACTION_DRAFT
public static final int ACTION_REPLY_ALL
Constructor Detail |
public ComposeAction()
Method Detail |
public static java.lang.String prepareSubject(java.lang.String sSubject, int iAction, java.util.Locale locale)
sSubject
- the subject to prepareiAction
- the action (see ACTION_
constants)locale
- the localepublic static java.lang.String prepareBody(java.lang.String sFrom, java.lang.String sSubject, java.util.Date timeReceived, RecipientInfo info, java.lang.String sBody, java.util.Locale locale, java.util.TimeZone timeZone)
sFrom
- the fromsSubject
- the message subjecttimeReceived
- the time receivedinfo
- the recipientssBody
- the message bodylocale
- the localetimeZone
- the time zone
|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |