org.csapi.jr.se.mmm
Interface CreateFolder

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

public interface CreateFolder
extends Activity

This interface represents a CreateFolder activity object.


Field Summary
 
Fields inherited from interface org.csapi.jr.se.Activity
ACTIVE_STATE, IDLE_STATE, INVALID_STATE
 
Method Summary
 void addCreateFolderListener(CreateFolderListener createFolderListener)
          Adds a CreateFolderListener which is interested in events generated by the CreateFolder.
 void createFolderReq(java.lang.String folderID)
          Invokes the createFolderReq() method on the Parlay Gateway.
 Mailbox getMailbox()
          Returns a reference to the Mailbox responsible for creation of the CreateFolder.
 void removeCreateFolderListener(CreateFolderListener createFolderListener)
          Removes a CreateFolderListener which is no longer interested events generated by the CreateFolder.
 
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 CreateFolder.

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

addCreateFolderListener

public void addCreateFolderListener(CreateFolderListener createFolderListener)
Adds a CreateFolderListener which is interested in events generated by the CreateFolder.

Parameters:
createFolderListener - A reference to the CreateFolderListener which is to be added as a listener.

removeCreateFolderListener

public void removeCreateFolderListener(CreateFolderListener createFolderListener)
Removes a CreateFolderListener which is no longer interested events generated by the CreateFolder.

Parameters:
createFolderListener - A reference to the CreateFolderListener which is to be removed as a listener.

createFolderReq

public void createFolderReq(java.lang.String folderID)
                     throws PlatformException,
                            java.lang.IllegalStateException,
                            CommonException,
                            MmmInvalidFolderIdException
Invokes the createFolderReq() method on the Parlay Gateway.

Throws:
PlatformException
java.lang.IllegalStateException
CommonException
MmmInvalidFolderIdException