Liferay 7.0-ce-m6

com.liferay.portal.kernel.jsonwebservice
Interface JSONWebServiceActionsManager


public interface JSONWebServiceActionsManager


Method Summary
 Set<String> getContextNames()
           
 JSONWebServiceAction getJSONWebServiceAction(javax.servlet.http.HttpServletRequest request)
           
 JSONWebServiceAction getJSONWebServiceAction(javax.servlet.http.HttpServletRequest request, String path, String method, Map<String,Object> parameters)
           
 JSONWebServiceActionMapping getJSONWebServiceActionMapping(String signature)
           
 List<JSONWebServiceActionMapping> getJSONWebServiceActionMappings(String contextName)
           
 int getJSONWebServiceActionsCount(String contextName)
           
 JSONWebServiceNaming getJSONWebServiceNaming()
           
 void registerJSONWebServiceAction(String contextName, String contextPath, Class<?> actionClass, Method actionMethod, String path, String method)
           
 void registerJSONWebServiceAction(String contextName, String contextPath, Object actionObject, Class<?> actionClass, Method actionMethod, String path, String method)
           
 int registerService(String contextPath, Object service)
           
 int registerService(String contextName, String contextPath, Object service)
           
 int registerServletContext(javax.servlet.ServletContext servletContext)
           
 int unregisterJSONWebServiceActions(Object actionObject)
           
 int unregisterJSONWebServiceActions(String contextPath)
           
 int unregisterServletContext(javax.servlet.ServletContext servletContext)
           
 

Method Detail

getContextNames

Set<String> getContextNames()

getJSONWebServiceAction

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

getJSONWebServiceAction

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

getJSONWebServiceActionMapping

JSONWebServiceActionMapping getJSONWebServiceActionMapping(String signature)

getJSONWebServiceActionMappings

List<JSONWebServiceActionMapping> getJSONWebServiceActionMappings(String contextName)

getJSONWebServiceActionsCount

int getJSONWebServiceActionsCount(String contextName)

getJSONWebServiceNaming

JSONWebServiceNaming getJSONWebServiceNaming()

registerJSONWebServiceAction

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

registerJSONWebServiceAction

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

registerService

int registerService(String contextPath,
                    Object service)

registerService

int registerService(String contextName,
                    String contextPath,
                    Object service)

registerServletContext

int registerServletContext(javax.servlet.ServletContext servletContext)

unregisterJSONWebServiceActions

int unregisterJSONWebServiceActions(Object actionObject)

unregisterJSONWebServiceActions

int unregisterJSONWebServiceActions(String contextPath)

unregisterServletContext

int unregisterServletContext(javax.servlet.ServletContext servletContext)

Liferay 7.0-ce-m6