| org.apache.cocoon.mail.command.AbstractMailCommand
All known Subclasses: org.apache.cocoon.mail.command.MailCommands,
AbstractMailCommand | abstract public class AbstractMailCommand extends AbstractLogEnabled implements MailCommand(Code) | | An abstract MailCommand template
author: Bernhard Huber since: 23 October 2002 version: $Id: AbstractMailCommand.java 468424 2006-10-27 15:44:53Z vgritsenko $ |
AbstractMailCommand | public AbstractMailCommand()(Code) | | Constructor for the AbstractMailCommand object
|
addResult | public void addResult(Object o)(Code) | | Adds a result to the Result attribute of the AbstractMailCommand object
Parameters: o - The result to be added to the Result attribute |
addResults | public void addResults(List list)(Code) | | Adds a list of results to the Results attribute of the AbstractMailCommand object
Parameters: list - The list of results to be added to the Results attribute |
execute | abstract public void execute() throws MessagingException(Code) | | Execute this command
exception: MessagingException - thrown if executing of this MailCommand fails |
getResults | public List getResults()(Code) | | Gets the results attribute of the AbstractMailCommand object
The results value |
iterator | public Iterator iterator()(Code) | | Return an iterator over the results
result iterator |
|
|