org.csapi.jr.se.mmm
Interface GetMessageBodyParts

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

public interface GetMessageBodyParts
extends Activity

This interface represents a GetMessageBodyParts activity object.


Field Summary
 
Fields inherited from interface org.csapi.jr.se.Activity
ACTIVE_STATE, IDLE_STATE, INVALID_STATE
 
Method Summary
 void addGetMessageBodyPartsListener(GetMessageBodyPartsListener getMessageBodyPartsListener)
          Adds a GetMessageBodyPartsListener which is interested in events generated by the GetMessageBodyParts.
 Mailbox getMailbox()
          Returns a reference to the Mailbox responsible for creation of the GetMessageBodyParts.
 void getMessageBodyPartsReq(java.lang.String folderID, java.lang.String messageID, java.lang.String[] partIDs)
          Invokes the getMessageBodyPartsReq() method on the Parlay Gateway.
 void removeGetMessageBodyPartsListener(GetMessageBodyPartsListener getMessageBodyPartsListener)
          Removes a GetMessageBodyPartsListener which is no longer interested events generated by the GetMessageBodyParts.
 
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 GetMessageBodyParts.

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

addGetMessageBodyPartsListener

public void addGetMessageBodyPartsListener(GetMessageBodyPartsListener getMessageBodyPartsListener)
Adds a GetMessageBodyPartsListener which is interested in events generated by the GetMessageBodyParts.

Parameters:
getMessageBodyPartsListener - A reference to the GetMessageBodyPartsListener which is to be added as a listener.

removeGetMessageBodyPartsListener

public void removeGetMessageBodyPartsListener(GetMessageBodyPartsListener getMessageBodyPartsListener)
Removes a GetMessageBodyPartsListener which is no longer interested events generated by the GetMessageBodyParts.

Parameters:
getMessageBodyPartsListener - A reference to the GetMessageBodyPartsListener which is to be removed as a listener.

getMessageBodyPartsReq

public void getMessageBodyPartsReq(java.lang.String folderID,
                                   java.lang.String messageID,
                                   java.lang.String[] partIDs)
                            throws PlatformException,
                                   java.lang.IllegalStateException,
                                   CommonException,
                                   MmmInvalidFolderIdException,
                                   MmmInvalidMessageIdException,
                                   MmmInvalidPartIdException
Invokes the getMessageBodyPartsReq() method on the Parlay Gateway.

Throws:
PlatformException
java.lang.IllegalStateException
CommonException
MmmInvalidFolderIdException
MmmInvalidMessageIdException
MmmInvalidPartIdException