From 2b8c5e5147db290828aad13bee66b7703d4510f0 Mon Sep 17 00:00:00 2001 From: "panagiotis.kanakakis" Date: Tue, 16 Jan 2018 14:00:11 +0000 Subject: [PATCH] Make Aggregation/AggregationDetails class serializable --- .../eu/dnetlib/repo/manager/shared/AggregationDetails.java | 4 +++- .../java/eu/dnetlib/repo/manager/shared/Aggregations.java | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/main/java/eu/dnetlib/repo/manager/shared/AggregationDetails.java b/src/main/java/eu/dnetlib/repo/manager/shared/AggregationDetails.java index 55376e2..c535943 100644 --- a/src/main/java/eu/dnetlib/repo/manager/shared/AggregationDetails.java +++ b/src/main/java/eu/dnetlib/repo/manager/shared/AggregationDetails.java @@ -1,8 +1,10 @@ package eu.dnetlib.repo.manager.shared; +import com.google.gwt.user.client.rpc.IsSerializable; + import java.util.Date; -public class AggregationDetails { +public class AggregationDetails implements IsSerializable{ private String aggregationStage; diff --git a/src/main/java/eu/dnetlib/repo/manager/shared/Aggregations.java b/src/main/java/eu/dnetlib/repo/manager/shared/Aggregations.java index e82f531..44b3d8d 100644 --- a/src/main/java/eu/dnetlib/repo/manager/shared/Aggregations.java +++ b/src/main/java/eu/dnetlib/repo/manager/shared/Aggregations.java @@ -1,9 +1,11 @@ package eu.dnetlib.repo.manager.shared; +import com.google.gwt.user.client.rpc.IsSerializable; + import java.util.ArrayList; import java.util.List; -public class Aggregations { +public class Aggregations implements IsSerializable{ private List aggregationHistory = new ArrayList<>(); private AggregationDetails lastCollection;