com.liferay.portal.service.http
Class PortletJSONSerializer
java.lang.Object
com.liferay.portal.service.http.PortletJSONSerializer
public class PortletJSONSerializer
- 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.PortletServiceJSON
to translate objects.
- Author:
- Brian Wing Shun Chan
- See Also:
PortletServiceJSON
Method Summary |
static com.liferay.portal.kernel.json.JSONArray |
toJSONArray(java.util.List<com.liferay.portal.model.Portlet> models)
|
static com.liferay.portal.kernel.json.JSONObject |
toJSONObject(com.liferay.portal.model.Portlet model)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortletJSONSerializer
public PortletJSONSerializer()
toJSONObject
public static com.liferay.portal.kernel.json.JSONObject toJSONObject(com.liferay.portal.model.Portlet model)
toJSONArray
public static com.liferay.portal.kernel.json.JSONArray toJSONArray(java.util.List<com.liferay.portal.model.Portlet> models)