Package com.isode.x400.highlevel
Class ListResult
- java.lang.Object
-
- com.isode.x400.highlevel.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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getContentType()
Returns the content type of the message, as a Stringint
getContLength()
Returns the size of the message content, in bytes.java.lang.String
getMsgID()
Returns the Message Identifier of the messageX400Msg.X400_Priority
getPriority()
Returns the standard X.400 priority of the message as aX400_Priority
objectjava.lang.String
getSender()
Returns the String encoded O/R address of the sender of the messageint
getSequenceNumber()
Returns the Sequence Number of the message in the X.400 Message Store mailboxListResult.List_status
getStatus()
Returns aList_status
object representing the Message Store status of the message, that is, if it is new, has been listed or fetched.java.lang.String
getSubject()
Returns the subject of the messagejava.lang.String
getSubjectID()
Returns the Subject Identifier (not the Subject of the message).java.lang.String
getSubmissionTime()
Returns the submission time of the message, as a UTC Time encoded stringX400Msg.X400_Message_Type
getType()
Returns the type the message as aX400_Message_Type
object
-
-
-
Method Detail
-
getSequenceNumber
public int getSequenceNumber()
Returns the Sequence Number of the message in the X.400 Message Store mailbox
-
getType
public X400Msg.X400_Message_Type getType()
Returns the type the message as aX400_Message_Type
object
-
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.
-
getPriority
public X400Msg.X400_Priority getPriority()
Returns the standard X.400 priority of the message as aX400_Priority
object
-
getStatus
public ListResult.List_status getStatus()
Returns aList_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
-
-