|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.avalon.framework.logger.AbstractLogEnabled org.apache.cocoon.mail.MailCommandManager
public class MailCommandManager
Manage invocation of mail commands.
Nested Class Summary | |
---|---|
static class |
MailCommandManager.MailCatAttachmentMessageByIdCommand
Retrieved a message part by its part id, specifying the message by id, put retrieved part as command result. |
static class |
MailCommandManager.MailCatMessageByIdCommand
Retrieved a message (envelope plus content) of a folder by its id, put retrieved message as command result. |
static class |
MailCommandManager.MailCatMessageByUIDCommand
Retrieved a message (envelope plus content) of a folder by its uid, put retrieved message as command result. |
static class |
MailCommandManager.MailFolderCatCommand
Retrieve folder, and put it as command result. |
static class |
MailCommandManager.MailListFolderCommand
List all subfolders of a folder, put all retrieved folders as command result. |
static class |
MailCommandManager.MailListMessagesCommand
Retrieved headers of all messages of a folder, put retrieved messages as command result. |
static class |
MailCommandManager.MailRefreshFolderCommand
Retrieve folder, and put it as command result. |
static class |
MailCommandManager.MailSearchMessagesCommand
Description of the Class |
Field Summary | |
---|---|
static String |
CONTEXT_FOLDER_ENTRY
Context key specifying the foldername. |
static String |
CONTEXT_FOLDER_PATTERN_ENTRY
Description of the Field |
static String |
CONTEXT_ID_ENTRY
Description of the Field |
static String |
CONTEXT_MAX_FOLDER_LEVEL_ENTRY
Description of the Field |
static String |
CONTEXT_PARTID_ENTRY
Description of the Field |
static String |
CONTEXT_UID_ENTRY
Description of the Field |
static String |
DEFAULT_FOLDER_NAME
Description of the Field |
static String |
DEFAULT_FOLDER_PATTERN
Description of the Field |
Constructor Summary | |
---|---|
MailCommandManager()
Creates a new instance of MailHeaderList |
Method Summary | |
---|---|
static void |
closeFolder(Folder f)
Close a javamail folder |
static void |
closeStore(Store s)
Close a javamail store |
List |
execute(AbstractMailCommand amfa)
Description of the Method |
List |
execute(List aList)
Description of the Method |
static void |
openFolder(Folder f,
int mode)
Open a javamail folder |
static void |
openStore(Store s)
Open a javamail store |
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 |
Field Detail |
---|
public static final String DEFAULT_FOLDER_NAME
public static final String DEFAULT_FOLDER_PATTERN
public static final String CONTEXT_FOLDER_ENTRY
public static final String CONTEXT_UID_ENTRY
public static final String CONTEXT_ID_ENTRY
public static final String CONTEXT_PARTID_ENTRY
public static final String CONTEXT_FOLDER_PATTERN_ENTRY
public static final String CONTEXT_MAX_FOLDER_LEVEL_ENTRY
Constructor Detail |
---|
public MailCommandManager()
Method Detail |
---|
public static void openFolder(Folder f, int mode) throws MessagingException
f
- Description of the Parametermode
- folder opening mode, use Folder.READ_WRITE, or Folder.READ_ONLY
MessagingException
- Description of the Exceptionpublic static void closeFolder(Folder f) throws MessagingException
f
- Description of the Parameter
MessagingException
- Description of the Exceptionpublic static void openStore(Store s) throws MessagingException
s
- Description of the Parameter
MessagingException
- Description of the Exceptionpublic static void closeStore(Store s) throws MessagingException
s
- Description of the Parameter
MessagingException
- Description of the Exceptionpublic List execute(List aList)
aList
- Description of the Parameter
public List execute(AbstractMailCommand amfa)
amfa
- Description of the Parameter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |