org.apache.cocoon.mail
Class MailCommandManager.MailListFolderCommand

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.cocoon.mail.command.AbstractMailCommand
          extended by org.apache.cocoon.mail.MailCommandManager.MailListFolderCommand
All Implemented Interfaces:
Contextualizable, LogEnabled, MailCommand
Enclosing class:
MailCommandManager

public static class MailCommandManager.MailListFolderCommand
extends AbstractMailCommand
implements Contextualizable

List all subfolders of a folder, put all retrieved folders as command result.


Constructor Summary
MailCommandManager.MailListFolderCommand()
          Constructor for the MailFoldersCommand object
 
Method Summary
 void contextualize(Context ctx)
          Description of the Method
 void execute()
          Description of the Method
 String getFolderPattern()
          Gets the folderPattern attribute of the ListFolderCommand object
 
Methods inherited from class org.apache.cocoon.mail.command.AbstractMailCommand
addResult, addResults, getResults, iterator
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailCommandManager.MailListFolderCommand

public MailCommandManager.MailListFolderCommand()
Constructor for the MailFoldersCommand object

Method Detail

getFolderPattern

public String getFolderPattern()
Gets the folderPattern attribute of the ListFolderCommand object

Returns:
The folderPattern value

contextualize

public void contextualize(Context ctx)
                   throws ContextException
Description of the Method

Specified by:
contextualize in interface Contextualizable
Parameters:
ctx - Description of the Parameter
Throws:
ContextException - Description of the Exception

execute

public void execute()
             throws MessagingException
Description of the Method

Specified by:
execute in interface MailCommand
Specified by:
execute in class AbstractMailCommand
Throws:
MessagingException - Description of the Exception


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.