Updated to JAVA 7
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@86992 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
38872a12da
commit
47e448760a
|
@ -0,0 +1,37 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="src" output="target/tabular-data-gwt-service-2.0.0-SNAPSHOT/WEB-INF/classes" path="src/main/java">
|
||||
<attributes>
|
||||
<attribute name="optional" value="true"/>
|
||||
<attribute name="maven.pomderived" value="true"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry excluding="**" kind="src" output="target/tabular-data-gwt-service-2.0.0-SNAPSHOT/WEB-INF/classes" path="src/main/resources">
|
||||
<attributes>
|
||||
<attribute name="maven.pomderived" value="true"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
|
||||
<attributes>
|
||||
<attribute name="optional" value="true"/>
|
||||
<attribute name="maven.pomderived" value="true"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
|
||||
<attributes>
|
||||
<attribute name="maven.pomderived" value="true"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7">
|
||||
<attributes>
|
||||
<attribute name="maven.pomderived" value="true"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
|
||||
<attributes>
|
||||
<attribute name="maven.pomderived" value="true"/>
|
||||
<attribute name="org.eclipse.jst.component.nondependency" value=""/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="output" path="target/tabular-data-gwt-service-2.0.0-SNAPSHOT/WEB-INF/classes"/>
|
||||
</classpath>
|
|
@ -0,0 +1,36 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>tabular-data-gwt-service</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.wst.common.project.facet.core.builder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.jdt.core.javabuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.wst.validation.validationbuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.m2e.core.maven2Builder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
|
||||
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
|
||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||
<nature>org.eclipse.m2e.core.maven2Nature</nature>
|
||||
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
|
@ -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/<project>=UTF-8
|
|
@ -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
|
|
@ -0,0 +1,4 @@
|
|||
activeProfiles=
|
||||
eclipse.preferences.version=1
|
||||
resolveWorkspaceProjects=true
|
||||
version=1
|
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project-modules id="moduleCoreId" project-version="1.5.0">
|
||||
<wb-module deploy-name="tabular-data-gwt-service">
|
||||
<wb-resource deploy-path="/" source-path="/src/main/java"/>
|
||||
<wb-resource deploy-path="/" source-path="/src/main/resources"/>
|
||||
</wb-module>
|
||||
</project-modules>
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<faceted-project>
|
||||
<installed facet="jst.utility" version="1.0"/>
|
||||
<installed facet="java" version="1.5"/>
|
||||
</faceted-project>
|
|
@ -0,0 +1,29 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Resource>
|
||||
<ID></ID>
|
||||
<Type>Service</Type>
|
||||
<Profile>
|
||||
<Description>tabular-data-gwt-service allows communication between the GUI and services</Description>
|
||||
<Class>PortletsUser</Class>
|
||||
<Name>tabular-data-gwt-service</Name>
|
||||
<Version>1.0.0</Version>
|
||||
<Packages>
|
||||
<Software>
|
||||
<Description>tabular-data-gwt-service allows communication between the GUI and services</Description>
|
||||
<Name>tabular-data-gwt-service</Name>
|
||||
<Version>2.0.0-SNAPSHOT</Version>
|
||||
<MavenCoordinates>
|
||||
<groupId>org.gcube.portlets.user</groupId>
|
||||
<artifactId>tabular-data-gwt-service</artifactId>
|
||||
<version>2.0.0-SNAPSHOT</version>
|
||||
</MavenCoordinates>
|
||||
<Type>library</Type>
|
||||
<Files>
|
||||
<File>tabular-data-gwt-service-2.0.0-SNAPSHOT.jar</File>
|
||||
</Files>
|
||||
</Software>
|
||||
</Packages>
|
||||
</Profile>
|
||||
</Resource>
|
||||
|
||||
|
|
@ -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.
|
|
@ -0,0 +1 @@
|
|||
Giancarlo Panichi (giancarlo.panichi@isti.cnr.it), CNR Pisa, Istituto di Scienza e Tecnologie dell'Informazione "A. Faedo"
|
|
@ -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.
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
<ReleaseNotes>
|
||||
<Changeset component="org.gcube.portlets.user.tabular-data-gwt-service.1-0-0"
|
||||
date="2013-10-18">
|
||||
<Change>First Release</Change>
|
||||
</Changeset>
|
||||
</ReleaseNotes>
|
|
@ -0,0 +1 @@
|
|||
https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service
|
|
@ -4,7 +4,7 @@ import com.google.gwt.core.client.EntryPoint;
|
|||
|
||||
public class TDGWTServiceEntry implements EntryPoint {
|
||||
|
||||
@Override
|
||||
|
||||
public void onModuleLoad() {
|
||||
|
||||
|
||||
|
|
|
@ -90,7 +90,8 @@ public class SessionUtil {
|
|||
}
|
||||
|
||||
logger.info("SessionUtil: aslSession " + session.getUsername() + " "
|
||||
+ session.getScope());
|
||||
+ session.getScope());
|
||||
|
||||
return session;
|
||||
|
||||
}
|
||||
|
|
|
@ -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<ColumnData> 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<TabResource> 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<Codelist> getCodelists() throws TDGWTServiceException {
|
||||
try {
|
||||
HttpSession session = this.getThreadLocalRequest().getSession();
|
||||
|
@ -600,7 +591,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi
|
|||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ArrayList<Dataset> getDatasets() throws TDGWTServiceException {
|
||||
try {
|
||||
HttpSession session = this.getThreadLocalRequest().getSession();
|
||||
|
@ -616,7 +606,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi
|
|||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ArrayList<Agencies> 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<String> 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<CSVRowError> 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<TRMetadata> getTRMetadata(TRId trId)
|
||||
throws TDGWTServiceException {
|
||||
try {
|
||||
|
@ -1364,7 +1341,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi
|
|||
*
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ArrayList<TabMetadata> 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();
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -34,12 +34,11 @@ public class TabDescriptionsMetadata implements TabMetadata {
|
|||
+ "]";
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getTitle() {
|
||||
return title;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -47,12 +47,11 @@ public class TabImportMetadata implements TabMetadata {
|
|||
+ ", importDate=" + importDate + "]";
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getTitle() {
|
||||
return title;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -54,14 +54,12 @@ public class GwtTestTDGWTService extends GWTTestCase {
|
|||
TDGWTServiceAsync.INSTANCE
|
||||
.getTabularResources(new AsyncCallback<ArrayList<TabResource>>() {
|
||||
|
||||
@Override
|
||||
public void onFailure(Throwable caught) {
|
||||
// The request resulted in an unexpected error.
|
||||
fail("Request failure: " + caught.getMessage());
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onSuccess(ArrayList<TabResource> result) {
|
||||
assertTrue(result != null);
|
||||
System.out.println("");
|
||||
|
|
Loading…
Reference in New Issue