diff --git a/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/sdmx/SDMXExportMonitor.java b/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/sdmx/SDMXExportMonitor.java deleted file mode 100644 index 565f3e5..0000000 --- a/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/sdmx/SDMXExportMonitor.java +++ /dev/null @@ -1,100 +0,0 @@ -package org.gcube.portlets.user.td.gwtservice.shared.sdmx; - -import java.io.Serializable; - -import org.gcube.portlets.user.td.gwtservice.shared.task.State; -import org.gcube.portlets.user.td.gwtservice.shared.tr.table.metadata.TabExportMetadata; -import org.gcube.portlets.user.td.widgetcommonevent.shared.TRId; - - -/** - * - * @author "Giancarlo Panichi" - * g.panichi@isti.cnr.it - * - */ -public class SDMXExportMonitor implements Serializable { - - private static final long serialVersionUID = -5998841163159590481L; - - protected float progress; - protected State status; - protected String statusDescription; - protected Throwable error; - protected String url; - protected TabExportMetadata tabExportMetadata; - protected TRId trId; - - public TRId getTrId() { - return trId; - } - - public void setTrId(TRId trId) { - this.trId = trId; - } - - public float getProgress(){ - return progress; - }; - - public State getStatus(){ - return status; - } - - public String getStatusDescription(){ - return statusDescription; - } - - public void setProgress(float progress) { - this.progress = progress; - } - - public void setStatus(State status) { - this.status = status; - } - - public void setStatus(int status) { - this.status = State.values()[status]; - } - - public void setStatusDescription(String statusDescription) { - this.statusDescription = statusDescription; - } - - public Throwable getError() { - return error; - } - - public void setError(Throwable error) { - this.error = error; - } - - public String getUrl() { - return url; - } - - public void setUrl(String url) { - this.url = url; - } - - public TabExportMetadata getTabExportMetadata() { - return tabExportMetadata; - } - - public void setTabExportMetadata(TabExportMetadata tabExportMetadata) { - this.tabExportMetadata = tabExportMetadata; - } - - @Override - public String toString() { - return "SDMXExportMonitor [progress=" + progress + ", status=" + status - + ", statusDescription=" + statusDescription + ", error=" - + error + ", url=" + url + ", tabExportMetadata=" - + tabExportMetadata + ", trId=" + trId + "]"; - } - - - - - -} diff --git a/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/sdmx/SDMXImportMonitor.java b/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/sdmx/SDMXImportMonitor.java deleted file mode 100644 index 532ef9c..0000000 --- a/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/sdmx/SDMXImportMonitor.java +++ /dev/null @@ -1,78 +0,0 @@ -package org.gcube.portlets.user.td.gwtservice.shared.sdmx; - -import java.io.Serializable; - -import org.gcube.portlets.user.td.gwtservice.shared.task.State; -import org.gcube.portlets.user.td.widgetcommonevent.shared.TRId; - - -/** - * - * @author "Giancarlo Panichi" - * g.panichi@isti.cnr.it - * - */ -public class SDMXImportMonitor implements Serializable { - - private static final long serialVersionUID = -5998841163159590481L; - - protected float progress; - protected State status; - protected String statusDescription; - protected Throwable error; - protected TRId trId; - - public float getProgress(){ - return progress; - }; - - public State getStatus(){ - return status; - } - - public String getStatusDescription(){ - return statusDescription; - } - - public void setProgress(float progress) { - this.progress = progress; - } - - public void setStatus(State status) { - this.status = status; - } - - public void setStatus(int status) { - this.status = State.values()[status]; - } - - public void setStatusDescription(String statusDescription) { - this.statusDescription = statusDescription; - } - - public Throwable getError() { - return error; - } - - public void setError(Throwable error) { - this.error = error; - } - - public TRId getTrId() { - return trId; - } - - public void setTrId(TRId trId) { - this.trId = trId; - } - - - @Override - public String toString() { - return "SDMXImportMonitor [progress=" + progress + ", status=" + status - + ", statusDescription=" + statusDescription + ", error=" - + error + ", trId=" + trId + "]"; - } - - -}