Author: julien_viet
Date: 2010-03-10 19:30:48 -0500 (Wed, 10 Mar 2010)
New Revision: 2138
Modified:
portal/trunk/component/portal/src/main/java/org/exoplatform/portal/pom/spi/gadget/Gadget.java
portal/trunk/component/portal/src/main/java/org/exoplatform/portal/pom/spi/portlet/Portlet.java
portal/trunk/component/portal/src/main/java/org/exoplatform/portal/pom/spi/portlet/Preference.java
Log:
make more stuff serializable for mop replication
Modified:
portal/trunk/component/portal/src/main/java/org/exoplatform/portal/pom/spi/gadget/Gadget.java
===================================================================
---
portal/trunk/component/portal/src/main/java/org/exoplatform/portal/pom/spi/gadget/Gadget.java 2010-03-11
00:21:59 UTC (rev 2137)
+++
portal/trunk/component/portal/src/main/java/org/exoplatform/portal/pom/spi/gadget/Gadget.java 2010-03-11
00:30:48 UTC (rev 2138)
@@ -23,13 +23,14 @@
import org.json.JSONException;
import org.json.JSONObject;
+import java.io.Serializable;
import java.util.Iterator;
/**
* @author <a href="mailto:julien.viet@exoplatform.com">Julien
Viet</a>
* @version $Revision$
*/
-public class Gadget
+public class Gadget implements Serializable
{
/** . */
Modified:
portal/trunk/component/portal/src/main/java/org/exoplatform/portal/pom/spi/portlet/Portlet.java
===================================================================
---
portal/trunk/component/portal/src/main/java/org/exoplatform/portal/pom/spi/portlet/Portlet.java 2010-03-11
00:21:59 UTC (rev 2137)
+++
portal/trunk/component/portal/src/main/java/org/exoplatform/portal/pom/spi/portlet/Portlet.java 2010-03-11
00:30:48 UTC (rev 2138)
@@ -21,6 +21,7 @@
import org.gatein.mop.api.content.ContentType;
+import java.io.Serializable;
import java.util.Collections;
import java.util.HashMap;
import java.util.Iterator;
@@ -31,7 +32,7 @@
* @author <a href="mailto:julien.viet@exoplatform.com">Julien
Viet</a>
* @version $Revision$
*/
-public final class Portlet implements Iterable<Preference>
+public final class Portlet implements Iterable<Preference>, Serializable
{
/** . */
Modified:
portal/trunk/component/portal/src/main/java/org/exoplatform/portal/pom/spi/portlet/Preference.java
===================================================================
---
portal/trunk/component/portal/src/main/java/org/exoplatform/portal/pom/spi/portlet/Preference.java 2010-03-11
00:21:59 UTC (rev 2137)
+++
portal/trunk/component/portal/src/main/java/org/exoplatform/portal/pom/spi/portlet/Preference.java 2010-03-11
00:30:48 UTC (rev 2138)
@@ -19,6 +19,7 @@
package org.exoplatform.portal.pom.spi.portlet;
+import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
@@ -27,7 +28,7 @@
* @author <a href="mailto:julien.viet@exoplatform.com">Julien
Viet</a>
* @version $Revision$
*/
-public final class Preference
+public final class Preference implements Serializable
{
/** . */
Show replies by date