| java.lang.Object com.liferay.portlet.mail.util.MailUtil
MailUtil | public class MailUtil (Code) | | Used as a fascade to the JavaMail API. All JavaMail objects are wrappered in
model classes and returned out of this utility fascade.
View Source
author: Alexander Chow |
Method Summary | |
protected static void | cleanUp(HttpSession ses) | public static void | completeMessage(HttpServletRequest req, MailMessage mailMessage, boolean send, String originalId, boolean wasDraft) | public static void | createFolder(HttpServletRequest req, String folderName) | public static void | deleteMessages(HttpServletRequest req, MultiValueMap msgMap) | public static void | deleteMessages(HttpServletRequest req, MultiValueMap msgMap, boolean permanently) | public static void | emptyFolder(HttpServletRequest req, String folderName) | public static Object[] | getAttachment(HttpServletRequest req, String contentPath) | public static Set | getEnvelopes(HttpServletRequest req, Comparator comparator) | public static MailFolder | getFolder(HttpServletRequest req) | public static String | getFolderName(HttpServletRequest req) | public static List | getFolders(HttpServletRequest req) | public static MailMessage | getMessage(HttpServletRequest req) | public static MailMessage | getMessage(HttpServletRequest req, long messageId) | public static long | getMessageId(HttpServletRequest req) | public static void | moveMessages(HttpServletRequest req, MultiValueMap msgMap, String toFolderName) | public static void | removeFolder(HttpServletRequest req, String folderName) | public static void | renameFolder(HttpServletRequest req, String oldFolderName, String newFolderName) | public static Set | search(HttpServletRequest req, MailDisplayTerms displayTerms, Comparator comparator) | public static void | setAccount(HttpServletRequest req) | public static void | setFolder(HttpServletRequest req, String folderName) | public static void | setMessageId(HttpServletRequest req, long messageId) |
DEFAULT_FOLDERS | final public static String[] DEFAULT_FOLDERS(Code) | | |
MAIL_BOX_STYLE | final public static String MAIL_BOX_STYLE(Code) | | |
MAIL_DRAFTS_NAME | final public static String MAIL_DRAFTS_NAME(Code) | | |
MAIL_INBOX_NAME | final public static String MAIL_INBOX_NAME(Code) | | |
MAIL_SENT_NAME | final public static String MAIL_SENT_NAME(Code) | | |
MAIL_SPAM_NAME | final public static String MAIL_SPAM_NAME(Code) | | |
MAIL_TRASH_NAME | final public static String MAIL_TRASH_NAME(Code) | | |
|
|