com.liferay.portlet.mail.action
Class MailAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by com.liferay.portal.struts.JSONAction
          extended by com.liferay.portlet.mail.action.MailAction

public class MailAction
extends JSONAction

View Source

Author:
Ming-Gih Lam

Field Summary
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
MailAction()
           
 
Method Summary
protected  void addFolder(javax.servlet.http.HttpServletRequest req)
           
protected  void deleteFolder(javax.servlet.http.HttpServletRequest req)
           
protected  void deleteMessages(javax.servlet.http.HttpServletRequest req)
           
protected  java.lang.String emptyFolder(javax.servlet.http.HttpServletRequest req)
           
protected  java.util.Comparator getComparator(javax.servlet.http.HttpServletRequest req)
           
protected  java.lang.String getFolders(javax.servlet.http.HttpServletRequest req)
           
 java.lang.String getJSON(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
           
protected  java.lang.String getMessage(javax.servlet.http.HttpServletRequest req)
           
protected  java.lang.String getPreview(javax.servlet.http.HttpServletRequest req)
           
protected  java.lang.String getRecipients(javax.servlet.http.HttpServletRequest req)
           
protected  java.lang.String getSearch(javax.servlet.http.HttpServletRequest req)
           
protected  java.lang.String getSearchCached(javax.servlet.http.HttpServletRequest req)
           
protected  void moveMessages(javax.servlet.http.HttpServletRequest req)
           
protected  void renameFolder(javax.servlet.http.HttpServletRequest req)
           
protected  void updatePreferences(javax.servlet.http.HttpServletRequest req)
           
 
Methods inherited from class com.liferay.portal.struts.JSONAction
execute
 
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailAction

public MailAction()
Method Detail

getJSON

public java.lang.String getJSON(org.apache.struts.action.ActionMapping mapping,
                                org.apache.struts.action.ActionForm form,
                                javax.servlet.http.HttpServletRequest req,
                                javax.servlet.http.HttpServletResponse res)
                         throws java.lang.Exception
Specified by:
getJSON in class JSONAction
Throws:
java.lang.Exception

addFolder

protected void addFolder(javax.servlet.http.HttpServletRequest req)
                  throws java.lang.Exception
Throws:
java.lang.Exception

deleteFolder

protected void deleteFolder(javax.servlet.http.HttpServletRequest req)
                     throws java.lang.Exception
Throws:
java.lang.Exception

deleteMessages

protected void deleteMessages(javax.servlet.http.HttpServletRequest req)
                       throws java.lang.Exception
Throws:
java.lang.Exception

emptyFolder

protected java.lang.String emptyFolder(javax.servlet.http.HttpServletRequest req)
                                throws java.lang.Exception
Throws:
java.lang.Exception

getComparator

protected java.util.Comparator getComparator(javax.servlet.http.HttpServletRequest req)
                                      throws java.lang.Exception
Throws:
java.lang.Exception

getFolders

protected java.lang.String getFolders(javax.servlet.http.HttpServletRequest req)
                               throws java.lang.Exception
Throws:
java.lang.Exception

getMessage

protected java.lang.String getMessage(javax.servlet.http.HttpServletRequest req)
                               throws java.lang.Exception
Throws:
java.lang.Exception

getPreview

protected java.lang.String getPreview(javax.servlet.http.HttpServletRequest req)
                               throws java.lang.Exception
Throws:
java.lang.Exception

getRecipients

protected java.lang.String getRecipients(javax.servlet.http.HttpServletRequest req)
                                  throws java.lang.Exception
Throws:
java.lang.Exception

getSearch

protected java.lang.String getSearch(javax.servlet.http.HttpServletRequest req)
                              throws java.lang.Exception
Throws:
java.lang.Exception

getSearchCached

protected java.lang.String getSearchCached(javax.servlet.http.HttpServletRequest req)
                                    throws java.lang.Exception
Throws:
java.lang.Exception

moveMessages

protected void moveMessages(javax.servlet.http.HttpServletRequest req)
                     throws java.lang.Exception
Throws:
java.lang.Exception

renameFolder

protected void renameFolder(javax.servlet.http.HttpServletRequest req)
                     throws java.lang.Exception
Throws:
java.lang.Exception

updatePreferences

protected void updatePreferences(javax.servlet.http.HttpServletRequest req)
                          throws java.lang.Exception
Throws:
java.lang.Exception