com.liferay.portal.service.http
Class RoleJSONSerializer

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

public class RoleJSONSerializer
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.RoleServiceJSON to translate objects.

Author:
Brian Wing Shun Chan
See Also:
com.liferay.portal.service.http.RoleServiceJSON

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

Constructor Detail

RoleJSONSerializer

public RoleJSONSerializer()
Method Detail

toJSONObject

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

toJSONArray

public static com.liferay.portal.kernel.json.JSONArray toJSONArray(com.liferay.portal.model.Role[] models)

toJSONArray

public static com.liferay.portal.kernel.json.JSONArray toJSONArray(com.liferay.portal.model.Role[][] models)

toJSONArray

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