|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cocoon.util.AbstractLogEnabled org.apache.cocoon.mail.command.AbstractMailCommand
An abstract MailCommand template
Constructor Summary | |
AbstractMailCommand()
Constructor for the AbstractMailCommand object |
Method Summary | |
void |
addResult(Object o)
Adds a result to the Result attribute of the AbstractMailCommand object |
void |
addResults(List list)
Adds a list of results to the Results attribute of the AbstractMailCommand object |
abstract void |
execute()
Execute this command |
List |
getResults()
Gets the results attribute of the AbstractMailCommand object |
Iterator |
iterator()
Return an iterator over the results |
Methods inherited from class org.apache.cocoon.util.AbstractLogEnabled |
getLogger, setLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AbstractMailCommand()
Method Detail |
public List getResults()
public void addResult(Object o)
o
- The result to be added to the Result attributepublic void addResults(List list)
list
- The list of results to be added to the Results attributepublic Iterator iterator()
public abstract void execute() throws MessagingException
execute
in interface MailCommand
MessagingException
- thrown if executing of this MailCommand fails
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |