com.liferay.portlet.chat.action
Class RosterAction

java.lang.Object
  extended byorg.apache.struts.action.Action
      extended bycom.liferay.portal.struts.JSONAction
          extended bycom.liferay.portlet.chat.action.RosterAction

public class RosterAction
extends JSONAction

View Source

Author:
Ming-Gih Lam

Field Summary
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
RosterAction()
           
 
Method Summary
protected  org.json.JSONObject addEntry(javax.servlet.http.HttpServletRequest req)
           
protected  org.json.JSONObject deleteEntries(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)
           
 
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

RosterAction

public RosterAction()
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

addEntry

protected org.json.JSONObject addEntry(javax.servlet.http.HttpServletRequest req)

deleteEntries

protected org.json.JSONObject deleteEntries(javax.servlet.http.HttpServletRequest req)