public class MapiTask extends MapiMessageItemBase
Represents the Outlook Task object.
attachments, namedPropertyMappingStorage, recipients
Constructor and Description |
---|
MapiTask()
Initializes a new instance of the
MapiTask class. |
MapiTask(String subject,
String body,
Date startDate,
Date dueDate)
Initializes a new instance of the
MapiTask class. |
Modifier and Type | Method and Description |
---|---|
static MapiTask |
fromVTodo(InputStream stream)
Creates an instance of MapiTask from the specified stream.
|
static MapiTask |
fromVTodo(InputStream stream,
boolean detectEncoding)
Creates an instance of MapiTask from the specified stream.
|
static MapiTask |
fromVTodo(String filePath)
Creates an instance of MapiTask from the specified .ics file.
|
static MapiTask |
fromVTodo(String filePath,
boolean detectEncoding)
Creates an instance of MapiTask from the specified .ics file.
|
int |
getAcceptanceState()
Gets or sets the acceptance state of the task.
|
int |
getActualEffort()
Gets or sets the number of minutes that
the user actually spent working on a task.
|
Date |
getDateCompleted()
Gets or sets the date when
the user completed work on the task.
|
Date |
getDueDate()
Gets or sets the date by which the user expects work
on the task to be complete.
|
int |
getEstimatedEffort()
Gets or sets the number of minutes
that the user expects to work on a task.
|
int |
getFlags()
Gets the indication flags of the Task object.
|
int |
getHistory()
Gets or sets the type of change
that was last made to the Task object.
|
Date |
getLastUpdate()
Gets or sets the date and time of the most
recent change made to the Task object.
|
int |
getMode()
Gets or sets the assignment status of the Task object.
|
int |
getPercentComplete()
Gets or sets the progress the user has made on a task.
|
MapiCalendarRecurrencePattern |
getRecurrence()
Gets or sets the recurrence properties.
|
String |
getReminderFileParameter()
Specifies the full path of the sound that a client SHOULD play when the reminder becomes overdue.
|
boolean |
getReminderSet()
Gets or sets a value indicating whether a reminder is set on the object
|
Date |
getReminderTime()
Gets or sets the initial signal time for a reminder
|
Date |
getStartDate()
Gets or sets the date on which the user
expects work on the task to begin.
|
int |
getState()
Gets or sets the current assignment
state of the Task object.
|
int |
getStatus()
Gets or sets the status of the user's progress on the task.
|
MapiTaskUsers |
getUsers()
Gets or sets information about task users.
|
void |
save(OutputStream stream,
int saveFormat)
Saves this
MapiTask to the given stream using specified format. |
void |
save(String filePath,
int saveFormat)
Saves this
MapiTask into file using specified format. |
void |
setAcceptanceState(int value)
Gets or sets the acceptance state of the task.
|
void |
setActualEffort(int value)
Gets or sets the number of minutes that
the user actually spent working on a task.
|
void |
setDateCompleted(Date value)
Gets or sets the date when
the user completed work on the task.
|
void |
setDueDate(Date value)
Gets or sets the date by which the user expects work
on the task to be complete.
|
void |
setEstimatedEffort(int value)
Gets or sets the number of minutes
that the user expects to work on a task.
|
void |
setHistory(int value)
Gets or sets the type of change
that was last made to the Task object.
|
void |
setLastUpdate(Date value)
Gets or sets the date and time of the most
recent change made to the Task object.
|
void |
setMode(int value)
Gets or sets the assignment status of the Task object.
|
void |
setPercentComplete(int value)
Gets or sets the progress the user has made on a task.
|
void |
setRecurrence(MapiCalendarRecurrencePattern value)
Gets or sets the recurrence properties.
|
void |
setReminderFileParameter(String value)
Specifies the full path of the sound that a client SHOULD play when the reminder becomes overdue.
|
void |
setReminderSet(boolean value)
Gets or sets a value indicating whether a reminder is set on the object
|
void |
setReminderTime(Date value)
Gets or sets the initial signal time for a reminder
|
void |
setStartDate(Date value)
Gets or sets the date on which the user
expects work on the task to begin.
|
void |
setState(int value)
Gets or sets the current assignment
state of the Task object.
|
void |
setStatus(int value)
Gets or sets the status of the user's progress on the task.
|
void |
setUsers(MapiTaskUsers value)
Gets or sets information about task users.
|
checkIsDisposed, close, dispose, getAttachments, getBilling, getBody, getBodyHtml, getBodyRtf, getBodyType, getCategories, getCompanies, getItemId, getMessageClass, getMileage, getNamedProperties, getNamedPropertyMapping, getProperty, getPropertyStream, getRecipients, getSensitivity, getSubject, getSubjectPrefix, getSubStorages, initNamedPropertyMappingStorage, removeProperty, setBilling, setBody, setBodyContent, setBodyContent, setBodyRtf, setBodyRtf, setCategories, setCompanies, setMessageClass, setMessageFlags, setMileage, setNamedPropertyMapping, setProperty, setRecipients, setSensitivity, setsIMapiMessageItemMembers, setSubject
createMapiNode, getCodePage, getProperties, getPropertyBoolean, getPropertyBytes, getPropertyDateTime, getPropertyInt32, getPropertyLong, getPropertyShort, getPropertyString, getPropertyString, isStoreUnicodeOk, setProperty, tryGetPropertyData, tryGetPropertyDateTime, tryGetPropertyInt32, tryGetPropertyLong, tryGetPropertyString, tryGetPropertyString, tryGetPropertyString, tryGetPropertyString
public MapiTask()
Initializes a new instance of the MapiTask
class.
public final int getPercentComplete()
Gets or sets the progress the user has made on a task.
public final void setPercentComplete(int value)
Gets or sets the progress the user has made on a task.
public final int getActualEffort()
Gets or sets the number of minutes that the user actually spent working on a task.
public final void setActualEffort(int value)
Gets or sets the number of minutes that the user actually spent working on a task.
public final int getEstimatedEffort()
Gets or sets the number of minutes that the user expects to work on a task.
public final void setEstimatedEffort(int value)
Gets or sets the number of minutes that the user expects to work on a task.
public final Date getDueDate()
Gets or sets the date by which the user expects work on the task to be complete.
public final void setDueDate(Date value)
Gets or sets the date by which the user expects work on the task to be complete.
public final Date getStartDate()
Gets or sets the date on which the user expects work on the task to begin.
com.aspose.ms.System.ArgumentException
- trows when start date is greater than date completed.public final void setStartDate(Date value)
Gets or sets the date on which the user expects work on the task to begin.
com.aspose.ms.System.ArgumentException
- trows when start date is greater than date completed.public final Date getDateCompleted()
Gets or sets the date when the user completed work on the task.
com.aspose.ms.System.ArgumentException
- throws when start date is less than date completed.public final void setDateCompleted(Date value)
Gets or sets the date when the user completed work on the task.
com.aspose.ms.System.ArgumentException
- throws when start date is less than date completed.public final Date getLastUpdate()
Gets or sets the date and time of the most recent change made to the Task object.
public final void setLastUpdate(Date value)
Gets or sets the date and time of the most recent change made to the Task object.
public final MapiCalendarRecurrencePattern getRecurrence()
Gets or sets the recurrence properties.
public final void setRecurrence(MapiCalendarRecurrencePattern value)
Gets or sets the recurrence properties.
public final int getHistory()
Gets or sets the type of change that was last made to the Task object.
public final void setHistory(int value)
Gets or sets the type of change that was last made to the Task object.
public final MapiTaskUsers getUsers()
Gets or sets information about task users.
public final void setUsers(MapiTaskUsers value)
Gets or sets information about task users.
public final int getStatus()
Gets or sets the status of the user's progress on the task.
public final void setStatus(int value)
Gets or sets the status of the user's progress on the task.
public final int getMode()
Gets or sets the assignment status of the Task object.
public final void setMode(int value)
Gets or sets the assignment status of the Task object.
public final int getState()
Gets or sets the current assignment state of the Task object.
public final void setState(int value)
Gets or sets the current assignment state of the Task object.
public final int getAcceptanceState()
Gets or sets the acceptance state of the task.
public final void setAcceptanceState(int value)
Gets or sets the acceptance state of the task.
public final int getFlags()
Gets the indication flags of the Task object.
public final Date getReminderTime()
Gets or sets the initial signal time for a reminder
public final void setReminderTime(Date value)
Gets or sets the initial signal time for a reminder
public final boolean getReminderSet()
Gets or sets a value indicating whether a reminder is set on the object
public final void setReminderSet(boolean value)
Gets or sets a value indicating whether a reminder is set on the object
public final String getReminderFileParameter()
Specifies the full path of the sound that a client SHOULD play when the reminder becomes overdue.
public final void setReminderFileParameter(String value)
Specifies the full path of the sound that a client SHOULD play when the reminder becomes overdue.
public final void save(OutputStream stream, int saveFormat)
Saves this MapiTask
to the given stream using specified format.
public final void save(String filePath, int saveFormat)
Saves this MapiTask
into file using specified format.
public static MapiTask fromVTodo(String filePath)
Creates an instance of MapiTask from the specified .ics file.
filePath
- The path to the file to be loaded.public static MapiTask fromVTodo(String filePath, boolean detectEncoding)
Creates an instance of MapiTask from the specified .ics file.
filePath
- The path to the file to be loaded.detectEncoding
- Determines a data encoding by analyzing its byte order mark (BOM)public static MapiTask fromVTodo(InputStream stream)
Creates an instance of MapiTask from the specified stream.
stream
- The stream to be loaded.public static MapiTask fromVTodo(InputStream stream, boolean detectEncoding)
Creates an instance of MapiTask from the specified stream.
stream
- The stream to be loaded.detectEncoding
- Determines a data encoding by analyzing its byte order mark (BOM)