org.csapi.jr.se.mmm
Interface Mailbox

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

public interface Mailbox
extends Service

This interface represents a Mailbox.


Field Summary
 
Fields inherited from interface org.csapi.jr.se.Service
IN_SERVICE_STATE, OUT_OF_SERVICE_STATE
 
Method Summary
 void addMailboxListener(MailboxListener mailboxListener)
          Adds a MailboxListener which is interested in events generated by the Mailbox.
 void close()
          Invokes the close() method on the Parlay Gateway.
 CopyFolder createCopyFolder()
          Creates a CopyFolder object and returns a reference to the interface used to gain access to it's methods.
 CopyMessage createCopyMessage()
          Creates a CopyMessage object and returns a reference to the interface used to gain access to it's methods.
 CreateFolder createCreateFolder()
          Creates a CreateFolder object and returns a reference to the interface used to gain access to it's methods.
 DeleteFolder createDeleteFolder()
          Creates a DeleteFolder object and returns a reference to the interface used to gain access to it's methods.
 DeleteMessage createDeleteMessage()
          Creates a DeleteMessage object and returns a reference to the interface used to gain access to it's methods.
 GetFolderInfoProperties createGetFolderInfoProperties()
          Creates a GetFolderInfoProperties object and returns a reference to the interface used to gain access to it's methods.
 GetFolders createGetFolders()
          Creates a GetFolders object and returns a reference to the interface used to gain access to it's methods.
 GetFullMessage createGetFullMessage()
          Creates a GetFullMessage object and returns a reference to the interface used to gain access to it's methods.
 GetMailboxInfoProperties createGetMailboxInfoProperties()
          Creates a GetMailboxInfoProperties object and returns a reference to the interface used to gain access to it's methods.
 GetMessageBodyParts createGetMessageBodyParts()
          Creates a GetMessageBodyParts object and returns a reference to the interface used to gain access to it's methods.
 GetMessageContent createGetMessageContent()
          Creates a GetMessageContent object and returns a reference to the interface used to gain access to it's methods.
 GetMessageHeaders createGetMessageHeaders()
          Creates a GetMessageHeaders object and returns a reference to the interface used to gain access to it's methods.
 GetMessageInfoProperties createGetMessageInfoProperties()
          Creates a GetMessageInfoProperties object and returns a reference to the interface used to gain access to it's methods.
 ListMessageBodyParts createListMessageBodyParts()
          Creates a ListMessageBodyParts object and returns a reference to the interface used to gain access to it's methods.
 ListMessages createListMessages()
          Creates a ListMessages object and returns a reference to the interface used to gain access to it's methods.
 MoveFolder createMoveFolder()
          Creates a MoveFolder object and returns a reference to the interface used to gain access to it's methods.
 MoveMessage createMoveMessage()
          Creates a MoveMessage object and returns a reference to the interface used to gain access to it's methods.
 PutMessage createPutMessage()
          Creates a PutMessage object and returns a reference to the interface used to gain access to it's methods.
 SetMessageInfoProperties createSetMessageInfoProperties()
          Creates a SetMessageInfoProperties object and returns a reference to the interface used to gain access to it's methods.
 MultiMediaMessagingManager getMultiMediaMessagingManager()
          Returns a reference to the MultiMediaMessagingManager responsible for creation of the Mailbox.
 void removeMailboxListener(MailboxListener mailboxListener)
          Removes a MailboxListener which is no longer interested in events generated by the Mailbox.
 
Methods inherited from interface org.csapi.jr.se.Service
addServiceStateChangeListener, getServiceState, removeServiceStateChangeListener
 

Method Detail

addMailboxListener

public void addMailboxListener(MailboxListener mailboxListener)
Adds a MailboxListener which is interested in events generated by the Mailbox.

Parameters:
mailboxListener - A reference to the MailboxListener which is to be added as a listener.

removeMailboxListener

public void removeMailboxListener(MailboxListener mailboxListener)
Removes a MailboxListener which is no longer interested in events generated by the Mailbox.

Parameters:
mailboxListener - A reference to the MailboxListener which is to be removed as a listener.

getMultiMediaMessagingManager

public MultiMediaMessagingManager getMultiMediaMessagingManager()
Returns a reference to the MultiMediaMessagingManager responsible for creation of the Mailbox.

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

close

public void close()
           throws PlatformException,
                  CommonException
Invokes the close() method on the Parlay Gateway.

Throws:
PlatformException
CommonException

createGetFullMessage

public GetFullMessage createGetFullMessage()
Creates a GetFullMessage object and returns a reference to the interface used to gain access to it's methods.

Returns:
A reference to the GetFullMessage interface.

createGetMessageContent

public GetMessageContent createGetMessageContent()
Creates a GetMessageContent object and returns a reference to the interface used to gain access to it's methods.

Returns:
A reference to the GetMessageContent interface.

createGetMessageHeaders

public GetMessageHeaders createGetMessageHeaders()
Creates a GetMessageHeaders object and returns a reference to the interface used to gain access to it's methods.

Returns:
A reference to the GetMessageHeaders interface.

createMoveFolder

public MoveFolder createMoveFolder()
Creates a MoveFolder object and returns a reference to the interface used to gain access to it's methods.

Returns:
A reference to the MoveFolder interface.

createMoveMessage

public MoveMessage createMoveMessage()
Creates a MoveMessage object and returns a reference to the interface used to gain access to it's methods.

Returns:
A reference to the MoveMessage interface.

createGetFolderInfoProperties

public GetFolderInfoProperties createGetFolderInfoProperties()
Creates a GetFolderInfoProperties object and returns a reference to the interface used to gain access to it's methods.

Returns:
A reference to the GetFolderInfoProperties interface.

createPutMessage

public PutMessage createPutMessage()
Creates a PutMessage object and returns a reference to the interface used to gain access to it's methods.

Returns:
A reference to the PutMessage interface.

createDeleteFolder

public DeleteFolder createDeleteFolder()
Creates a DeleteFolder object and returns a reference to the interface used to gain access to it's methods.

Returns:
A reference to the DeleteFolder interface.

createCopyFolder

public CopyFolder createCopyFolder()
Creates a CopyFolder object and returns a reference to the interface used to gain access to it's methods.

Returns:
A reference to the CopyFolder interface.

createCreateFolder

public CreateFolder createCreateFolder()
Creates a CreateFolder object and returns a reference to the interface used to gain access to it's methods.

Returns:
A reference to the CreateFolder interface.

createCopyMessage

public CopyMessage createCopyMessage()
Creates a CopyMessage object and returns a reference to the interface used to gain access to it's methods.

Returns:
A reference to the CopyMessage interface.

createDeleteMessage

public DeleteMessage createDeleteMessage()
Creates a DeleteMessage object and returns a reference to the interface used to gain access to it's methods.

Returns:
A reference to the DeleteMessage interface.

createListMessageBodyParts

public ListMessageBodyParts createListMessageBodyParts()
Creates a ListMessageBodyParts object and returns a reference to the interface used to gain access to it's methods.

Returns:
A reference to the ListMessageBodyParts interface.

createSetMessageInfoProperties

public SetMessageInfoProperties createSetMessageInfoProperties()
Creates a SetMessageInfoProperties object and returns a reference to the interface used to gain access to it's methods.

Returns:
A reference to the SetMessageInfoProperties interface.

createListMessages

public ListMessages createListMessages()
Creates a ListMessages object and returns a reference to the interface used to gain access to it's methods.

Returns:
A reference to the ListMessages interface.

createGetMailboxInfoProperties

public GetMailboxInfoProperties createGetMailboxInfoProperties()
Creates a GetMailboxInfoProperties object and returns a reference to the interface used to gain access to it's methods.

Returns:
A reference to the GetMailboxInfoProperties interface.

createGetMessageBodyParts

public GetMessageBodyParts createGetMessageBodyParts()
Creates a GetMessageBodyParts object and returns a reference to the interface used to gain access to it's methods.

Returns:
A reference to the GetMessageBodyParts interface.

createGetMessageInfoProperties

public GetMessageInfoProperties createGetMessageInfoProperties()
Creates a GetMessageInfoProperties object and returns a reference to the interface used to gain access to it's methods.

Returns:
A reference to the GetMessageInfoProperties interface.

createGetFolders

public GetFolders createGetFolders()
Creates a GetFolders object and returns a reference to the interface used to gain access to it's methods.

Returns:
A reference to the GetFolders interface.