Class ListResult


  • public class ListResult
    extends java.lang.Object
    Result of a LIST operation on a connection to a P7 Message Store.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  ListResult.List_status
      The status of a message in a Message Store mailbox can be one of three:
      NEW - Never been fetched or listed
      LISTED - It has been listed, but not fetched
      FETCHED - The message has already been fetched
    • Constructor Summary

      Constructors 
      Constructor Description
      ListResult()
      This class represents a single message in the list result of an X.400 Message Store mailbox.
    • Constructor Detail

      • ListResult

        public ListResult()
        This class represents a single message in the list result of an X.400 Message Store mailbox.
    • Method Detail

      • getSequenceNumber

        public int getSequenceNumber()
        Returns the Sequence Number of the message in the X.400 Message Store mailbox
      • getSubject

        public java.lang.String getSubject()
        Returns the subject of the message
      • getSender

        public java.lang.String getSender()
        Returns the String encoded O/R address of the sender of the message
      • getMsgID

        public java.lang.String getMsgID()
        Returns the Message Identifier of the message
      • getSubjectID

        public java.lang.String getSubjectID()
        Returns the Subject Identifier (not the Subject of the message). This is used to to correlate a Delivery Report that was received, to a message that was sent.
      • getStatus

        public ListResult.List_status getStatus()
        Returns a List_status object representing the Message Store status of the message, that is, if it is new, has been listed or fetched.
      • getContLength

        public int getContLength()
        Returns the size of the message content, in bytes.
      • getSubmissionTime

        public java.lang.String getSubmissionTime()
        Returns the submission time of the message, as a UTC Time encoded string
      • getContentType

        public java.lang.String getContentType()
        Returns the content type of the message, as a String