FollowUpManager

Inheritance: java.lang.Object

public class FollowUpManager

Provides the ability to set and handle follow-up Outlook flags and categories. Supports the features to add and remove a flag in MapiMessage, and mark it as completed as well.

Constructors

ConstructorDescription
FollowUpManager()

Methods

MethodDescription
addCategory(MapiMessageItemBase message, String categoryName)Adds the category for a message.
addVotingButton(MapiMessageItemBase message, String displayName)Adds the voting button.
clearCategories(MapiMessageItemBase message)Clears the categories.
clearFlag(MapiMessageItemBase message)Clears the follow-up flag and reminder.
clearVotingButtons(MapiMessageItemBase message)Deletes the voting buttons.
equals(Object arg0)
getCategories(MapiMessageItemBase message)Get the available message categories.
getClass()
getOptions(MapiMessageItemBase message)Gets the follow-up options of a message.
getVotingButtons(MapiMessageItemBase message)Get the available message voting buttons.
getVotingButtonsArray(MapiMessageItemBase message)Get the available message voting buttons.
hashCode()
markAsCompleted(MapiMessageItemBase message)Marks the flagged message as completed.
notify()
notifyAll()
removeCategory(MapiMessageItemBase message, String categoryName)Removes the category.
removeVotingButton(MapiMessageItemBase message, String displayName)Removes the voting button.
setFlag(MapiMessageItemBase message, String flagRequest)Sets the follow-up flag for a message.
setFlag(MapiMessageItemBase message, String flagRequest, Date startDate, Date dueDate)Sets the follow-up flag for a message.
setFlagForRecipients(MapiMessageItemBase message, String flagRequest)Sets the flag for a draft message to remind recipients to follow-up.
setFlagForRecipients(MapiMessageItemBase message, String flagRequest, Date reminderTime)Sets the flag for a draft message to remind recipients to follow-up.
setOptions(MapiMessageItemBase message, FollowUpOptions options)Sets the additional follow-up options for a message.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

FollowUpManager()

public FollowUpManager()

addCategory(MapiMessageItemBase message, String categoryName)

public static void addCategory(MapiMessageItemBase message, String categoryName)

Adds the category for a message.

Parameters:

ParameterTypeDescription
messageMapiMessageItemBaseThe MapiMessageItemBase in which a category will be added.
categoryNamejava.lang.StringCategory name.

addVotingButton(MapiMessageItemBase message, String displayName)

public static void addVotingButton(MapiMessageItemBase message, String displayName)

Adds the voting button.

Parameters:

ParameterTypeDescription
messageMapiMessageItemBaseThe MapiMessageItemBase in which the voting button is added.
displayNamejava.lang.StringThe display name of button.

clearCategories(MapiMessageItemBase message)

public static void clearCategories(MapiMessageItemBase message)

Clears the categories.

Parameters:

ParameterTypeDescription
messageMapiMessageItemBaseThe MapiMessageItemBase in which the categories will be cleared.

clearFlag(MapiMessageItemBase message)

public static void clearFlag(MapiMessageItemBase message)

Clears the follow-up flag and reminder.

Parameters:

ParameterTypeDescription
messageMapiMessageItemBaseThe MapiMessageItemBase in which a flag is set.

clearVotingButtons(MapiMessageItemBase message)

public static void clearVotingButtons(MapiMessageItemBase message)

Deletes the voting buttons.

Parameters:

ParameterTypeDescription
messageMapiMessageItemBaseThe MapiMessageItemBase in which the categories will be cleared.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getCategories(MapiMessageItemBase message)

public static System.Collections.IList getCategories(MapiMessageItemBase message)

Get the available message categories.

Parameters:

ParameterTypeDescription
messageMapiMessageItemBaseThe MapiMessageItemBase in which the categories are added.

Returns: com.aspose.ms.System.Collections.IList - The list of added categories.

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getOptions(MapiMessageItemBase message)

public static FollowUpOptions getOptions(MapiMessageItemBase message)

Gets the follow-up options of a message.

Parameters:

ParameterTypeDescription
messageMapiMessageItemBaseThe MapiMessageItemBase in which options is set.

Returns: FollowUpOptions - The FollowUpOptions that represents options for using follow-up flags, reminders, category and voting buttons.

getVotingButtons(MapiMessageItemBase message)

public static System.Collections.IList getVotingButtons(MapiMessageItemBase message)

Get the available message voting buttons.

Parameters:

ParameterTypeDescription
messageMapiMessageItemBaseThe MapiMessageItemBase in which the buttons are added.

Returns: com.aspose.ms.System.Collections.IList - The list of added voting buttons.

getVotingButtonsArray(MapiMessageItemBase message)

public static String[] getVotingButtonsArray(MapiMessageItemBase message)

Get the available message voting buttons.

Parameters:

ParameterTypeDescription
messageMapiMessageItemBaseThe MapiMessageItemBase in which the buttons are added.

Returns: java.lang.String[] - The list of added voting buttons.

hashCode()

public native int hashCode()

Returns: int

markAsCompleted(MapiMessageItemBase message)

public static void markAsCompleted(MapiMessageItemBase message)

Marks the flagged message as completed.

Parameters:

ParameterTypeDescription
messageMapiMessageItemBaseThe MapiMessageItemBase in which a flag is set.

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

removeCategory(MapiMessageItemBase message, String categoryName)

public static void removeCategory(MapiMessageItemBase message, String categoryName)

Removes the category.

Parameters:

ParameterTypeDescription
messageMapiMessageItemBaseThe message.
categoryNamejava.lang.StringName of the category.

removeVotingButton(MapiMessageItemBase message, String displayName)

public static void removeVotingButton(MapiMessageItemBase message, String displayName)

Removes the voting button.

Parameters:

ParameterTypeDescription
messageMapiMessageItemBaseThe MapiMessageItemBase in which the voting button is removed.
displayNamejava.lang.StringThe display name of button.

setFlag(MapiMessageItemBase message, String flagRequest)

public static void setFlag(MapiMessageItemBase message, String flagRequest)

Sets the follow-up flag for a message.

Parameters:

ParameterTypeDescription
messageMapiMessageItemBaseThe MapiMessageItemBase in which a flag will be set.
flagRequestjava.lang.StringA string indicating the requested action for an e-mail message.

setFlag(MapiMessageItemBase message, String flagRequest, Date startDate, Date dueDate)

public static void setFlag(MapiMessageItemBase message, String flagRequest, Date startDate, Date dueDate)

Sets the follow-up flag for a message.

Parameters:

ParameterTypeDescription
messageMapiMessageItemBaseThe MapiMessageItemBase in which a flag will be set.
flagRequestjava.lang.StringA string indicating the requested action for an e-mail message.
startDatejava.util.DateThe start date.
dueDatejava.util.DateThe due date.

setFlagForRecipients(MapiMessageItemBase message, String flagRequest)

public static void setFlagForRecipients(MapiMessageItemBase message, String flagRequest)

Sets the flag for a draft message to remind recipients to follow-up.

Parameters:

ParameterTypeDescription
messageMapiMessageItemBaseThe MapiMessageItemBase in which a flag will be set.
flagRequestjava.lang.StringA string indicating the requested action action for recipients of an e-mail message.

setFlagForRecipients(MapiMessageItemBase message, String flagRequest, Date reminderTime)

public static void setFlagForRecipients(MapiMessageItemBase message, String flagRequest, Date reminderTime)

Sets the flag for a draft message to remind recipients to follow-up.

Parameters:

ParameterTypeDescription
messageMapiMessageItemBaseThe MapiMessageItemBase in which a flag will be set.
flagRequestjava.lang.StringA string indicating the requested action action for recipients of an e-mail message.
reminderTimejava.util.DateA date indicating the date and time at which the reminder should occur.

setOptions(MapiMessageItemBase message, FollowUpOptions options)

public static void setOptions(MapiMessageItemBase message, FollowUpOptions options)

Sets the additional follow-up options for a message.

Parameters:

ParameterTypeDescription
messageMapiMessageItemBaseThe MapiMessageItemBase in which a flag will be set.
optionsFollowUpOptionsThe FollowUpOptions that represents options for using follow-up flags and reminders.

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int