Package com.isode.x400.highlevel
Class ListResult
java.lang.Object
com.isode.x400.highlevel.ListResult
Result of a LIST operation on a connection to a P7 Message Store.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe 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
ConstructorsConstructorDescriptionThis class represents a single message in the list result of an X.400 Message Store mailbox. -
Method Summary
Modifier and TypeMethodDescriptionReturns the content type of the message, as a StringintReturns the size of the message content, in bytes.getMsgID()Returns the Message Identifier of the messageReturns the standard X.400 priority of the message as aX400_PriorityobjectReturns the String encoded O/R address of the sender of the messageintReturns the Sequence Number of the message in the X.400 Message Store mailboxReturns aList_statusobject representing the Message Store status of the message, that is, if it is new, has been listed or fetched.Returns the subject of the messageReturns the Subject Identifier (not the Subject of the message).Returns the submission time of the message, as a UTC Time encoded stringgetType()Returns the type the message as aX400_Message_Typeobject
-
Constructor Details
-
ListResult
public ListResult()This class represents a single message in the list result of an X.400 Message Store mailbox.
-
-
Method Details
-
getSequenceNumber
public int getSequenceNumber()Returns the Sequence Number of the message in the X.400 Message Store mailbox -
getType
Returns the type the message as aX400_Message_Typeobject -
getSubject
Returns the subject of the message -
getSender
Returns the String encoded O/R address of the sender of the message -
getMsgID
Returns the Message Identifier of the message -
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. -
getPriority
Returns the standard X.400 priority of the message as aX400_Priorityobject -
getStatus
Returns aList_statusobject 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
Returns the submission time of the message, as a UTC Time encoded string -
getContentType
Returns the content type of the message, as a String
-