public class JSONWebServiceActionsManagerImpl
extends Object
implements com.liferay.portal.kernel.jsonwebservice.JSONWebServiceActionsManager
Constructor and Description |
---|
JSONWebServiceActionsManagerImpl() |
Modifier and Type | Method and Description |
---|---|
Set<String> |
getContextNames() |
com.liferay.portal.kernel.jsonwebservice.JSONWebServiceAction |
getJSONWebServiceAction(javax.servlet.http.HttpServletRequest request) |
com.liferay.portal.kernel.jsonwebservice.JSONWebServiceAction |
getJSONWebServiceAction(javax.servlet.http.HttpServletRequest request,
String path,
String method,
Map<String,Object> parameterMap) |
com.liferay.portal.kernel.jsonwebservice.JSONWebServiceActionMapping |
getJSONWebServiceActionMapping(String signature) |
List<com.liferay.portal.kernel.jsonwebservice.JSONWebServiceActionMapping> |
getJSONWebServiceActionMappings(String contextName) |
int |
getJSONWebServiceActionsCount(String contextName) |
com.liferay.portal.kernel.jsonwebservice.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 |
registerService(String contextName,
String contextPath,
Object service,
com.liferay.portal.kernel.jsonwebservice.JSONWebServiceRegistrator jsonWebServiceRegistrator) |
int |
registerServletContext(javax.servlet.ServletContext servletContext) |
int |
unregisterJSONWebServiceActions(Object actionObject) |
int |
unregisterJSONWebServiceActions(String contextPath) |
int |
unregisterServletContext(javax.servlet.ServletContext servletContext) |
public Set<String> getContextNames()
getContextNames
in interface com.liferay.portal.kernel.jsonwebservice.JSONWebServiceActionsManager
public com.liferay.portal.kernel.jsonwebservice.JSONWebServiceAction getJSONWebServiceAction(javax.servlet.http.HttpServletRequest request) throws com.liferay.portal.kernel.jsonwebservice.NoSuchJSONWebServiceException
getJSONWebServiceAction
in interface com.liferay.portal.kernel.jsonwebservice.JSONWebServiceActionsManager
com.liferay.portal.kernel.jsonwebservice.NoSuchJSONWebServiceException
public com.liferay.portal.kernel.jsonwebservice.JSONWebServiceAction getJSONWebServiceAction(javax.servlet.http.HttpServletRequest request, String path, String method, Map<String,Object> parameterMap) throws com.liferay.portal.kernel.jsonwebservice.NoSuchJSONWebServiceException
getJSONWebServiceAction
in interface com.liferay.portal.kernel.jsonwebservice.JSONWebServiceActionsManager
com.liferay.portal.kernel.jsonwebservice.NoSuchJSONWebServiceException
public com.liferay.portal.kernel.jsonwebservice.JSONWebServiceActionMapping getJSONWebServiceActionMapping(String signature)
getJSONWebServiceActionMapping
in interface com.liferay.portal.kernel.jsonwebservice.JSONWebServiceActionsManager
public List<com.liferay.portal.kernel.jsonwebservice.JSONWebServiceActionMapping> getJSONWebServiceActionMappings(String contextName)
getJSONWebServiceActionMappings
in interface com.liferay.portal.kernel.jsonwebservice.JSONWebServiceActionsManager
public int getJSONWebServiceActionsCount(String contextName)
getJSONWebServiceActionsCount
in interface com.liferay.portal.kernel.jsonwebservice.JSONWebServiceActionsManager
public com.liferay.portal.kernel.jsonwebservice.JSONWebServiceNaming getJSONWebServiceNaming()
getJSONWebServiceNaming
in interface com.liferay.portal.kernel.jsonwebservice.JSONWebServiceActionsManager
public void registerJSONWebServiceAction(String contextName, String contextPath, Class<?> actionClass, Method actionMethod, String path, String method)
registerJSONWebServiceAction
in interface com.liferay.portal.kernel.jsonwebservice.JSONWebServiceActionsManager
public void registerJSONWebServiceAction(String contextName, String contextPath, Object actionObject, Class<?> actionClass, Method actionMethod, String path, String method)
registerJSONWebServiceAction
in interface com.liferay.portal.kernel.jsonwebservice.JSONWebServiceActionsManager
public int registerService(String contextPath, Object service)
registerService
in interface com.liferay.portal.kernel.jsonwebservice.JSONWebServiceActionsManager
public int registerService(String contextName, String contextPath, Object service)
registerService
in interface com.liferay.portal.kernel.jsonwebservice.JSONWebServiceActionsManager
public int registerService(String contextName, String contextPath, Object service, com.liferay.portal.kernel.jsonwebservice.JSONWebServiceRegistrator jsonWebServiceRegistrator)
registerService
in interface com.liferay.portal.kernel.jsonwebservice.JSONWebServiceActionsManager
public int registerServletContext(javax.servlet.ServletContext servletContext)
registerServletContext
in interface com.liferay.portal.kernel.jsonwebservice.JSONWebServiceActionsManager
public int unregisterJSONWebServiceActions(Object actionObject)
unregisterJSONWebServiceActions
in interface com.liferay.portal.kernel.jsonwebservice.JSONWebServiceActionsManager
public int unregisterJSONWebServiceActions(String contextPath)
unregisterJSONWebServiceActions
in interface com.liferay.portal.kernel.jsonwebservice.JSONWebServiceActionsManager
public int unregisterServletContext(javax.servlet.ServletContext servletContext)
unregisterServletContext
in interface com.liferay.portal.kernel.jsonwebservice.JSONWebServiceActionsManager