Task

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.ms.System.IDisposable, java.io.Closeable

public class Task implements System.IDisposable, Closeable

Represents the exchange task information.

Constructors

ConstructorDescription
Task()

Methods

MethodDescription
close()
dispose()Release all resources.
equals(Object arg0)
getAttachments()Gets or sets a collection of file attached to the task.
getAttendees()Gets or sets the attendees.
getBody()Gets or sets a task body.
getClass()
getDueDate()Gets or sets the date by which the user expects work on the task to be complete.
getMethod()Gets or sets iTIP methods associated with an task.
getOrganizer()Gets or sets the organizer.
getPercentComplete()Gets or sets a pecent of task completion.
getPriority()Gets or sets a task priority.
getRelatedTo()Gets or sets a related UID
getSequenceId()Gets or sets the sequence id.
getStartDate()Gets or sets a start date of task.
getSubject()Gets or sets a task subject.
getUniqueId()Gets or sets unique identifier
hashCode()
notify()
notifyAll()
request()Requests the object.
save(OutputStream stream)Saves current object to the given stream using MSG format.
save(OutputStream stream, int saveFormat)Saves current object to the given stream using specified format.
save(String filePath)Saves current object into file using MSG format.
save(String filePath, int saveFormat)Saves current object into file using specified format.
setAttachments(AttachmentCollection value)Gets or sets a collection of file attached to the task.
setAttendees(MailAddressCollection value)Gets or sets the attendees.
setBody(String value)Gets or sets a task body.
setDueDate(Date value)Gets or sets the date by which the user expects work on the task to be complete.
setMethod(int value)Gets or sets iTIP methods associated with an task.
setOrganizer(MailAddress value)Gets or sets the organizer.
setPercentComplete(float value)Gets or sets a pecent of task completion.
setPriority(int value)Gets or sets a task priority.
setRelatedTo(String value)Gets or sets a related UID
setSequenceId(int value)Gets or sets the sequence id.
setStartDate(Date value)Gets or sets a start date of task.
setSubject(String value)Gets or sets a task subject.
setUniqueId(String value)Gets or sets unique identifier
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

Task()

public Task()

close()

public void close()

dispose()

public final void dispose()

Release all resources.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getAttachments()

public final AttachmentCollection getAttachments()

Gets or sets a collection of file attached to the task.

Returns: AttachmentCollection

getAttendees()

public final MailAddressCollection getAttendees()

Gets or sets the attendees.

Returns: MailAddressCollection

getBody()

public final String getBody()

Gets or sets a task body.

Returns: java.lang.String

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getDueDate()

public final Date getDueDate()

Gets or sets the date by which the user expects work on the task to be complete.

Returns: java.util.Date

getMethod()

public final int getMethod()

Gets or sets iTIP methods associated with an task.

Returns: int

getOrganizer()

public final MailAddress getOrganizer()

Gets or sets the organizer.

Returns: MailAddress

getPercentComplete()

public final float getPercentComplete()

Gets or sets a pecent of task completion.

Returns: float

getPriority()

public final int getPriority()

Gets or sets a task priority.

Returns: int

getRelatedTo()

public final String getRelatedTo()

Gets or sets a related UID

Returns: java.lang.String

getSequenceId()

public final int getSequenceId()

Gets or sets the sequence id.

Value: The sequence id.

Returns: int

getStartDate()

public final Date getStartDate()

Gets or sets a start date of task.

Returns: java.util.Date

getSubject()

public final String getSubject()

Gets or sets a task subject.

Returns: java.lang.String

getUniqueId()

public final String getUniqueId()

Gets or sets unique identifier

Returns: java.lang.String

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

request()

public final AlternateView request()

Requests the object.

Returns: AlternateView - AlternateViewAlternateView that represents the format to view an email message.

save(OutputStream stream)

public void save(OutputStream stream)

Saves current object to the given stream using MSG format.

Parameters:

ParameterTypeDescription
streamjava.io.OutputStreamA stream to save to.

save(OutputStream stream, int saveFormat)

public void save(OutputStream stream, int saveFormat)

Saves current object to the given stream using specified format.

Parameters:

ParameterTypeDescription
streamjava.io.OutputStreamA stream to save to.
saveFormatintA save format.

save(String filePath)

public void save(String filePath)

Saves current object into file using MSG format.

Parameters:

ParameterTypeDescription
filePathjava.lang.StringA file name.

save(String filePath, int saveFormat)

public void save(String filePath, int saveFormat)

Saves current object into file using specified format.

Parameters:

ParameterTypeDescription
filePathjava.lang.StringA file name.
saveFormatintA save format.

setAttachments(AttachmentCollection value)

public final void setAttachments(AttachmentCollection value)

Gets or sets a collection of file attached to the task.

Parameters:

ParameterTypeDescription
valueAttachmentCollection

setAttendees(MailAddressCollection value)

public final void setAttendees(MailAddressCollection value)

Gets or sets the attendees.

Parameters:

ParameterTypeDescription
valueMailAddressCollection

setBody(String value)

public final void setBody(String value)

Gets or sets a task body.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setDueDate(Date value)

public final void setDueDate(Date value)

Gets or sets the date by which the user expects work on the task to be complete.

Parameters:

ParameterTypeDescription
valuejava.util.Date

setMethod(int value)

public final void setMethod(int value)

Gets or sets iTIP methods associated with an task.

Parameters:

ParameterTypeDescription
valueint

setOrganizer(MailAddress value)

public final void setOrganizer(MailAddress value)

Gets or sets the organizer.

Parameters:

ParameterTypeDescription
valueMailAddress

setPercentComplete(float value)

public final void setPercentComplete(float value)

Gets or sets a pecent of task completion.

Parameters:

ParameterTypeDescription
valuefloat

setPriority(int value)

public final void setPriority(int value)

Gets or sets a task priority.

Parameters:

ParameterTypeDescription
valueint

setRelatedTo(String value)

public final void setRelatedTo(String value)

Gets or sets a related UID

Parameters:

ParameterTypeDescription
valuejava.lang.String

setSequenceId(int value)

public final void setSequenceId(int value)

Gets or sets the sequence id.

Value: The sequence id.

Parameters:

ParameterTypeDescription
valueint

setStartDate(Date value)

public final void setStartDate(Date value)

Gets or sets a start date of task.

Parameters:

ParameterTypeDescription
valuejava.util.Date

setSubject(String value)

public final void setSubject(String value)

Gets or sets a task subject.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setUniqueId(String value)

public final void setUniqueId(String value)

Gets or sets unique identifier

Parameters:

ParameterTypeDescription
valuejava.lang.String

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