package org.zanata.webtrans.shared.rpc;

import net.customware.gwt.dispatch.shared.Action;
import net.customware.gwt.dispatch.shared.Result;

public class WrappedAction<R extends Result> implements Action<R>
{
   // generated
   private static final long serialVersionUID = 4059317550536068556L;

   private Action<R> action;
   private String csrfToken;

   public WrappedAction()
   {
   }

   public WrappedAction(Action<R> action, String csrfToken)
   {
      this.action = action;
      this.csrfToken = csrfToken;
   }

   public Action<R> getAction()
   {
      return action;
   }

   public String getCsrfToken()
   {
      return csrfToken;
   }

}

@@ -34,16 +34,71 @@
 d.rpc;%0A%0A
+import com.google.gwt.user.client.rpc.IsSerializable;%0A%0A
 import n
@@ -255,16 +255,32 @@
 ction%3CR%3E
+, IsSerializable
 %0A%7B%0A   //

Implement IsSerializable in WrappedAction