Liferay 7.0-ce-b4

com.liferay.portal.kernel.jsonwebservice
Class JSONWebServiceActionsManagerUtil

java.lang.Object
  extended by com.liferay.portal.kernel.jsonwebservice.JSONWebServiceActionsManagerUtil

public class JSONWebServiceActionsManagerUtil
extends Object


Constructor Summary
JSONWebServiceActionsManagerUtil()
           
 
Method Summary
static Set<String> getContextNames()
           
static JSONWebServiceAction getJSONWebServiceAction(javax.servlet.http.HttpServletRequest request)
           
static JSONWebServiceAction getJSONWebServiceAction(javax.servlet.http.HttpServletRequest request, String path, String method, Map<String,Object> parameterMap)
           
static JSONWebServiceActionMapping getJSONWebServiceActionMapping(String signature)
           
static List<JSONWebServiceActionMapping> getJSONWebServiceActionMappings(String contextName)
           
static int getJSONWebServiceActionsCount(String contextName)
           
static JSONWebServiceActionsManager getJSONWebServiceActionsManager()
           
static JSONWebServiceNaming getJSONWebServiceNaming()
           
static void registerJSONWebServiceAction(String contextName, String contextPath, Class<?> actionClass, Method actionMethod, String path, String method)
           
static void registerJSONWebServiceAction(String contextName, String contextPath, Object actionObject, Class<?> actionClass, Method actionMethod, String path, String method)
           
static int registerServletContext(javax.servlet.ServletContext servletContext)
           
 void setJSONWebServiceActionsManager(JSONWebServiceActionsManager jsonWebServiceActionsManager)
           
static int unregisterJSONWebServiceActions(Object actionObject)
           
static int unregisterJSONWebServiceActions(String contextPath)
           
static int unregisterServletContext(javax.servlet.ServletContext servletContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSONWebServiceActionsManagerUtil

public JSONWebServiceActionsManagerUtil()
Method Detail

getContextNames

public static Set<String> getContextNames()

getJSONWebServiceAction

public static JSONWebServiceAction getJSONWebServiceAction(javax.servlet.http.HttpServletRequest request)
                                                    throws NoSuchJSONWebServiceException
Throws:
NoSuchJSONWebServiceException

getJSONWebServiceAction

public static JSONWebServiceAction getJSONWebServiceAction(javax.servlet.http.HttpServletRequest request,
                                                           String path,
                                                           String method,
                                                           Map<String,Object> parameterMap)
                                                    throws NoSuchJSONWebServiceException
Throws:
NoSuchJSONWebServiceException

getJSONWebServiceActionMapping

public static JSONWebServiceActionMapping getJSONWebServiceActionMapping(String signature)

getJSONWebServiceActionMappings

public static List<JSONWebServiceActionMapping> getJSONWebServiceActionMappings(String contextName)

getJSONWebServiceActionsCount

public static int getJSONWebServiceActionsCount(String contextName)

getJSONWebServiceActionsManager

public static JSONWebServiceActionsManager getJSONWebServiceActionsManager()

getJSONWebServiceNaming

public static JSONWebServiceNaming getJSONWebServiceNaming()

registerJSONWebServiceAction

public static void registerJSONWebServiceAction(String contextName,
                                                String contextPath,
                                                Class<?> actionClass,
                                                Method actionMethod,
                                                String path,
                                                String method)

registerJSONWebServiceAction

public static void registerJSONWebServiceAction(String contextName,
                                                String contextPath,
                                                Object actionObject,
                                                Class<?> actionClass,
                                                Method actionMethod,
                                                String path,
                                                String method)

registerServletContext

public static int registerServletContext(javax.servlet.ServletContext servletContext)

unregisterJSONWebServiceActions

public static int unregisterJSONWebServiceActions(Object actionObject)

unregisterJSONWebServiceActions

public static int unregisterJSONWebServiceActions(String contextPath)

unregisterServletContext

public static int unregisterServletContext(javax.servlet.ServletContext servletContext)

setJSONWebServiceActionsManager

public void setJSONWebServiceActionsManager(JSONWebServiceActionsManager jsonWebServiceActionsManager)

Liferay 7.0-ce-b4