org.datamanager.simpleton
Class BasicEmailReplySimpleton

java.lang.Object
  |
  +--org.datamanager.kernel.Simpleton
        |
        +--org.datamanager.kernel.GuiSimpleton
              |
              +--org.datamanager.simpleton.BasicEmailReplySimpleton
All Implemented Interfaces:
EventHandler

public class BasicEmailReplySimpleton
extends GuiSimpleton
implements EventHandler

Provides an exportable JPanel in which a user may reply to an email message.

Version:
$Revision: 1.21 $

Nested Class Summary
 
Nested classes inherited from class org.datamanager.kernel.Simpleton
Simpleton.Information, Simpleton.Priority
 
Constructor Summary
BasicEmailReplySimpleton()
           
 
Method Summary
 void handle(DataManagerEvent dataManagerEvent)
          Handle a DataManagerEvent that has been fired.
 void handleParameters(EmailParametersEnteredCollectorEvent event)
           
 void handleReply(EmailReplyRequestEvent event)
           
 void process()
          Runs this Simpleton.
 
Methods inherited from class org.datamanager.kernel.GuiSimpleton
dispose, exportComponent, exportComponent
 
Methods inherited from class org.datamanager.kernel.Simpleton
clone, getInformation, getPriority, setInformation, setPriority, start
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicEmailReplySimpleton

public BasicEmailReplySimpleton()
Method Detail

process

public void process()
Runs this Simpleton. Subscribes to the Pool listening for EntityDisplayRequestEvents that contain email messages. FIXME: We need to deal with exception handling in a better fashion.

Specified by:
process in class Simpleton

handleReply

public void handleReply(EmailReplyRequestEvent event)
                 throws DataManagerException
DataManagerException

handleParameters

public void handleParameters(EmailParametersEnteredCollectorEvent event)
                      throws DataManagerException
DataManagerException

handle

public void handle(DataManagerEvent dataManagerEvent)
Description copied from interface: EventHandler
Handle a DataManagerEvent that has been fired.

Specified by:
handle in interface EventHandler
Parameters:
dataManagerEvent - The event to handle.


See the Helium Website