org.csapi.jr.se.mmm
Interface ListMessageBodyParts

All Superinterfaces:
Activity, CsapiInterface, java.io.Serializable

public interface ListMessageBodyParts
extends Activity

This interface represents a ListMessageBodyParts activity object.


Field Summary
 
Fields inherited from interface org.csapi.jr.se.Activity
ACTIVE_STATE, IDLE_STATE, INVALID_STATE
 
Method Summary
 void addListMessageBodyPartsListener(ListMessageBodyPartsListener listMessageBodyPartsListener)
          Adds a ListMessageBodyPartsListener which is interested in events generated by the ListMessageBodyParts.
 Mailbox getMailbox()
          Returns a reference to the Mailbox responsible for creation of the ListMessageBodyParts.
 void listMessageBodyPartsReq(java.lang.String folderID, java.lang.String messageID, int maxNestingLevel)
          Invokes the listMessageBodyPartsReq() method on the Parlay Gateway.
 void removeListMessageBodyPartsListener(ListMessageBodyPartsListener listMessageBodyPartsListener)
          Removes a ListMessageBodyPartsListener which is no longer interested events generated by the ListMessageBodyParts.
 
Methods inherited from interface org.csapi.jr.se.Activity
addActivityStateChangeListener, getState, removeActivityStateChangeListener
 

Method Detail

getMailbox

public Mailbox getMailbox()
Returns a reference to the Mailbox responsible for creation of the ListMessageBodyParts.

Returns:
A reference to the Mailbox responsible for creation of the ListMessageBodyParts.

addListMessageBodyPartsListener

public void addListMessageBodyPartsListener(ListMessageBodyPartsListener listMessageBodyPartsListener)
Adds a ListMessageBodyPartsListener which is interested in events generated by the ListMessageBodyParts.

Parameters:
listMessageBodyPartsListener - A reference to the ListMessageBodyPartsListener which is to be added as a listener.

removeListMessageBodyPartsListener

public void removeListMessageBodyPartsListener(ListMessageBodyPartsListener listMessageBodyPartsListener)
Removes a ListMessageBodyPartsListener which is no longer interested events generated by the ListMessageBodyParts.

Parameters:
listMessageBodyPartsListener - A reference to the ListMessageBodyPartsListener which is to be removed as a listener.

listMessageBodyPartsReq

public void listMessageBodyPartsReq(java.lang.String folderID,
                                    java.lang.String messageID,
                                    int maxNestingLevel)
                             throws PlatformException,
                                    java.lang.IllegalStateException,
                                    CommonException,
                                    MmmInvalidFolderIdException,
                                    MmmInvalidMessageIdException
Invokes the listMessageBodyPartsReq() method on the Parlay Gateway.

Throws:
PlatformException
java.lang.IllegalStateException
CommonException
MmmInvalidFolderIdException
MmmInvalidMessageIdException