com.liferay.portlet.asset.action
Class GetCategoriesAction

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

public class GetCategoriesAction
extends JSONAction

View Source

Author:
Eduardo Lundgren

Field Summary
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
GetCategoriesAction()
           
 
Method Summary
protected  java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(javax.servlet.http.HttpServletRequest request)
           
 java.lang.String getJSON(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
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

GetCategoriesAction

public GetCategoriesAction()
Method Detail

getJSON

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

getCategories

protected java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(javax.servlet.http.HttpServletRequest request)
                                                                               throws java.lang.Exception
Throws:
java.lang.Exception