com.liferay.portal.service.http
Class ResourceJSONSerializer

java.lang.Object
  extended bycom.liferay.portal.service.http.ResourceJSONSerializer

public class ResourceJSONSerializer
extends java.lang.Object

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class is used by com.liferay.portal.service.http.ResourceServiceJSON to translate objects.

Author:
Brian Wing Shun Chan
See Also:
ResourceServiceJSON

Constructor Summary
ResourceJSONSerializer()
           
 
Method Summary
static org.json.JSONArray toJSONArray(java.util.List models)
           
static org.json.JSONObject toJSONObject(com.liferay.portal.model.Resource model)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceJSONSerializer

public ResourceJSONSerializer()
Method Detail

toJSONObject

public static org.json.JSONObject toJSONObject(com.liferay.portal.model.Resource model)

toJSONArray

public static org.json.JSONArray toJSONArray(java.util.List models)