|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.email.FollowUpManager
public class FollowUpManager
Provides the ability to set and handle follow-up Outlook flags.
Supports the features to add and remove a flag in
MapiMessage
, and mark it as completed as well.
Constructor Summary | |
---|---|
FollowUpManager()
|
Method Summary | |
---|---|
static void |
clearFlag(MapiMessage message)
Clears the follow-up flag and reminder. |
static FollowUpOptions |
getFlag(MapiMessage message)
Gets the follow-up flag of a message. |
static void |
markAsCompleted(MapiMessage message)
Marks the flagged message as completed. |
static void |
setFlag(MapiMessage message,
FollowUpOptions options)
Sets the follow-up flag for a message. |
static void |
setFlag(MapiMessage message,
String flagRequest)
Sets the follow-up flag for a message. |
static void |
setFlag(MapiMessage message,
String flagRequest,
Date startDate,
Date dueDate)
|
static void |
setFlagForRecipients(MapiMessage message,
String flagRequest)
Sets the flag for a draft message to remind recipients to follow-up. |
static void |
setFlagForRecipients(MapiMessage message,
String flagRequest,
Date reminderTime)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FollowUpManager()
Method Detail |
---|
public static void setFlag(MapiMessage message, FollowUpOptions options)
Sets the follow-up flag for a message.
message
- The MapiMessage
in which a flag will be set.options
- The FollowUpOptions
that represents options for using
follow-up flags and reminders.
com.aspose.email.ms.System.IllegalArgumentException
- If message
is null.
com.aspose.email.ms.System.IllegalArgumentException
- If options
is null.public static void setFlag(MapiMessage message, String flagRequest)
Sets the follow-up flag for a message.
message
- The MapiMessage
in which a flag will be set.flagRequest
- A string indicating the requested
action for an e-mail message.
com.aspose.email.ms.System.IllegalArgumentException
- If flagRequest
is null or empty.
com.aspose.email.ms.System.IllegalArgumentException
- If message
is null.public static void setFlag(MapiMessage message, String flagRequest, Date startDate, Date dueDate)
public static void setFlagForRecipients(MapiMessage message, String flagRequest)
Sets the flag for a draft message to remind recipients to follow-up.
message
- The MapiMessage
in which a flag will be set.flagRequest
- A string indicating the requested
action action for recipients of an e-mail message.
com.aspose.email.ms.System.IllegalArgumentException
- If message
is null.
com.aspose.email.ms.System.IllegalArgumentException
- If flagRequest
is null or empty.
IllegalStateException
- If message is not set on a draft mode.public static void setFlagForRecipients(MapiMessage message, String flagRequest, Date reminderTime)
public static void markAsCompleted(MapiMessage message)
Marks the flagged message as completed.
message
- The MapiMessage
in which a flag is set.
com.aspose.email.ms.System.IllegalArgumentException
- If message
is null.public static void clearFlag(MapiMessage message)
Clears the follow-up flag and reminder.
message
- The MapiMessage
in which a flag is set.
com.aspose.email.ms.System.IllegalArgumentException
- If message
is null.public static FollowUpOptions getFlag(MapiMessage message)
Gets the follow-up flag of a message.
message
- The MapiMessage
in which a flag is set.
FollowUpOptions
that represents options for using
follow-up flags and reminders.
com.aspose.email.ms.System.IllegalArgumentException
- If message
is null.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |