estamp.filter.action
Class AutoReplyAction

java.lang.Object
  extended byestamp.filter.action.AutoReplyAction
All Implemented Interfaces:
ComponentType, FilterAction

public class AutoReplyAction
extends java.lang.Object
implements FilterAction

Title:AutoReplyAction.java

Description:AutoReply the emails without estamp.

Copyright: Copyright (c) 2003

Company: segy


Nested Class Summary
(package private)  class AutoReplyAction.ConfigInterface
           
 
Constructor Summary
AutoReplyAction()
          Default constructor
 
Method Summary
 InterfaceJPanel getConfigInterface()
          Gets the action config panel
 java.lang.String getName()
          Gets the name of the action.
(package private)  Preferences getPref()
          Gets the preferences
 java.lang.String getType()
          Gets the type of the action.
 void init(Preferences pref)
          Initialize preferences
 EmailID performAction(EmailID targetID)
          Perform action
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutoReplyAction

public AutoReplyAction()
Default constructor

Method Detail

getName

public java.lang.String getName()
Gets the name of the action. "Auto Reply" or "Don't Auto Reply"

Specified by:
getName in interface FilterAction
Returns:
the name of the action

getPref

Preferences getPref()
Gets the preferences

Returns:
Preferences the preferences

getType

public java.lang.String getType()
Gets the type of the action.

Specified by:
getType in interface ComponentType
Returns:
the type of the action

init

public void init(Preferences pref)
Initialize preferences

Specified by:
init in interface FilterAction
Parameters:
pref - the preferences used by the action

getConfigInterface

public InterfaceJPanel getConfigInterface()
Gets the action config panel

Specified by:
getConfigInterface in interface FilterAction
Returns:
the action config panel

performAction

public EmailID performAction(EmailID targetID)
                      throws FolderException,
                             java.io.IOException
Perform action

Specified by:
performAction in interface FilterAction
Parameters:
targetID - the target email id
Returns:
the returned email id
Throws:
FolderException
java.io.IOException
To Do:
Send outgoing email