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