com.liferay.portal.service.http
Class ResourceJSONSerializer

java.lang.Object
  extended by com.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 com.liferay.portal.kernel.json.JSONArray toJSONArray(java.util.List<com.liferay.portal.model.Resource> models)
           
static com.liferay.portal.kernel.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 com.liferay.portal.kernel.json.JSONObject toJSONObject(com.liferay.portal.model.Resource model)

toJSONArray

public static com.liferay.portal.kernel.json.JSONArray toJSONArray(java.util.List<com.liferay.portal.model.Resource> models)