com.liferay.portal.jsonwebservice
Class JSONWebServiceActionsManagerImpl
java.lang.Object
com.liferay.portal.jsonwebservice.JSONWebServiceActionsManagerImpl
- All Implemented Interfaces:
- JSONWebServiceActionsManager
public class JSONWebServiceActionsManagerImpl
- extends Object
- implements JSONWebServiceActionsManager
|
Method Summary |
Set<String> |
getContextPaths()
|
JSONWebServiceAction |
getJSONWebServiceAction(javax.servlet.http.HttpServletRequest request)
|
JSONWebServiceAction |
getJSONWebServiceAction(javax.servlet.http.HttpServletRequest request,
String path,
String method,
Map<String,Object> parameterMap)
|
JSONWebServiceActionMapping |
getJSONWebServiceActionMapping(String signature)
|
List<JSONWebServiceActionMapping> |
getJSONWebServiceActionMappings(String contextPath)
|
int |
getJSONWebServiceActionsCount(String contextPath)
|
void |
registerJSONWebServiceAction(String contextPath,
Class<?> actionClass,
Method actionMethod,
String path,
String method)
|
void |
registerJSONWebServiceAction(String contextPath,
Object actionObject,
Class<?> actionClass,
Method actionMethod,
String path,
String method)
|
int |
unregisterJSONWebServiceActions(Object actionObject)
|
int |
unregisterJSONWebServiceActions(String contextPath)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JSONWebServiceActionsManagerImpl
public JSONWebServiceActionsManagerImpl()
getContextPaths
public Set<String> getContextPaths()
- Specified by:
getContextPaths in interface JSONWebServiceActionsManager
getJSONWebServiceAction
public JSONWebServiceAction getJSONWebServiceAction(javax.servlet.http.HttpServletRequest request)
- Specified by:
getJSONWebServiceAction in interface JSONWebServiceActionsManager
getJSONWebServiceAction
public JSONWebServiceAction getJSONWebServiceAction(javax.servlet.http.HttpServletRequest request,
String path,
String method,
Map<String,Object> parameterMap)
- Specified by:
getJSONWebServiceAction in interface JSONWebServiceActionsManager
getJSONWebServiceActionMapping
public JSONWebServiceActionMapping getJSONWebServiceActionMapping(String signature)
- Specified by:
getJSONWebServiceActionMapping in interface JSONWebServiceActionsManager
getJSONWebServiceActionMappings
public List<JSONWebServiceActionMapping> getJSONWebServiceActionMappings(String contextPath)
- Specified by:
getJSONWebServiceActionMappings in interface JSONWebServiceActionsManager
getJSONWebServiceActionsCount
public int getJSONWebServiceActionsCount(String contextPath)
- Specified by:
getJSONWebServiceActionsCount in interface JSONWebServiceActionsManager
registerJSONWebServiceAction
public void registerJSONWebServiceAction(String contextPath,
Class<?> actionClass,
Method actionMethod,
String path,
String method)
- Specified by:
registerJSONWebServiceAction in interface JSONWebServiceActionsManager
registerJSONWebServiceAction
public void registerJSONWebServiceAction(String contextPath,
Object actionObject,
Class<?> actionClass,
Method actionMethod,
String path,
String method)
- Specified by:
registerJSONWebServiceAction in interface JSONWebServiceActionsManager
unregisterJSONWebServiceActions
public int unregisterJSONWebServiceActions(Object actionObject)
- Specified by:
unregisterJSONWebServiceActions in interface JSONWebServiceActionsManager
unregisterJSONWebServiceActions
public int unregisterJSONWebServiceActions(String contextPath)
- Specified by:
unregisterJSONWebServiceActions in interface JSONWebServiceActionsManager