diff --git a/.classpath b/.classpath new file mode 100644 index 0000000..8ce28d6 --- /dev/null +++ b/.classpath @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.project b/.project new file mode 100644 index 0000000..bdcb8f0 --- /dev/null +++ b/.project @@ -0,0 +1,36 @@ + + + tabular-data-gwt-service + + + + + + org.eclipse.wst.common.project.facet.core.builder + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.wst.validation.validationbuilder + + + + + org.eclipse.m2e.core.maven2Builder + + + + + + org.eclipse.jem.workbench.JavaEMFNature + org.eclipse.wst.common.modulecore.ModuleCoreNature + org.eclipse.jdt.core.javanature + org.eclipse.m2e.core.maven2Nature + org.eclipse.wst.common.project.facet.core.nature + + diff --git a/.settings/org.eclipse.core.resources.prefs b/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..29abf99 --- /dev/null +++ b/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,6 @@ +eclipse.preferences.version=1 +encoding//src/main/java=UTF-8 +encoding//src/main/resources=UTF-8 +encoding//src/test/java=UTF-8 +encoding//src/test/resources=UTF-8 +encoding/=UTF-8 diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..8ad6fb0 --- /dev/null +++ b/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,8 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 +org.eclipse.jdt.core.compiler.compliance=1.5 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning +org.eclipse.jdt.core.compiler.source=1.5 diff --git a/.settings/org.eclipse.m2e.core.prefs b/.settings/org.eclipse.m2e.core.prefs new file mode 100644 index 0000000..f897a7f --- /dev/null +++ b/.settings/org.eclipse.m2e.core.prefs @@ -0,0 +1,4 @@ +activeProfiles= +eclipse.preferences.version=1 +resolveWorkspaceProjects=true +version=1 diff --git a/.settings/org.eclipse.wst.common.component b/.settings/org.eclipse.wst.common.component new file mode 100644 index 0000000..02a6e1f --- /dev/null +++ b/.settings/org.eclipse.wst.common.component @@ -0,0 +1,7 @@ + + + + + + + diff --git a/.settings/org.eclipse.wst.common.project.facet.core.xml b/.settings/org.eclipse.wst.common.project.facet.core.xml new file mode 100644 index 0000000..a50949e --- /dev/null +++ b/.settings/org.eclipse.wst.common.project.facet.core.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/config/profile.xml b/config/profile.xml new file mode 100644 index 0000000..f83fc92 --- /dev/null +++ b/config/profile.xml @@ -0,0 +1,29 @@ + + + + Service + + tabular-data-gwt-service allows communication between the GUI and services + PortletsUser + tabular-data-gwt-service + 1.0.0 + + + tabular-data-gwt-service allows communication between the GUI and services + tabular-data-gwt-service + 2.0.0-SNAPSHOT + + org.gcube.portlets.user + tabular-data-gwt-service + 2.0.0-SNAPSHOT + + library + + tabular-data-gwt-service-2.0.0-SNAPSHOT.jar + + + + + + + diff --git a/distro/INSTALL b/distro/INSTALL new file mode 100644 index 0000000..e69de29 diff --git a/distro/LICENSE b/distro/LICENSE new file mode 100644 index 0000000..cc51139 --- /dev/null +++ b/distro/LICENSE @@ -0,0 +1,6 @@ +gCube System - License +------------------------------------------------------------ + +The gCube/gCore software is licensed as Free Open Source software conveying to the EUPL (http://ec.europa.eu/idabc/eupl). +The software and documentation is provided by its authors/distributors "as is" and no expressed or +implied warranty is given for its use, quality or fitness for a particular case. \ No newline at end of file diff --git a/distro/MAINTAINERS b/distro/MAINTAINERS new file mode 100644 index 0000000..0bc9be3 --- /dev/null +++ b/distro/MAINTAINERS @@ -0,0 +1 @@ +Giancarlo Panichi (giancarlo.panichi@isti.cnr.it), CNR Pisa, Istituto di Scienza e Tecnologie dell'Informazione "A. Faedo" diff --git a/distro/README b/distro/README new file mode 100644 index 0000000..6b13727 --- /dev/null +++ b/distro/README @@ -0,0 +1,40 @@ +The gCube System - tabular-data-gwt-service +------------------------------------------------------------ + +This work has been supported by the following European projects: iMarine (FP7-INFRASTRUCTURES-2011-2) + +Authors +------- + +Giancarlo Panichi (giancarlo.panichi@isti.cnr.it), CNR Pisa, +Istituto di Scienza e Tecnologie dell'Informazione "A. Faedo" + + +Version and Release Date +------------------------ + +v. 2.0.0-SNAPSHOT (2013-10-18) + +Description +----------- + +tabular-data-gwt-service allows communication between the GUI and services + +Download information +-------------------- +Source code URL: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service + + +Documentation +------------- + +tabular-data-gwt-service allows communication between the GUI and services + + +Licensing +--------- + +This software is licensed under the terms you may find in the file named "LICENSE" in this directory. + + + diff --git a/distro/changelog.xml b/distro/changelog.xml new file mode 100644 index 0000000..26336ec --- /dev/null +++ b/distro/changelog.xml @@ -0,0 +1,6 @@ + + + First Release + + \ No newline at end of file diff --git a/distro/svnpath.txt b/distro/svnpath.txt new file mode 100644 index 0000000..1e5a6dd --- /dev/null +++ b/distro/svnpath.txt @@ -0,0 +1 @@ +https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service \ No newline at end of file diff --git a/src/main/java/org/gcube/portlets/user/td/gwtservice/client/TDGWTServiceEntry.java b/src/main/java/org/gcube/portlets/user/td/gwtservice/client/TDGWTServiceEntry.java index a88631f..83e7b6f 100644 --- a/src/main/java/org/gcube/portlets/user/td/gwtservice/client/TDGWTServiceEntry.java +++ b/src/main/java/org/gcube/portlets/user/td/gwtservice/client/TDGWTServiceEntry.java @@ -4,7 +4,7 @@ import com.google.gwt.core.client.EntryPoint; public class TDGWTServiceEntry implements EntryPoint { - @Override + public void onModuleLoad() { diff --git a/src/main/java/org/gcube/portlets/user/td/gwtservice/server/SessionUtil.java b/src/main/java/org/gcube/portlets/user/td/gwtservice/server/SessionUtil.java index 1ddf318..75c03c3 100644 --- a/src/main/java/org/gcube/portlets/user/td/gwtservice/server/SessionUtil.java +++ b/src/main/java/org/gcube/portlets/user/td/gwtservice/server/SessionUtil.java @@ -90,7 +90,8 @@ public class SessionUtil { } logger.info("SessionUtil: aslSession " + session.getUsername() + " " - + session.getScope()); + + session.getScope()); + return session; } diff --git a/src/main/java/org/gcube/portlets/user/td/gwtservice/server/TDGWTServiceImpl.java b/src/main/java/org/gcube/portlets/user/td/gwtservice/server/TDGWTServiceImpl.java index 2de15de..a85b29b 100644 --- a/src/main/java/org/gcube/portlets/user/td/gwtservice/server/TDGWTServiceImpl.java +++ b/src/main/java/org/gcube/portlets/user/td/gwtservice/server/TDGWTServiceImpl.java @@ -127,7 +127,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi * * {@inheritDoc} */ - @Override + public void setTabResource(TabResource tabResource) throws TDGWTServiceException { try { HttpSession session = this.getThreadLocalRequest().getSession(); @@ -156,7 +156,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi * * {@inheritDoc} */ - @Override public TabResource getTabResourceInformation() throws TDGWTServiceException { try { HttpSession session = this.getThreadLocalRequest().getSession(); @@ -248,7 +247,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi * * {@inheritDoc} */ - @Override public ArrayList getColumns() throws TDGWTServiceException { try { HttpSession session = this.getThreadLocalRequest().getSession(); @@ -325,7 +323,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi * * {@inheritDoc} */ - @Override public TableData getLastTable(TRId trId) throws TDGWTServiceException { try { HttpSession session = this.getThreadLocalRequest().getSession(); @@ -373,7 +370,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi * * {@inheritDoc} */ - @Override public void startTDOpen(TDOpenSession s) throws TDGWTServiceException { try { HttpSession session = this.getThreadLocalRequest().getSession(); @@ -476,7 +472,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi * * {@inheritDoc} */ - @Override public ArrayList getTabularResources() throws TDGWTServiceException { try { @@ -517,8 +512,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi * @param tabResource * @throws TDGWTServiceException */ - - @Override public void removeTabularResource(TRId trId) throws TDGWTServiceException { try { HttpSession session = this.getThreadLocalRequest().getSession(); @@ -548,7 +541,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi * * {@inheritDoc} */ - @Override public TabResource createTabularResource(TabResource tabResource) throws TDGWTServiceException { try { @@ -584,7 +576,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi /** * {@inheritDoc} */ - @Override public ArrayList getCodelists() throws TDGWTServiceException { try { HttpSession session = this.getThreadLocalRequest().getSession(); @@ -600,7 +591,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi /** * {@inheritDoc} */ - @Override public ArrayList getDatasets() throws TDGWTServiceException { try { HttpSession session = this.getThreadLocalRequest().getSession(); @@ -616,7 +606,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi /** * {@inheritDoc} */ - @Override public ArrayList getAgencies() throws TDGWTServiceException { try { HttpSession session = this.getThreadLocalRequest().getSession(); @@ -658,7 +647,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi /** * {@inheritDoc} */ - @Override public void startSDMXImport(SDMXImportSession sdmxImportSession) throws TDGWTServiceException { @@ -751,7 +739,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi /** * {@inheritDoc} */ - @Override public SDMXImportMonitor getSDMXImportMonitor() throws TDGWTServiceException { try { @@ -843,7 +830,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi /** * {@inheritDoc} */ - @Override public void setSDMXRegistrySource(SDMXRegistrySource sdmxRegistrySource) throws TDGWTServiceException { try { @@ -865,7 +851,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi /** * {@inheritDoc} */ - @Override public void setCSVSession(CSVImportSession importSession) throws TDGWTServiceException { try { @@ -887,7 +872,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi /** * {@inheritDoc} */ - @Override public FileUploadMonitor getFileUploadMonitor() throws TDGWTServiceException { @@ -908,7 +892,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi /** * {@inheritDoc} */ - @Override public AvailableCharsetList getAvailableCharset() throws TDGWTServiceException { HttpSession session = this.getThreadLocalRequest().getSession(); @@ -923,7 +906,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi return new AvailableCharsetList(charsetList, defaultEncoding); } - @Override public ArrayList configureCSVParser(String encoding, HeaderPresence headerPresence, char delimiter, char comment) throws TDGWTServiceException { @@ -969,7 +951,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi /** * {@inheritDoc} */ - @Override public ArrayList checkCSV(long errorsLimit) throws TDGWTServiceException { @@ -1000,7 +981,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi /** * {@inheritDoc} */ - @Override public void startCSVImport(CSVImportSession csvImportSession) throws TDGWTServiceException { HttpSession session = this.getThreadLocalRequest().getSession(); @@ -1115,7 +1095,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi /** * {@inheritDoc} */ - @Override public CSVImportMonitor getCSVImportMonitor() throws TDGWTServiceException { try { HttpSession session = this.getThreadLocalRequest().getSession(); @@ -1206,7 +1185,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi * * {@inheritDoc} */ - @Override public void getFileFromWorkspace(CSVImportSession csvImportSession) throws TDGWTServiceException { // TODO Auto-generated method stub @@ -1288,7 +1266,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi * * {@inheritDoc} */ - @Override public ArrayList getTRMetadata(TRId trId) throws TDGWTServiceException { try { @@ -1364,7 +1341,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi * * {@inheritDoc} */ - @Override public ArrayList getTableMetadata(TRId trId) throws TDGWTServiceException { try { @@ -1520,7 +1496,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi * @param exportSession * @return */ - @Override public void startSDMXExport(SDMXExportSession exportSession) throws TDGWTServiceException { logger.debug("Start SDMX Export"); @@ -1589,7 +1564,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi /** * {@inheritDoc} */ - @Override public SDMXExportMonitor getSDMXExportMonitor() throws TDGWTServiceException { try { @@ -1674,7 +1648,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi * * {@inheritDoc} */ - @Override public void startCSVExport(CSVExportSession exportSession) throws TDGWTServiceException { logger.debug("Start CSV Export"); @@ -1745,7 +1718,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi /** * {@inheritDoc} */ - @Override public CSVExportMonitor getCSVExportMonitor() throws TDGWTServiceException { try { HttpSession session = this.getThreadLocalRequest().getSession(); diff --git a/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/destination/FileDestination.java b/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/destination/FileDestination.java index d004a6a..978c641 100644 --- a/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/destination/FileDestination.java +++ b/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/destination/FileDestination.java @@ -13,7 +13,6 @@ public class FileDestination implements Destination { /** * {@inheritDoc} */ - @Override public String getId() { return "File"; } @@ -21,7 +20,6 @@ public class FileDestination implements Destination { /** * {@inheritDoc} */ - @Override public String getName() { return "File destination"; } @@ -29,7 +27,6 @@ public class FileDestination implements Destination { /** * {@inheritDoc} */ - @Override public String getDescription() { return "Select this destination if you want to save the document in File"; } diff --git a/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/destination/SDMXRegistryDestination.java b/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/destination/SDMXRegistryDestination.java index 61f48eb..fbe9b55 100644 --- a/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/destination/SDMXRegistryDestination.java +++ b/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/destination/SDMXRegistryDestination.java @@ -17,7 +17,6 @@ public class SDMXRegistryDestination implements Destination { /** * {@inheritDoc} */ - @Override public String getId() { return "SDMXRegistry"; } @@ -25,7 +24,6 @@ public class SDMXRegistryDestination implements Destination { /** * {@inheritDoc} */ - @Override public String getName() { return "SDMX Registry destination"; } @@ -33,7 +31,6 @@ public class SDMXRegistryDestination implements Destination { /** * {@inheritDoc} */ - @Override public String getDescription() { return "Select this destination if you want to save document in SDMX Registry"; } diff --git a/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/destination/WorkspaceDestination.java b/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/destination/WorkspaceDestination.java index 9be50b9..5ac615b 100644 --- a/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/destination/WorkspaceDestination.java +++ b/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/destination/WorkspaceDestination.java @@ -14,7 +14,6 @@ public class WorkspaceDestination implements Destination { /** * {@inheritDoc} */ - @Override public String getId() { return "Workspace"; } @@ -22,7 +21,6 @@ public class WorkspaceDestination implements Destination { /** * {@inheritDoc} */ - @Override public String getName() { return "Workspace destination"; } @@ -30,7 +28,6 @@ public class WorkspaceDestination implements Destination { /** * {@inheritDoc} */ - @Override public String getDescription() { return "Select this destination if you want to save the document in Workspace"; } diff --git a/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/document/CodelistDocument.java b/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/document/CodelistDocument.java index 5ba4a7b..c4b78e7 100644 --- a/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/document/CodelistDocument.java +++ b/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/document/CodelistDocument.java @@ -17,7 +17,6 @@ public class CodelistDocument implements SDMXDocument { /** * {@inheritDoc} */ - @Override public String getId() { return "codelist"; } @@ -25,7 +24,6 @@ public class CodelistDocument implements SDMXDocument { /** * {@inheritDoc} */ - @Override public String getName() { return "Codelist document"; } @@ -33,7 +31,6 @@ public class CodelistDocument implements SDMXDocument { /** * {@inheritDoc} */ - @Override public String getDescription() { return "Select this document if you want to retrive codelist"; } diff --git a/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/document/DatasetDocument.java b/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/document/DatasetDocument.java index 18c0593..f2bba2e 100644 --- a/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/document/DatasetDocument.java +++ b/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/document/DatasetDocument.java @@ -18,7 +18,6 @@ public class DatasetDocument implements SDMXDocument { /** * {@inheritDoc} */ - @Override public String getId() { return "dataset"; } @@ -26,7 +25,6 @@ public class DatasetDocument implements SDMXDocument { /** * {@inheritDoc} */ - @Override public String getName() { return "Dataset document"; } @@ -34,7 +32,6 @@ public class DatasetDocument implements SDMXDocument { /** * {@inheritDoc} */ - @Override public String getDescription() { return "Select this document if you want to retrive dataset"; } diff --git a/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/source/FileSource.java b/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/source/FileSource.java index 89822e6..2e882d1 100644 --- a/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/source/FileSource.java +++ b/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/source/FileSource.java @@ -13,7 +13,6 @@ public class FileSource implements Source { /** * {@inheritDoc} */ - @Override public String getId() { return "File"; } @@ -21,7 +20,6 @@ public class FileSource implements Source { /** * {@inheritDoc} */ - @Override public String getName() { return "File source"; } @@ -29,7 +27,6 @@ public class FileSource implements Source { /** * {@inheritDoc} */ - @Override public String getDescription() { return "Select this source if you want to retrive document from File"; } diff --git a/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/source/SDMXRegistrySource.java b/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/source/SDMXRegistrySource.java index 1ec30d2..1551508 100644 --- a/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/source/SDMXRegistrySource.java +++ b/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/source/SDMXRegistrySource.java @@ -17,7 +17,6 @@ public class SDMXRegistrySource implements Source { /** * {@inheritDoc} */ - @Override public String getId() { return "SDMXRegistry"; } @@ -25,7 +24,6 @@ public class SDMXRegistrySource implements Source { /** * {@inheritDoc} */ - @Override public String getName() { return "SDMX Registry source"; } @@ -33,7 +31,6 @@ public class SDMXRegistrySource implements Source { /** * {@inheritDoc} */ - @Override public String getDescription() { return "Select this source if you want to retrive document from SDMX Registry"; } diff --git a/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/source/WorkspaceSource.java b/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/source/WorkspaceSource.java index e3f7e3f..0b7cebf 100644 --- a/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/source/WorkspaceSource.java +++ b/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/source/WorkspaceSource.java @@ -14,7 +14,6 @@ public class WorkspaceSource implements Source { /** * {@inheritDoc} */ - @Override public String getId() { return "Workspace"; } @@ -22,7 +21,6 @@ public class WorkspaceSource implements Source { /** * {@inheritDoc} */ - @Override public String getName() { return "Workspace source"; } @@ -30,7 +28,6 @@ public class WorkspaceSource implements Source { /** * {@inheritDoc} */ - @Override public String getDescription() { return "Select this source if you want to retrive document from Workspace"; } diff --git a/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/tr/metadata/TRAgencyMetadata.java b/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/tr/metadata/TRAgencyMetadata.java index 99ea6de..485c04d 100644 --- a/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/tr/metadata/TRAgencyMetadata.java +++ b/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/tr/metadata/TRAgencyMetadata.java @@ -29,12 +29,11 @@ public class TRAgencyMetadata implements TRMetadata { return "TRAgencyMetadata [value=" + value + "]"; } - @Override + public String getId() { return id; } - @Override public String getTitle() { return title; } diff --git a/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/tr/metadata/TRCreationDateMetadata.java b/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/tr/metadata/TRCreationDateMetadata.java index cc66a7f..2741b0c 100644 --- a/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/tr/metadata/TRCreationDateMetadata.java +++ b/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/tr/metadata/TRCreationDateMetadata.java @@ -30,12 +30,11 @@ public class TRCreationDateMetadata implements TRMetadata { return "TRCreationDateMetadata [date=" + date + "]"; } - @Override + public String getId() { return id; } - @Override public String getTitle() { return title; } diff --git a/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/tr/metadata/TRDescriptionMetadata.java b/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/tr/metadata/TRDescriptionMetadata.java index 3a1bcde..6deecd0 100644 --- a/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/tr/metadata/TRDescriptionMetadata.java +++ b/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/tr/metadata/TRDescriptionMetadata.java @@ -17,7 +17,6 @@ public class TRDescriptionMetadata implements TRMetadata { String value; - @Override public String getId() { return id; } @@ -26,7 +25,7 @@ public class TRDescriptionMetadata implements TRMetadata { this.id = id; } - @Override + public String getTitle() { return title; } diff --git a/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/tr/metadata/TRNameMetadata.java b/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/tr/metadata/TRNameMetadata.java index f607585..6b3b6f3 100644 --- a/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/tr/metadata/TRNameMetadata.java +++ b/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/tr/metadata/TRNameMetadata.java @@ -17,7 +17,7 @@ public class TRNameMetadata implements TRMetadata { String value; - @Override + public String getId() { return id; } @@ -26,7 +26,6 @@ public class TRNameMetadata implements TRMetadata { this.id = id; } - @Override public String getTitle() { return title; } diff --git a/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/tr/metadata/TRRightsMetadata.java b/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/tr/metadata/TRRightsMetadata.java index ec60357..4bf19c9 100644 --- a/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/tr/metadata/TRRightsMetadata.java +++ b/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/tr/metadata/TRRightsMetadata.java @@ -29,12 +29,11 @@ public class TRRightsMetadata implements TRMetadata { return "TRRightsMetadata [value=" + value + "]"; } - @Override + public String getId() { return id; } - @Override public String getTitle() { return title; } diff --git a/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/tr/table/metadata/TabDescriptionsMetadata.java b/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/tr/table/metadata/TabDescriptionsMetadata.java index 7867a28..f895e4d 100644 --- a/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/tr/table/metadata/TabDescriptionsMetadata.java +++ b/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/tr/table/metadata/TabDescriptionsMetadata.java @@ -34,12 +34,11 @@ public class TabDescriptionsMetadata implements TabMetadata { + "]"; } - @Override + public String getId() { return id; } - @Override public String getTitle() { return title; } diff --git a/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/tr/table/metadata/TabExportMetadata.java b/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/tr/table/metadata/TabExportMetadata.java index 4673d49..b9fcec3 100644 --- a/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/tr/table/metadata/TabExportMetadata.java +++ b/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/tr/table/metadata/TabExportMetadata.java @@ -41,11 +41,10 @@ public class TabExportMetadata implements TabMetadata { return "TabExportMetadata [destinationType=" + destinationType + ", url=" + url + ", exportDate=" + exportDate + "]"; } - @Override + public String getId() { return id; } - @Override public String getTitle() { return title; } diff --git a/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/tr/table/metadata/TabGenericMapMetadata.java b/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/tr/table/metadata/TabGenericMapMetadata.java index a6aa05f..63e61b7 100644 --- a/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/tr/table/metadata/TabGenericMapMetadata.java +++ b/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/tr/table/metadata/TabGenericMapMetadata.java @@ -30,12 +30,11 @@ public class TabGenericMapMetadata implements TabMetadata { return "TabGenericMapMetadata [metadataMap=" + metadataMap + "]"; } - @Override + public String getId() { return id; } - @Override public String getTitle() { return title; } diff --git a/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/tr/table/metadata/TabImportMetadata.java b/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/tr/table/metadata/TabImportMetadata.java index 10708d9..27e9171 100644 --- a/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/tr/table/metadata/TabImportMetadata.java +++ b/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/tr/table/metadata/TabImportMetadata.java @@ -47,12 +47,11 @@ public class TabImportMetadata implements TabMetadata { + ", importDate=" + importDate + "]"; } - @Override + public String getId() { return id; } - @Override public String getTitle() { return title; } diff --git a/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/tr/table/metadata/TabNamesMetadata.java b/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/tr/table/metadata/TabNamesMetadata.java index c4f226c..d287c09 100644 --- a/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/tr/table/metadata/TabNamesMetadata.java +++ b/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/tr/table/metadata/TabNamesMetadata.java @@ -33,12 +33,11 @@ public class TabNamesMetadata implements TabMetadata { return "TabNamesMetadata [listTabLocalizedText=" + listTabLocalizedText + "]"; } - @Override + public String getId() { return id; } - @Override public String getTitle() { return title; } diff --git a/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/tr/table/metadata/TabVersionMetadata.java b/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/tr/table/metadata/TabVersionMetadata.java index 6546c43..6512309 100644 --- a/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/tr/table/metadata/TabVersionMetadata.java +++ b/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/tr/table/metadata/TabVersionMetadata.java @@ -31,12 +31,10 @@ public class TabVersionMetadata implements TabMetadata { return "TabVersionMetadata [version=" + version + "]"; } - @Override public String getId() { return id; } - @Override public String getTitle() { return title; } diff --git a/src/test/java/org/gcube/portlets/user/td/gwtservice/client/GwtTestTDGWTService.java b/src/test/java/org/gcube/portlets/user/td/gwtservice/client/GwtTestTDGWTService.java index 4b4f67c..eacb01b 100644 --- a/src/test/java/org/gcube/portlets/user/td/gwtservice/client/GwtTestTDGWTService.java +++ b/src/test/java/org/gcube/portlets/user/td/gwtservice/client/GwtTestTDGWTService.java @@ -54,14 +54,12 @@ public class GwtTestTDGWTService extends GWTTestCase { TDGWTServiceAsync.INSTANCE .getTabularResources(new AsyncCallback>() { - @Override public void onFailure(Throwable caught) { // The request resulted in an unexpected error. fail("Request failure: " + caught.getMessage()); } - @Override public void onSuccess(ArrayList result) { assertTrue(result != null); System.out.println("");