Make Aggregation/AggregationDetails class serializable

This commit is contained in:
Panagiotis Kanakakis 2018-01-16 14:00:11 +00:00
parent 44a3e2b0ec
commit 2b8c5e5147
2 changed files with 6 additions and 2 deletions

View File

@ -1,8 +1,10 @@
package eu.dnetlib.repo.manager.shared; package eu.dnetlib.repo.manager.shared;
import com.google.gwt.user.client.rpc.IsSerializable;
import java.util.Date; import java.util.Date;
public class AggregationDetails { public class AggregationDetails implements IsSerializable{
private String aggregationStage; private String aggregationStage;

View File

@ -1,9 +1,11 @@
package eu.dnetlib.repo.manager.shared; package eu.dnetlib.repo.manager.shared;
import com.google.gwt.user.client.rpc.IsSerializable;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
public class Aggregations { public class Aggregations implements IsSerializable{
private List<AggregationDetails> aggregationHistory = new ArrayList<>(); private List<AggregationDetails> aggregationHistory = new ArrayList<>();
private AggregationDetails lastCollection; private AggregationDetails lastCollection;