Liferay 7.0-ce-b4

com.liferay.portal.jsonwebservice
Class JSONWebServiceActionConfig

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

public class JSONWebServiceActionConfig
extends Object
implements Comparable<JSONWebServiceActionConfig>, JSONWebServiceActionMapping


Constructor Summary
JSONWebServiceActionConfig(String contextName, String contextPath, Class<?> actionClass, Method actionMethod, String path, String method)
           
JSONWebServiceActionConfig(String contextName, String contextPath, Object actionObject, Class<?> actionClass, Method actionMethod, String path, String method)
           
 
Method Summary
 int compareTo(JSONWebServiceActionConfig jsonWebServiceActionConfig)
           
 boolean equals(Object object)
           
 Class<?> getActionClass()
           
 Method getActionMethod()
           
 Object getActionObject()
           
 String getContextName()
           
 String getContextPath()
           
 String getMethod()
           
 MethodParameter[] getMethodParameters()
           
 String getPath()
           
 Method getRealActionMethod()
           
 String getSignature()
           
 int hashCode()
           
 boolean isDeprecated()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JSONWebServiceActionConfig

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

JSONWebServiceActionConfig

public JSONWebServiceActionConfig(String contextName,
                                  String contextPath,
                                  Object actionObject,
                                  Class<?> actionClass,
                                  Method actionMethod,
                                  String path,
                                  String method)
Method Detail

compareTo

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

equals

public boolean equals(Object object)
Overrides:
equals in class Object

getActionClass

public Class<?> getActionClass()
Specified by:
getActionClass in interface JSONWebServiceActionMapping

getActionMethod

public Method getActionMethod()
Specified by:
getActionMethod in interface JSONWebServiceActionMapping

getActionObject

public Object getActionObject()
Specified by:
getActionObject in interface JSONWebServiceActionMapping

getContextName

public String getContextName()
Specified by:
getContextName in interface JSONWebServiceActionMapping

getContextPath

public String getContextPath()
Specified by:
getContextPath in interface JSONWebServiceActionMapping

getMethod

public String getMethod()
Specified by:
getMethod in interface JSONWebServiceActionMapping

getMethodParameters

public MethodParameter[] getMethodParameters()
Specified by:
getMethodParameters in interface JSONWebServiceActionMapping

getPath

public String getPath()
Specified by:
getPath in interface JSONWebServiceActionMapping

getRealActionMethod

public Method getRealActionMethod()
Specified by:
getRealActionMethod in interface JSONWebServiceActionMapping

getSignature

public String getSignature()
Specified by:
getSignature in interface JSONWebServiceActionMapping

hashCode

public int hashCode()
Overrides:
hashCode in class Object

isDeprecated

public boolean isDeprecated()
Specified by:
isDeprecated in interface JSONWebServiceActionMapping

toString

public String toString()
Overrides:
toString in class Object

Liferay 7.0-ce-b4