com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class Task

  • All Implemented Interfaces:
    com.aspose.ms.System.IDisposable, Closeable, AutoCloseable
    Direct Known Subclasses:
    ExchangeTask


    public class Task
    extends Object
    implements com.aspose.ms.System.IDisposable, Closeable

    Represents the exchange task information.

    • Field Detail

      • relatedTofield

        protected String relatedTofield

        A related UID.

      • subjectfield

        protected String subjectfield

        A task subject.

      • startDatefield

        protected com.aspose.ms.System.DateTime startDatefield

        A start date of task.

      • dueDatefield

        protected com.aspose.ms.System.DateTime dueDatefield

        A date when the task is due.

      • priorityfield

        protected int priorityfield

        A task priority.

      • percentCompletefield

        protected float percentCompletefield

        A pecent of task completion.

      • bodyfield

        protected String bodyfield

        A task body.

      • uidfield

        protected String uidfield

        Unique identifier

      • sequeneIdfield

        protected int sequeneIdfield

        The sequence id.

      • organizerfield

        protected MailAddress organizerfield

        Task organizer

      • methodfield

        protected int methodfield

        The iTIP methods associated with an task.

      • attachmentsfield

        protected AttachmentCollection attachmentsfield

        A collection of file attached to the task.

    • Constructor Detail

      • Task

        public Task()
    • Method Detail

      • getRelatedTo

        public final String getRelatedTo()

        Gets or sets a related UID

      • setRelatedTo

        public final void setRelatedTo(String value)

        Gets or sets a related UID

      • getSubject

        public final String getSubject()

        Gets or sets a task subject.

      • setSubject

        public final void setSubject(String value)

        Gets or sets a task subject.

      • getStartDate

        public final Date getStartDate()

        Gets or sets a start date of task.

      • setStartDate

        public final void setStartDate(Date value)

        Gets or sets a start date of task.

      • getDueDate

        public final Date getDueDate()

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

      • setDueDate

        public final void setDueDate(Date value)

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

      • getPriority

        public final int getPriority()

        Gets or sets a task priority.

      • setPriority

        public final void setPriority(int value)

        Gets or sets a task priority.

      • getPercentComplete

        public final float getPercentComplete()

        Gets or sets a pecent of task completion.

      • setPercentComplete

        public final void setPercentComplete(float value)

        Gets or sets a pecent of task completion.

      • getBody

        public final String getBody()

        Gets or sets a task body.

      • setBody

        public final void setBody(String value)

        Gets or sets a task body.

      • getUniqueId

        public final String getUniqueId()

        Gets or sets unique identifier

      • setUniqueId

        public final void setUniqueId(String value)

        Gets or sets unique identifier

      • getSequenceId

        public final int getSequenceId()

        Gets or sets the sequence id.

        Value: The sequence id.
      • setSequenceId

        public final void setSequenceId(int value)

        Gets or sets the sequence id.

        Value: The sequence id.
      • setAttendees

        public final void setAttendees(MailAddressCollection value)

        Gets or sets the attendees.

      • getOrganizer

        public final MailAddress getOrganizer()

        Gets or sets the organizer.

      • setOrganizer

        public final void setOrganizer(MailAddress value)

        Gets or sets the organizer.

      • getMethod

        public final int getMethod()

        Gets or sets iTIP methods associated with an task.

      • setMethod

        public final void setMethod(int value)

        Gets or sets iTIP methods associated with an task.

      • getAttachments

        public final AttachmentCollection getAttachments()

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

      • setAttachments

        public final void setAttachments(AttachmentCollection value)

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

      • request

        public final AlternateView request()

        Requests the object.

        Returns:
        AlternateViewAlternateView that represents the format to view an email message.
      • dispose

        public void dispose()

        Performs tasks associated with freeing, releasing, or resetting unmanaged resources.

        Specified by:
        dispose in interface com.aspose.ms.System.IDisposable
      • save

        public void save(OutputStream stream)

        Saves current object to the given stream using MSG format.

        Parameters:
        stream - A stream to save to.
      • save

        public void save(OutputStream stream,
                int saveFormat)

        Saves current object to the given stream using specified format.

        Parameters:
        stream - A stream to save to.
        saveFormat - A save format.
      • save

        public void save(String filePath)

        Saves current object into file using MSG format.

        Parameters:
        filePath - A file name.
      • save

        public void save(String filePath,
                int saveFormat)

        Saves current object into file using specified format.

        Parameters:
        filePath - A file name.
        saveFormat - A save format.