com.liferay.portal.jsonwebservice
Class JSONWebServiceActionConfig

java.lang.Object
  extended by com.liferay.portal.jsonwebservice.JSONWebServiceActionConfig
All Implemented Interfaces:
com.liferay.portal.kernel.jsonwebservice.JSONWebServiceActionMapping, java.lang.Comparable<JSONWebServiceActionConfig>

public class JSONWebServiceActionConfig
extends java.lang.Object
implements java.lang.Comparable<JSONWebServiceActionConfig>, com.liferay.portal.kernel.jsonwebservice.JSONWebServiceActionMapping

Author:
Igor Spasic

Constructor Summary
JSONWebServiceActionConfig(java.lang.String servletContextPath, java.lang.Class<?> actionClass, java.lang.reflect.Method actionMethod, java.lang.String path, java.lang.String method)
           
 
Method Summary
 int compareTo(JSONWebServiceActionConfig jsonWebServiceActionConfig)
           
 java.lang.Class<?> getActionClass()
           
 java.lang.reflect.Method getActionMethod()
           
 java.lang.String getFullPath()
           
 java.lang.String getMethod()
           
 com.liferay.portal.kernel.util.MethodParameter[] getMethodParameters()
           
 java.lang.String getPath()
           
 java.lang.String getServletContextPath()
           
 java.lang.String getSignature()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JSONWebServiceActionConfig

public JSONWebServiceActionConfig(java.lang.String servletContextPath,
                                  java.lang.Class<?> actionClass,
                                  java.lang.reflect.Method actionMethod,
                                  java.lang.String path,
                                  java.lang.String method)
Method Detail

compareTo

public int compareTo(JSONWebServiceActionConfig jsonWebServiceActionConfig)
Specified by:
compareTo in interface java.lang.Comparable<JSONWebServiceActionConfig>

getActionClass

public java.lang.Class<?> getActionClass()
Specified by:
getActionClass in interface com.liferay.portal.kernel.jsonwebservice.JSONWebServiceActionMapping

getActionMethod

public java.lang.reflect.Method getActionMethod()
Specified by:
getActionMethod in interface com.liferay.portal.kernel.jsonwebservice.JSONWebServiceActionMapping

getFullPath

public java.lang.String getFullPath()

getMethod

public java.lang.String getMethod()
Specified by:
getMethod in interface com.liferay.portal.kernel.jsonwebservice.JSONWebServiceActionMapping

getMethodParameters

public com.liferay.portal.kernel.util.MethodParameter[] getMethodParameters()
Specified by:
getMethodParameters in interface com.liferay.portal.kernel.jsonwebservice.JSONWebServiceActionMapping

getPath

public java.lang.String getPath()
Specified by:
getPath in interface com.liferay.portal.kernel.jsonwebservice.JSONWebServiceActionMapping

getServletContextPath

public java.lang.String getServletContextPath()
Specified by:
getServletContextPath in interface com.liferay.portal.kernel.jsonwebservice.JSONWebServiceActionMapping

getSignature

public java.lang.String getSignature()
Specified by:
getSignature in interface com.liferay.portal.kernel.jsonwebservice.JSONWebServiceActionMapping

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object