com.liferay.portal.service.http
Class PermissionJSONSerializer

java.lang.Object
  extended by com.liferay.portal.service.http.PermissionJSONSerializer

public class PermissionJSONSerializer
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.PermissionServiceJSON to translate objects.

Author:
Brian Wing Shun Chan
See Also:
PermissionServiceJSON

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

Constructor Detail

PermissionJSONSerializer

public PermissionJSONSerializer()
Method Detail

toJSONObject

public static com.liferay.portal.kernel.json.JSONObject toJSONObject(com.liferay.portal.model.Permission model)

toJSONArray

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