Rename package
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@83978 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
c11f6cbbc4
commit
2016a77621
|
@ -0,0 +1,13 @@
|
|||
package org.gcube.portlets.user.td.gwtservice.client;
|
||||
|
||||
import com.google.gwt.core.client.EntryPoint;
|
||||
|
||||
public class TDGWTServiceEntry implements EntryPoint {
|
||||
|
||||
@Override
|
||||
public void onModuleLoad() {
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.gcube.portlets.user.td.gxtservice.client.rpc;
|
||||
package org.gcube.portlets.user.td.gwtservice.client.rpc;
|
||||
|
||||
|
||||
|
||||
|
@ -10,20 +10,20 @@ import java.util.List;
|
|||
|
||||
|
||||
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.Agencies;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.Codelist;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.Dataset;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.csv.AvailableCharsetList;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.csv.CSVImportMonitor;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.csv.CSVImportSession;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.csv.CSVRowError;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.file.FileUploadMonitor;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.file.HeaderPresence;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.sdmx.SDMXImportMonitor;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.sdmx.SDMXImportSession;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.TDGXTServiceException;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.TDOpenSession;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.TabResource;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.Agencies;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.Codelist;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.Dataset;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.TDGXTServiceException;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.TDOpenSession;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.TabResource;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.csv.AvailableCharsetList;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.csv.CSVImportMonitor;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.csv.CSVImportSession;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.csv.CSVRowError;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.file.FileUploadMonitor;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.file.HeaderPresence;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.sdmx.SDMXImportMonitor;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.sdmx.SDMXImportSession;
|
||||
|
||||
import com.google.gwt.user.client.rpc.RemoteService;
|
||||
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
|
||||
|
@ -34,8 +34,8 @@ import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
|
|||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
||||
*
|
||||
*/
|
||||
@RemoteServiceRelativePath("TDGXTService")
|
||||
public interface TDGXTService extends RemoteService {
|
||||
@RemoteServiceRelativePath("TDGWTService")
|
||||
public interface TDGWTService extends RemoteService {
|
||||
|
||||
public TabResource getTabResource() throws TDGXTServiceException;
|
||||
|
|
@ -1,24 +1,24 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.gcube.portlets.user.td.gxtservice.client.rpc;
|
||||
package org.gcube.portlets.user.td.gwtservice.client.rpc;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.Agencies;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.Codelist;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.Dataset;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.TDOpenSession;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.TabResource;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.csv.AvailableCharsetList;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.csv.CSVImportMonitor;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.csv.CSVImportSession;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.csv.CSVRowError;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.file.FileUploadMonitor;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.file.HeaderPresence;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.sdmx.SDMXImportMonitor;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.sdmx.SDMXImportSession;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.Agencies;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.Codelist;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.Dataset;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.TDOpenSession;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.TabResource;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.csv.AvailableCharsetList;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.csv.CSVImportMonitor;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.csv.CSVImportSession;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.csv.CSVRowError;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.file.FileUploadMonitor;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.file.HeaderPresence;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.sdmx.SDMXImportMonitor;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.sdmx.SDMXImportSession;
|
||||
|
||||
import com.google.gwt.core.client.GWT;
|
||||
import com.google.gwt.user.client.rpc.AsyncCallback;
|
||||
|
@ -30,10 +30,10 @@ import com.google.gwt.user.client.rpc.AsyncCallback;
|
|||
*
|
||||
*/
|
||||
|
||||
public interface TDGXTServiceAsync {
|
||||
public interface TDGWTServiceAsync {
|
||||
|
||||
public TDGXTServiceAsync INSTANCE = GWT
|
||||
.create(TDGXTService.class);
|
||||
public TDGWTServiceAsync INSTANCE = GWT
|
||||
.create(TDGWTService.class);
|
||||
|
||||
void createTabularResource(TabResource tabResource,AsyncCallback<TabResource> callback);
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.gcube.portlets.user.td.gxtservice.server;
|
||||
package org.gcube.portlets.user.td.gwtservice.server;
|
||||
|
||||
import java.io.ByteArrayOutputStream;
|
||||
import java.io.FileInputStream;
|
||||
|
@ -15,8 +15,8 @@ import javax.servlet.http.HttpServletResponse;
|
|||
import javax.servlet.http.HttpSession;
|
||||
|
||||
|
||||
import org.gcube.portlets.user.td.gxtservice.server.file.FileUploadSession;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.csv.CSVFileUtil;
|
||||
import org.gcube.portlets.user.td.gwtservice.server.file.FileUploadSession;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.csv.CSVFileUtil;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.gcube.portlets.user.td.gxtservice.server;
|
||||
package org.gcube.portlets.user.td.gwtservice.server;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.Iterator;
|
||||
|
@ -18,13 +18,13 @@ import org.apache.commons.fileupload.FileItemFactory;
|
|||
import org.apache.commons.fileupload.FileUploadException;
|
||||
import org.apache.commons.fileupload.disk.DiskFileItemFactory;
|
||||
import org.apache.commons.fileupload.servlet.ServletFileUpload;
|
||||
import org.gcube.portlets.user.td.gxtservice.server.file.FileUploadListener;
|
||||
import org.gcube.portlets.user.td.gxtservice.server.file.FileUploadSession;
|
||||
import org.gcube.portlets.user.td.gxtservice.server.file.FileUtil;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.csv.CSVImportMonitor;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.csv.CSVParserConfiguration;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.file.FileUploadMonitor;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.file.FileUploadState;
|
||||
import org.gcube.portlets.user.td.gwtservice.server.file.FileUploadListener;
|
||||
import org.gcube.portlets.user.td.gwtservice.server.file.FileUploadSession;
|
||||
import org.gcube.portlets.user.td.gwtservice.server.file.FileUtil;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.csv.CSVImportMonitor;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.csv.CSVParserConfiguration;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.file.FileUploadMonitor;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.file.FileUploadState;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.gcube.portlets.user.td.gxtservice.server;
|
||||
package org.gcube.portlets.user.td.gwtservice.server;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
@ -14,9 +14,9 @@ import org.gcube.datapublishing.sdmx.api.registry.SDMXRegistryClient.References;
|
|||
import org.gcube.datapublishing.sdmx.impl.model.GCubeSDMXRegistryDescriptor;
|
||||
import org.gcube.datapublishing.sdmx.impl.model.SDMXRegistryDescriptorImpl;
|
||||
import org.gcube.datapublishing.sdmx.impl.registry.FusionRegistryClient;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.Agencies;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.Codelist;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.Dataset;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.Agencies;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.Codelist;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.Dataset;
|
||||
import org.sdmxsource.sdmx.api.model.beans.SdmxBeans;
|
||||
import org.sdmxsource.sdmx.api.model.beans.base.AgencyBean;
|
||||
import org.sdmxsource.sdmx.api.model.beans.codelist.CodelistBean;
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.gcube.portlets.user.td.gxtservice.server;
|
||||
package org.gcube.portlets.user.td.gwtservice.server;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
@ -14,18 +14,18 @@ import org.gcube.common.scope.api.ScopeProvider;
|
|||
import org.gcube.data.analysis.tabulardata.service.operation.Task;
|
||||
import org.gcube.data.analysis.tabulardata.service.tabular.TabularResource;
|
||||
import org.gcube.portal.custom.scopemanager.scopehelper.ScopeHelper;
|
||||
import org.gcube.portlets.user.td.gxtservice.server.file.FileUploadSession;
|
||||
import org.gcube.portlets.user.td.gxtservice.server.trservice.TRTasksManager;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.Agencies;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.Codelist;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.Constants;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.Dataset;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.TDOpenSession;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.TRId;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.TabResource;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.csv.CSVImportSession;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.sdmx.SDMXImportSession;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.source.SDMXRegistrySource;
|
||||
import org.gcube.portlets.user.td.gwtservice.server.file.FileUploadSession;
|
||||
import org.gcube.portlets.user.td.gwtservice.server.trservice.TRTasksManager;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.Agencies;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.Codelist;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.Constants;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.Dataset;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.TDOpenSession;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.TRId;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.TabResource;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.csv.CSVImportSession;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.sdmx.SDMXImportSession;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.source.SDMXRegistrySource;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.gcube.portlets.user.td.gxtservice.server;
|
||||
package org.gcube.portlets.user.td.gwtservice.server;
|
||||
|
||||
import java.nio.charset.Charset;
|
||||
import java.text.SimpleDateFormat;
|
||||
|
@ -33,27 +33,27 @@ import org.gcube.data.analysis.tabulardata.service.tabular.metadata.CreationDate
|
|||
import org.gcube.data.analysis.tabulardata.service.tabular.metadata.DescriptionMetadata;
|
||||
import org.gcube.data.analysis.tabulardata.service.tabular.metadata.NameMetadata;
|
||||
import org.gcube.data.analysis.tabulardata.service.tabular.metadata.RightsMetadata;
|
||||
import org.gcube.portlets.user.td.gxtservice.client.rpc.TDGXTService;
|
||||
import org.gcube.portlets.user.td.gxtservice.server.file.FileUploadSession;
|
||||
import org.gcube.portlets.user.td.gxtservice.server.storage.FilesStorage;
|
||||
import org.gcube.portlets.user.td.gxtservice.server.trservice.OperationsId;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.Agencies;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.Codelist;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.Dataset;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.TDGXTServiceException;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.TDOpenSession;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.TRId;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.TabResource;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.csv.AvailableCharsetList;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.csv.CSVFileUtil;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.csv.CSVImportMonitor;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.csv.CSVImportSession;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.csv.CSVParserConfiguration;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.csv.CSVRowError;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.file.FileUploadMonitor;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.file.HeaderPresence;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.sdmx.SDMXImportMonitor;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.sdmx.SDMXImportSession;
|
||||
import org.gcube.portlets.user.td.gwtservice.client.rpc.TDGWTService;
|
||||
import org.gcube.portlets.user.td.gwtservice.server.file.FileUploadSession;
|
||||
import org.gcube.portlets.user.td.gwtservice.server.storage.FilesStorage;
|
||||
import org.gcube.portlets.user.td.gwtservice.server.trservice.OperationsId;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.Agencies;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.Codelist;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.Dataset;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.TDGXTServiceException;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.TDOpenSession;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.TRId;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.TabResource;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.csv.AvailableCharsetList;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.csv.CSVFileUtil;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.csv.CSVImportMonitor;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.csv.CSVImportSession;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.csv.CSVParserConfiguration;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.csv.CSVRowError;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.file.FileUploadMonitor;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.file.HeaderPresence;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.sdmx.SDMXImportMonitor;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.sdmx.SDMXImportSession;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
|
@ -65,12 +65,12 @@ import com.google.gwt.user.server.rpc.RemoteServiceServlet;
|
|||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
||||
*
|
||||
*/
|
||||
public class TDGXTServiceImpl extends RemoteServiceServlet implements
|
||||
TDGXTService {
|
||||
public class TDGWTServiceImpl extends RemoteServiceServlet implements
|
||||
TDGWTService {
|
||||
|
||||
private static final long serialVersionUID = -5707400086333186368L;
|
||||
protected static Logger logger = LoggerFactory
|
||||
.getLogger(TDGXTServiceImpl.class);
|
||||
.getLogger(TDGWTServiceImpl.class);
|
||||
|
||||
protected static SimpleDateFormat sdf = new SimpleDateFormat("yyyy/MM/dd");
|
||||
protected TabularDataService service;
|
|
@ -1,10 +1,10 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.gcube.portlets.user.td.gxtservice.server.file;
|
||||
package org.gcube.portlets.user.td.gwtservice.server.file;
|
||||
|
||||
import org.apache.commons.fileupload.ProgressListener;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.file.FileUploadMonitor;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.file.FileUploadMonitor;
|
||||
|
||||
/**
|
||||
*
|
|
@ -1,13 +1,13 @@
|
|||
package org.gcube.portlets.user.td.gxtservice.server.file;
|
||||
package org.gcube.portlets.user.td.gwtservice.server.file;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.csv.CSVImportMonitor;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.csv.CSVParserConfiguration;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.file.FileUploadMonitor;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.file.FileUploadState;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.csv.CSVImportMonitor;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.csv.CSVParserConfiguration;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.file.FileUploadMonitor;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.file.FileUploadState;
|
||||
|
||||
/**
|
||||
*
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.gcube.portlets.user.td.gxtservice.server.file;
|
||||
package org.gcube.portlets.user.td.gwtservice.server.file;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.FileOutputStream;
|
||||
|
@ -15,8 +15,8 @@ import java.util.zip.ZipInputStream;
|
|||
|
||||
import org.apache.commons.io.IOUtils;
|
||||
|
||||
import org.gcube.portlets.user.td.gxtservice.server.SessionUtil;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.csv.CSVImportSession;
|
||||
import org.gcube.portlets.user.td.gwtservice.server.SessionUtil;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.csv.CSVImportSession;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package org.gcube.portlets.user.td.gxtservice.server.storage;
|
||||
package org.gcube.portlets.user.td.gwtservice.server.storage;
|
||||
|
||||
import java.io.File;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package org.gcube.portlets.user.td.gxtservice.server.trservice;
|
||||
package org.gcube.portlets.user.td.gwtservice.server.trservice;
|
||||
|
||||
|
||||
/**
|
|
@ -1,4 +1,4 @@
|
|||
package org.gcube.portlets.user.td.gxtservice.server.trservice;
|
||||
package org.gcube.portlets.user.td.gwtservice.server.trservice;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.HashMap;
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.gcube.portlets.user.td.gxtservice.shared;
|
||||
package org.gcube.portlets.user.td.gwtservice.shared;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.gcube.portlets.user.td.gxtservice.shared;
|
||||
package org.gcube.portlets.user.td.gwtservice.shared;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.gcube.portlets.user.td.gxtservice.shared;
|
||||
package org.gcube.portlets.user.td.gwtservice.shared;
|
||||
|
||||
|
||||
/**
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.gcube.portlets.user.td.gxtservice.shared;
|
||||
package org.gcube.portlets.user.td.gwtservice.shared;
|
||||
|
||||
|
||||
/**
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.gcube.portlets.user.td.gxtservice.shared;
|
||||
package org.gcube.portlets.user.td.gwtservice.shared;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package org.gcube.portlets.user.td.gxtservice.shared;
|
||||
package org.gcube.portlets.user.td.gwtservice.shared;
|
||||
|
||||
/**
|
||||
* <p>
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.gcube.portlets.user.td.gxtservice.shared;
|
||||
package org.gcube.portlets.user.td.gwtservice.shared;
|
||||
|
||||
/**
|
||||
* @author "Federico De Faveri defaveri@isti.cnr.it"
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.gcube.portlets.user.td.gxtservice.shared;
|
||||
package org.gcube.portlets.user.td.gwtservice.shared;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package org.gcube.portlets.user.td.gxtservice.shared;
|
||||
package org.gcube.portlets.user.td.gwtservice.shared;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
package org.gcube.portlets.user.td.gxtservice.shared;
|
||||
package org.gcube.portlets.user.td.gwtservice.shared;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.TRId;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.TRId;
|
||||
|
||||
|
||||
/**
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.gcube.portlets.user.td.gxtservice.shared.csv;
|
||||
package org.gcube.portlets.user.td.gwtservice.shared.csv;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.gcube.portlets.user.td.gxtservice.shared.csv;
|
||||
package org.gcube.portlets.user.td.gwtservice.shared.csv;
|
||||
|
||||
import java.io.BufferedWriter;
|
||||
import java.io.File;
|
||||
|
@ -22,7 +22,7 @@ import java.util.List;
|
|||
|
||||
|
||||
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.file.HeaderPresence;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.file.HeaderPresence;
|
||||
import org.mozilla.universalchardet.UniversalDetector;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.gcube.portlets.user.td.gxtservice.shared.csv;
|
||||
package org.gcube.portlets.user.td.gwtservice.shared.csv;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
|
@ -1,14 +1,14 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.gcube.portlets.user.td.gxtservice.shared.csv;
|
||||
package org.gcube.portlets.user.td.gwtservice.shared.csv;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.TabResource;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.source.Source;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.TabResource;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.source.Source;
|
||||
|
||||
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.gcube.portlets.user.td.gxtservice.shared.csv;
|
||||
package org.gcube.portlets.user.td.gwtservice.shared.csv;
|
||||
|
||||
/**
|
||||
*
|
|
@ -1,11 +1,11 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.gcube.portlets.user.td.gxtservice.shared.csv;
|
||||
package org.gcube.portlets.user.td.gwtservice.shared.csv;
|
||||
|
||||
import java.nio.charset.Charset;
|
||||
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.file.HeaderPresence;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.file.HeaderPresence;
|
||||
|
||||
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.gcube.portlets.user.td.gxtservice.shared.csv;
|
||||
package org.gcube.portlets.user.td.gwtservice.shared.csv;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package org.gcube.portlets.user.td.gxtservice.shared.document;
|
||||
package org.gcube.portlets.user.td.gwtservice.shared.document;
|
||||
|
||||
|
||||
/**
|
|
@ -1,4 +1,4 @@
|
|||
package org.gcube.portlets.user.td.gxtservice.shared.document;
|
||||
package org.gcube.portlets.user.td.gwtservice.shared.document;
|
||||
|
||||
|
||||
/**
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.gcube.portlets.user.td.gxtservice.shared.document;
|
||||
package org.gcube.portlets.user.td.gwtservice.shared.document;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.gcube.portlets.user.td.gxtservice.shared.file;
|
||||
package org.gcube.portlets.user.td.gwtservice.shared.file;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.gcube.portlets.user.td.gxtservice.shared.file;
|
||||
package org.gcube.portlets.user.td.gwtservice.shared.file;
|
||||
|
||||
/**
|
||||
* @author Federico De Faveri defaveri@isti.cnr.it
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.gcube.portlets.user.td.gxtservice.shared.file;
|
||||
package org.gcube.portlets.user.td.gwtservice.shared.file;
|
||||
|
||||
/**
|
||||
*
|
|
@ -1,8 +1,8 @@
|
|||
package org.gcube.portlets.user.td.gxtservice.shared.sdmx;
|
||||
package org.gcube.portlets.user.td.gwtservice.shared.sdmx;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.TRId;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.TRId;
|
||||
|
||||
|
||||
/**
|
|
@ -1,14 +1,14 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.gcube.portlets.user.td.gxtservice.shared.sdmx;
|
||||
package org.gcube.portlets.user.td.gwtservice.shared.sdmx;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.Codelist;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.TabResource;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.document.SDMXDocument;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.source.Source;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.Codelist;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.TabResource;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.document.SDMXDocument;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.source.Source;
|
||||
|
||||
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package org.gcube.portlets.user.td.gxtservice.shared.sdmx;
|
||||
package org.gcube.portlets.user.td.gwtservice.shared.sdmx;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package org.gcube.portlets.user.td.gxtservice.shared.source;
|
||||
package org.gcube.portlets.user.td.gwtservice.shared.source;
|
||||
|
||||
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
package org.gcube.portlets.user.td.gxtservice.shared.source;
|
||||
package org.gcube.portlets.user.td.gwtservice.shared.source;
|
||||
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.source.Source;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.source.Source;
|
||||
|
||||
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package org.gcube.portlets.user.td.gxtservice.shared.source;
|
||||
package org.gcube.portlets.user.td.gwtservice.shared.source;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package org.gcube.portlets.user.td.gxtservice.shared.source;
|
||||
package org.gcube.portlets.user.td.gwtservice.shared.source;
|
||||
|
||||
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
package org.gcube.portlets.user.td.gxtservice.client;
|
||||
|
||||
import com.google.gwt.core.client.EntryPoint;
|
||||
|
||||
public class GXTServiceEntry implements EntryPoint {
|
||||
|
||||
@Override
|
||||
public void onModuleLoad() {
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
<!-- Servlets -->
|
||||
<servlet>
|
||||
<servlet-name>TDGXTService</servlet-name>
|
||||
<servlet-name>TDGWTService</servlet-name>
|
||||
<servlet-class>org.gcube.portlets.user.td.gxtservice.server.TDGXTServiceImpl</servlet-class>
|
||||
</servlet>
|
||||
|
||||
|
@ -30,8 +30,8 @@
|
|||
|
||||
<!-- Servlets Mapping -->
|
||||
<servlet-mapping>
|
||||
<servlet-name>TDGXTService</servlet-name>
|
||||
<url-pattern>/tdgxtservice/TDGXTService</url-pattern>
|
||||
<servlet-name>TDGWTService</servlet-name>
|
||||
<url-pattern>/tdgxtservice/TDGWTService</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet-mapping>
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
package org.gcube.portlets.user.td.gxtservice.client;
|
||||
|
||||
import org.gcube.portlets.user.td.gxtservice.client.rpc.TDGXTService;
|
||||
import org.gcube.portlets.user.td.gxtservice.client.rpc.TDGXTServiceAsync;
|
||||
import org.gcube.portlets.user.td.gxtservice.shared.TabResource;
|
||||
import org.gcube.portlets.user.td.gwtservice.client.rpc.TDGWTService;
|
||||
import org.gcube.portlets.user.td.gwtservice.client.rpc.TDGWTServiceAsync;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.TabResource;
|
||||
|
||||
import com.google.gwt.core.client.GWT;
|
||||
import com.google.gwt.junit.client.GWTTestCase;
|
||||
|
@ -33,7 +33,7 @@ public class GwtTestGXTService extends GWTTestCase {
|
|||
*/
|
||||
public void testCreateTabResource() {
|
||||
// Create the service that we will test.
|
||||
TDGXTServiceAsync tdGXTService = GWT.create(TDGXTService.class);
|
||||
TDGWTServiceAsync tdGXTService = GWT.create(TDGWTService.class);
|
||||
ServiceDefTarget target = (ServiceDefTarget) tdGXTService;
|
||||
System.out.println(GWT.getModuleBaseURL() + "TDGXTService");
|
||||
target.setServiceEntryPoint(GWT.getModuleBaseURL() + "TDGXTService");
|
||||
|
@ -50,7 +50,7 @@ public class GwtTestGXTService extends GWTTestCase {
|
|||
tabResource.setRight("");
|
||||
|
||||
// Send a request to the server.
|
||||
TDGXTServiceAsync.INSTANCE.createTabularResource(tabResource,new AsyncCallback<TabResource>() {
|
||||
TDGWTServiceAsync.INSTANCE.createTabularResource(tabResource,new AsyncCallback<TabResource>() {
|
||||
|
||||
@Override
|
||||
public void onFailure(Throwable caught) {
|
||||
|
|
Loading…
Reference in New Issue