2013-10-24 12:21:28 +02:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
*/
|
2013-10-24 12:51:21 +02:00
|
|
|
package org.gcube.portlets.user.td.gwtservice.client.rpc;
|
2013-10-24 12:21:28 +02:00
|
|
|
|
|
|
|
import java.util.ArrayList;
|
2015-02-06 09:28:28 +01:00
|
|
|
import java.util.HashMap;
|
2013-10-24 12:21:28 +02:00
|
|
|
|
2014-11-10 14:06:49 +01:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.chart.ChartTopRatingSession;
|
2014-06-04 14:31:43 +02:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.codelisthelper.CodelistMappingSession;
|
2013-10-24 12:51:21 +02:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.csv.AvailableCharsetList;
|
2013-11-28 18:35:11 +01:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.csv.CSVExportSession;
|
2013-10-24 12:51:21 +02:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.csv.CSVImportSession;
|
2014-07-25 12:35:43 +02:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.csv.CheckCSVSession;
|
2014-05-28 19:16:35 +02:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.extract.ExtractCodelistSession;
|
2013-10-24 12:51:21 +02:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.file.FileUploadMonitor;
|
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.file.HeaderPresence;
|
2015-02-12 11:16:38 +01:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.geometry.GeometryCreatePointSession;
|
2015-02-09 16:04:42 +01:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.geospatial.GeospatialCreateCoordinatesSession;
|
2015-03-06 17:23:25 +01:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.geospatial.GeospatialDownscaleCSquareSession;
|
2014-04-15 20:24:07 +02:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.history.OpHistory;
|
2014-04-16 11:10:31 +02:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.history.RollBackSession;
|
2015-10-08 19:19:18 +02:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.i18n.InfoLocale;
|
2014-10-02 16:18:41 +02:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.json.JSONExportSession;
|
2014-09-02 18:31:11 +02:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.licenses.LicenceData;
|
2014-10-10 18:50:30 +02:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.map.MapCreationSession;
|
2015-02-13 14:40:45 +01:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.monitor.BackgroundOperationMonitor;
|
2014-09-09 19:17:07 +02:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.monitor.BackgroundOperationMonitorSession;
|
2014-08-06 20:03:45 +02:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.monitor.OperationMonitor;
|
2014-08-08 15:18:49 +02:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.monitor.OperationMonitorSession;
|
2013-12-03 17:55:39 +01:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.sdmx.SDMXExportSession;
|
2013-10-24 12:51:21 +02:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.sdmx.SDMXImportSession;
|
2015-04-22 14:19:24 +02:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.share.ShareRule;
|
2014-10-16 18:43:52 +02:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.share.ShareTabResource;
|
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.share.ShareTemplate;
|
2013-12-04 12:17:48 +01:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.source.SDMXRegistrySource;
|
2017-03-13 19:58:50 +01:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.statistical.DataMinerOperationSession;
|
2014-05-21 15:40:26 +02:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.task.TaskResubmitSession;
|
2014-05-23 14:47:20 +02:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.task.TaskResumeSession;
|
2014-05-08 15:35:35 +02:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.task.ValidationsTasksMetadata;
|
2014-03-21 12:32:37 +01:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.template.TemplateApplySession;
|
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.template.TemplateData;
|
2014-03-25 10:23:06 +01:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.template.TemplateDeleteSession;
|
2014-05-20 18:54:43 +02:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.RefColumn;
|
2013-11-21 10:21:20 +01:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.TabResource;
|
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.TableData;
|
2014-04-04 12:33:38 +02:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.batch.Occurrences;
|
2014-04-08 10:44:51 +02:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.batch.OccurrencesForReplaceBatchColumnSession;
|
2014-04-03 18:36:35 +02:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.batch.ReplaceBatchColumnSession;
|
2014-03-07 15:26:39 +01:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.clone.CloneTabularResourceSession;
|
2014-05-30 13:05:31 +02:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.column.AddColumnSession;
|
2015-03-03 18:17:30 +01:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.column.ChangeColumnsPositionSession;
|
2014-02-10 19:05:19 +01:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.column.DeleteColumnSession;
|
2014-02-11 16:52:40 +01:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.column.LabelColumnSession;
|
2014-03-26 19:08:43 +01:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.column.ReplaceColumnSession;
|
2014-02-06 17:33:39 +01:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.column.type.ChangeColumnTypeSession;
|
2013-12-02 15:22:53 +01:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.metadata.TRMetadata;
|
2014-07-03 15:30:54 +02:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.normalization.DenormalizationSession;
|
2014-07-02 17:31:01 +02:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.normalization.NormalizationSession;
|
2013-11-21 10:21:20 +01:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.open.TDOpenSession;
|
2014-02-07 16:59:14 +01:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.paging.CodelistPagingLoadConfig;
|
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.paging.CodelistPagingLoadResult;
|
2014-11-03 18:10:14 +01:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.replacebyexternal.ReplaceByExternalSession;
|
2014-10-29 10:16:11 +01:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.resources.RemoveResourceSession;
|
2014-10-07 17:31:33 +02:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.resources.ResourceTDDescriptor;
|
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.resources.ResourceTDType;
|
2014-11-12 15:00:23 +01:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.resources.SaveResourceSession;
|
2014-03-06 15:17:25 +01:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.rows.DeleteRowsSession;
|
2014-03-07 17:19:35 +01:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.rows.DuplicatesSession;
|
2014-05-15 18:16:31 +02:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.rows.EditRowSession;
|
2014-02-25 18:32:17 +01:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.table.ChangeTableTypeSession;
|
2013-12-02 15:18:05 +01:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.table.metadata.TabMetadata;
|
2014-04-09 19:05:47 +02:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.table.metadata.TabValidationsMetadata;
|
2013-11-21 10:21:20 +01:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.type.Agencies;
|
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.type.Codelist;
|
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.type.Dataset;
|
2014-07-15 17:32:32 +02:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.union.UnionSession;
|
2014-10-17 18:39:53 +02:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.uriresolver.UriResolverSession;
|
2014-10-15 18:45:04 +02:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.user.UserInfo;
|
2013-12-05 15:15:21 +01:00
|
|
|
import org.gcube.portlets.user.td.widgetcommonevent.shared.TRId;
|
2015-04-13 12:57:48 +02:00
|
|
|
import org.gcube.portlets.user.td.widgetcommonevent.shared.tr.column.ColumnData;
|
2015-02-06 09:28:28 +01:00
|
|
|
import org.gcube.portlets.user.td.widgetcommonevent.shared.tr.column.ColumnDataType;
|
2015-04-13 12:57:48 +02:00
|
|
|
import org.gcube.portlets.user.td.widgetcommonevent.shared.tr.column.PeriodDataType;
|
|
|
|
import org.gcube.portlets.user.td.widgetcommonevent.shared.tr.column.ValueDataFormat;
|
2013-11-20 18:26:49 +01:00
|
|
|
|
2013-10-24 12:21:28 +02:00
|
|
|
import com.google.gwt.core.client.GWT;
|
|
|
|
import com.google.gwt.user.client.rpc.AsyncCallback;
|
|
|
|
|
|
|
|
/**
|
|
|
|
*
|
|
|
|
* @author "Giancarlo Panichi" <a
|
|
|
|
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2013-10-24 12:51:21 +02:00
|
|
|
public interface TDGWTServiceAsync {
|
2013-10-24 12:21:28 +02:00
|
|
|
|
2013-12-10 17:15:51 +01:00
|
|
|
public static TDGWTServiceAsync INSTANCE = (TDGWTServiceAsync) GWT
|
2013-10-24 12:51:21 +02:00
|
|
|
.create(TDGWTService.class);
|
2013-10-24 12:21:28 +02:00
|
|
|
|
2014-10-15 18:45:04 +02:00
|
|
|
void hello(AsyncCallback<UserInfo> callback);
|
2017-03-13 19:58:50 +01:00
|
|
|
|
|
|
|
void setLocale(InfoLocale infoLocale, AsyncCallback<Void> callback);
|
2014-08-27 17:05:41 +02:00
|
|
|
|
2015-01-23 17:01:32 +01:00
|
|
|
void pendingTasksRetrieve(AsyncCallback<Integer> callback);
|
2015-02-06 09:28:28 +01:00
|
|
|
|
2015-03-11 16:07:47 +01:00
|
|
|
void restoreUISession(TRId startTRId, AsyncCallback<TRId> callback);
|
2014-10-22 18:16:53 +02:00
|
|
|
|
|
|
|
void getUriFromResolver(UriResolverSession uriResolverSession,
|
|
|
|
AsyncCallback<String> callback);
|
2017-03-13 19:58:50 +01:00
|
|
|
|
2016-09-29 15:41:53 +02:00
|
|
|
void getVREFolderIdByScope(AsyncCallback<String> callback);
|
2017-03-13 19:58:50 +01:00
|
|
|
|
2015-02-06 09:28:28 +01:00
|
|
|
// PeriodDataType
|
2015-02-03 19:01:46 +01:00
|
|
|
void getPeriodDataTypes(AsyncCallback<ArrayList<PeriodDataType>> callback);
|
2015-02-06 09:28:28 +01:00
|
|
|
|
|
|
|
void getHierarchicalRelationshipForPeriodDataTypes(
|
|
|
|
PeriodDataType periodDataType,
|
|
|
|
AsyncCallback<ArrayList<PeriodDataType>> callback);
|
|
|
|
|
2015-02-06 09:41:20 +01:00
|
|
|
// ValueDataFormat
|
|
|
|
void getValueDataFormatsMap(
|
2015-02-06 09:28:28 +01:00
|
|
|
AsyncCallback<HashMap<ColumnDataType, ArrayList<ValueDataFormat>>> callback);
|
|
|
|
|
|
|
|
void getValueDataFormatsOfColumnDataType(ColumnDataType columnDataType,
|
|
|
|
AsyncCallback<ArrayList<ValueDataFormat>> callback);
|
|
|
|
|
2014-08-27 17:05:41 +02:00
|
|
|
// TabularResource
|
2014-04-15 20:24:07 +02:00
|
|
|
void getCurrentTRId(AsyncCallback<TRId> callback);
|
2014-08-27 17:05:41 +02:00
|
|
|
|
|
|
|
void createTabularResource(TabResource tabResource,
|
|
|
|
AsyncCallback<TabResource> callback);
|
|
|
|
|
|
|
|
void removeTabularResource(TRId trId, AsyncCallback<Void> callback);
|
|
|
|
|
|
|
|
void isTabularResourceValid(TRId trId, AsyncCallback<Boolean> callback);
|
|
|
|
|
2014-10-15 18:45:04 +02:00
|
|
|
void getInSessionTabResourceInfo(AsyncCallback<TabResource> callback);
|
2014-10-22 18:16:53 +02:00
|
|
|
|
2013-10-24 18:39:47 +02:00
|
|
|
void getTabResourceInformation(AsyncCallback<TabResource> callback);
|
2014-08-27 17:05:41 +02:00
|
|
|
|
|
|
|
void getTabResourceInformation(TRId trId,
|
|
|
|
AsyncCallback<TabResource> callback);
|
|
|
|
|
|
|
|
void setTabResourceInformation(TabResource tabResource,
|
|
|
|
AsyncCallback<Void> callback);
|
|
|
|
|
2015-01-30 18:34:51 +01:00
|
|
|
void setTabResourceToFinal(TRId trId, AsyncCallback<Void> callback);
|
2015-02-06 09:28:28 +01:00
|
|
|
|
2014-08-27 17:05:41 +02:00
|
|
|
void getTRCreationDate(TRId trId, AsyncCallback<String> callback);
|
|
|
|
|
|
|
|
void setTabResource(TabResource tabResource, AsyncCallback<Void> callback);
|
|
|
|
|
|
|
|
void getTabularResources(AsyncCallback<ArrayList<TabResource>> callback);
|
|
|
|
|
|
|
|
void getTabularResourcesAndLastTables(
|
|
|
|
AsyncCallback<ArrayList<TabResource>> callback);
|
|
|
|
|
|
|
|
void getLastTable(TRId trId, AsyncCallback<TableData> callback);
|
|
|
|
|
|
|
|
void getTable(TRId trId, AsyncCallback<TableData> callback);
|
|
|
|
|
|
|
|
void getTableMetadata(TRId trId,
|
|
|
|
AsyncCallback<ArrayList<TabMetadata>> callback);
|
|
|
|
|
|
|
|
void getTRMetadata(TRId trId, AsyncCallback<ArrayList<TRMetadata>> callback);
|
2015-02-06 09:28:28 +01:00
|
|
|
|
|
|
|
void getTimeTableId(PeriodDataType periodDataType,
|
|
|
|
AsyncCallback<Long> callback);
|
|
|
|
|
2014-08-27 17:05:41 +02:00
|
|
|
void getColumns(AsyncCallback<ArrayList<ColumnData>> callback);
|
|
|
|
|
|
|
|
void getColumns(TRId trId, AsyncCallback<ArrayList<ColumnData>> callback);
|
|
|
|
|
2014-10-22 18:16:53 +02:00
|
|
|
void getColumnWithViewColumnIncluded(TRId trId,
|
|
|
|
AsyncCallback<ArrayList<ColumnData>> callback);
|
2017-03-13 19:58:50 +01:00
|
|
|
|
2015-03-25 12:00:37 +01:00
|
|
|
void getColumnWithOnlyViewColumnInRel(TRId trId,
|
|
|
|
AsyncCallback<ArrayList<ColumnData>> callback);
|
2017-03-13 19:58:50 +01:00
|
|
|
|
2014-10-28 15:47:07 +01:00
|
|
|
void getColumnsForStatistical(TRId trId,
|
|
|
|
AsyncCallback<ArrayList<ColumnData>> callback);
|
2014-10-22 18:16:53 +02:00
|
|
|
|
2014-08-27 17:05:41 +02:00
|
|
|
void getColumnsForDimension(TRId trId,
|
|
|
|
AsyncCallback<ArrayList<ColumnData>> callback);
|
|
|
|
|
|
|
|
void getColumn(TRId trId, String columnName,
|
|
|
|
AsyncCallback<ColumnData> callback);
|
|
|
|
|
|
|
|
void getColumn(String columnLocalId, TRId trId,
|
|
|
|
AsyncCallback<ColumnData> callback);
|
|
|
|
|
|
|
|
void getConnection(RefColumn refColumn, AsyncCallback<ColumnData> callback);
|
2014-10-22 18:16:53 +02:00
|
|
|
|
2014-10-14 14:29:27 +02:00
|
|
|
void closeAllTabularResources(AsyncCallback<Void> callback);
|
2014-10-22 18:16:53 +02:00
|
|
|
|
|
|
|
void closeTabularResourceAndOpen(TRId openTRId, TRId closeTRId,
|
|
|
|
AsyncCallback<Void> callback);
|
|
|
|
|
2014-10-15 18:45:04 +02:00
|
|
|
void closeTabularResource(TRId closeTRId, AsyncCallback<Void> callback);
|
2014-10-22 18:16:53 +02:00
|
|
|
|
2014-11-03 18:10:14 +01:00
|
|
|
void setActiveTabularResource(TRId activeTRId, AsyncCallback<TRId> callback);
|
2014-10-22 18:16:53 +02:00
|
|
|
|
2014-08-27 17:05:41 +02:00
|
|
|
// Task
|
|
|
|
void startTaskResubmit(TaskResubmitSession taskResubmitSession,
|
|
|
|
AsyncCallback<String> callback);
|
|
|
|
|
|
|
|
void startTaskResume(TaskResumeSession taskResumeSession,
|
|
|
|
AsyncCallback<String> callback);
|
|
|
|
|
|
|
|
// Validations
|
|
|
|
void getValidationsTasksMetadata(TRId trId,
|
|
|
|
AsyncCallback<ValidationsTasksMetadata> callback);
|
|
|
|
|
|
|
|
void getTableValidationsMetadata(TRId trId,
|
|
|
|
AsyncCallback<TabValidationsMetadata> callback);
|
|
|
|
|
|
|
|
void getValidationColumns(TRId trId, String columnName,
|
|
|
|
AsyncCallback<ArrayList<ColumnData>> callback);
|
2017-03-13 19:58:50 +01:00
|
|
|
|
2015-03-20 17:28:47 +01:00
|
|
|
void getValidationColumns(String columnLocalId, TRId trId,
|
|
|
|
AsyncCallback<ArrayList<ColumnData>> callback);
|
2015-06-22 17:23:29 +02:00
|
|
|
|
|
|
|
void startValidationsDelete(TRId trId, AsyncCallback<String> callback);
|
2017-03-13 19:58:50 +01:00
|
|
|
|
2014-08-27 17:05:41 +02:00
|
|
|
// RollBack
|
|
|
|
void startRollBack(RollBackSession rollBackSession,
|
|
|
|
AsyncCallback<String> callback);
|
|
|
|
|
|
|
|
void startDiscard(TRId trId, AsyncCallback<String> callback);
|
|
|
|
|
|
|
|
// Share
|
2014-10-16 18:43:52 +02:00
|
|
|
void setShare(ShareTabResource shareInfo, AsyncCallback<Void> callback);
|
2014-10-22 18:16:53 +02:00
|
|
|
|
|
|
|
void setShareTemplate(ShareTemplate shareTemplate,
|
|
|
|
AsyncCallback<Void> callback);
|
2017-03-13 19:58:50 +01:00
|
|
|
|
|
|
|
void setShareRule(ShareRule shareRule, AsyncCallback<Void> callback);
|
2014-10-22 18:16:53 +02:00
|
|
|
|
2014-08-27 17:05:41 +02:00
|
|
|
// CodelistPagingLoaded
|
2014-02-07 16:59:14 +01:00
|
|
|
void setCodelistsPagingLoader(AsyncCallback<Void> callback);
|
|
|
|
|
|
|
|
void getCodelistsPagingLoader(
|
|
|
|
CodelistPagingLoadConfig codelistPagingLoadConfig,
|
|
|
|
AsyncCallback<CodelistPagingLoadResult> callback);
|
|
|
|
|
2014-08-27 17:05:41 +02:00
|
|
|
// Open
|
|
|
|
void tdOpen(TDOpenSession tdOpenSession, AsyncCallback<Void> callback);
|
|
|
|
|
|
|
|
// Clone
|
|
|
|
void startCloneTabularResource(
|
|
|
|
CloneTabularResourceSession cloneTabularResourceSession,
|
|
|
|
AsyncCallback<String> callback);
|
|
|
|
|
|
|
|
// SDMX
|
|
|
|
void getCodelists(AsyncCallback<ArrayList<Codelist>> callback);
|
2013-10-24 12:21:28 +02:00
|
|
|
|
|
|
|
void getDatasets(AsyncCallback<ArrayList<Dataset>> callback);
|
2014-08-27 17:05:41 +02:00
|
|
|
|
2013-10-24 12:21:28 +02:00
|
|
|
void getAgencies(AsyncCallback<ArrayList<Agencies>> callback);
|
2014-08-27 17:05:41 +02:00
|
|
|
|
|
|
|
void setSDMXRegistrySource(SDMXRegistrySource sdmxRegistrySource,
|
|
|
|
AsyncCallback<Void> callback);
|
|
|
|
|
|
|
|
// Import SDMX
|
|
|
|
void startSDMXImport(SDMXImportSession sdmxImportSession,
|
|
|
|
AsyncCallback<String> callback);
|
|
|
|
|
|
|
|
// Import CSV
|
|
|
|
void setCSVSession(CSVImportSession csvImportSession,
|
|
|
|
AsyncCallback<Void> callback);
|
|
|
|
|
|
|
|
void getFileFromWorkspace(CSVImportSession csvImportSession,
|
|
|
|
AsyncCallback<Void> callback);
|
2013-11-14 19:21:17 +01:00
|
|
|
|
2013-10-24 12:21:28 +02:00
|
|
|
void getAvailableCharset(AsyncCallback<AvailableCharsetList> callback);
|
2014-08-27 17:05:41 +02:00
|
|
|
|
|
|
|
void configureCSVParser(String encoding, HeaderPresence headerPresence,
|
|
|
|
char delimiter, char comment,
|
|
|
|
AsyncCallback<ArrayList<String>> callback);
|
|
|
|
|
2014-07-25 12:35:43 +02:00
|
|
|
void checkCSV(long errorsLimit, AsyncCallback<CheckCSVSession> callback);
|
2014-08-27 17:05:41 +02:00
|
|
|
|
|
|
|
void startCSVImport(CSVImportSession csvImportSession,
|
|
|
|
AsyncCallback<String> callback);
|
|
|
|
|
|
|
|
// Export CSV
|
2017-03-13 19:58:50 +01:00
|
|
|
void getAvailableCharsetForExport(
|
|
|
|
AsyncCallback<AvailableCharsetList> callback);
|
|
|
|
|
2014-08-27 17:05:41 +02:00
|
|
|
void startCSVExport(CSVExportSession csvExportSession,
|
|
|
|
AsyncCallback<String> callback);
|
|
|
|
|
|
|
|
// Export SDMX
|
|
|
|
void startSDMXExport(SDMXExportSession exportSession,
|
|
|
|
AsyncCallback<String> callback);
|
|
|
|
|
2014-10-02 16:18:41 +02:00
|
|
|
// Export JSON
|
|
|
|
void startJSONExport(JSONExportSession jsonExportSession,
|
2014-10-22 18:16:53 +02:00
|
|
|
AsyncCallback<String> callback);
|
|
|
|
|
2014-08-27 17:05:41 +02:00
|
|
|
// Table Operation
|
|
|
|
void startChangeTableType(ChangeTableTypeSession changeTableTypeSession,
|
|
|
|
AsyncCallback<String> callback);
|
|
|
|
|
2014-08-08 15:18:49 +02:00
|
|
|
void startUnion(UnionSession unionSession, AsyncCallback<String> callback);
|
2014-08-27 17:05:41 +02:00
|
|
|
|
|
|
|
// Rows Operation
|
|
|
|
void startEditRow(EditRowSession editRowSession,
|
|
|
|
AsyncCallback<String> callback);
|
|
|
|
|
|
|
|
void startDeleteRows(DeleteRowsSession deleteRowsSession,
|
|
|
|
AsyncCallback<String> callback);
|
|
|
|
|
|
|
|
void startDuplicates(DuplicatesSession duplicatesSession,
|
|
|
|
AsyncCallback<String> callback);
|
|
|
|
|
|
|
|
// Column Operation
|
|
|
|
void startChangeColumnType(ChangeColumnTypeSession changeColumnTypeSession,
|
|
|
|
AsyncCallback<String> callback);
|
|
|
|
|
|
|
|
void startAddColumn(AddColumnSession addColumnSession,
|
|
|
|
AsyncCallback<String> callback);
|
|
|
|
|
|
|
|
void startDeleteColumn(DeleteColumnSession deleteColumnSession,
|
|
|
|
AsyncCallback<String> callback);
|
|
|
|
|
|
|
|
void startLabelColumn(LabelColumnSession labelColumnSession,
|
|
|
|
AsyncCallback<String> callback);
|
2017-03-13 19:58:50 +01:00
|
|
|
|
|
|
|
void startChangeColumnsPosition(
|
|
|
|
ChangeColumnsPositionSession changeColumnsPositionSession,
|
2015-03-04 18:29:38 +01:00
|
|
|
AsyncCallback<Void> callback);
|
2017-03-13 19:58:50 +01:00
|
|
|
|
2014-08-27 17:05:41 +02:00
|
|
|
/*
|
|
|
|
* void startSplitColumn(SplitColumnSession
|
|
|
|
* splitColumnSession,AsyncCallback<Void> callback);
|
|
|
|
*/
|
|
|
|
/*
|
|
|
|
* void startSplitColumn(MergeColumnSession
|
|
|
|
* mergeColumnSession,AsyncCallback<Void> callback);
|
|
|
|
*/
|
|
|
|
/*
|
|
|
|
* void startGroupBy(GroupBySession groupBySession,AsyncCallback<Void>
|
|
|
|
* callback);
|
|
|
|
*/
|
|
|
|
|
|
|
|
// BatchReplace Operation
|
|
|
|
void getOccurrencesForBatchReplace(
|
|
|
|
OccurrencesForReplaceBatchColumnSession occurrencesForReplaceBatchColumnSession,
|
|
|
|
AsyncCallback<ArrayList<Occurrences>> callback);
|
|
|
|
|
|
|
|
void startReplaceBatchColumn(
|
|
|
|
ReplaceBatchColumnSession replaceBatchColumnSession,
|
|
|
|
AsyncCallback<String> callback);
|
|
|
|
|
|
|
|
// Replace Operation
|
|
|
|
void startReplaceColumn(ReplaceColumnSession replaceColumnSession,
|
|
|
|
AsyncCallback<String> callback);
|
2015-02-06 09:28:28 +01:00
|
|
|
|
|
|
|
void startReplaceByExternal(
|
|
|
|
ReplaceByExternalSession replaceByExternalSession,
|
2014-11-03 18:10:14 +01:00
|
|
|
AsyncCallback<String> callback);
|
2014-08-27 17:05:41 +02:00
|
|
|
|
|
|
|
// Templates
|
2014-03-21 12:32:37 +01:00
|
|
|
void getTemplates(AsyncCallback<ArrayList<TemplateData>> callback);
|
2014-08-27 17:05:41 +02:00
|
|
|
|
|
|
|
void startTemplateApply(TemplateApplySession templateDeleteSession,
|
|
|
|
AsyncCallback<String> callback);
|
|
|
|
|
|
|
|
void templateDelete(TemplateDeleteSession templateDeleteSession,
|
|
|
|
AsyncCallback<Void> callback);
|
|
|
|
|
|
|
|
// Locales
|
2014-04-08 18:05:17 +02:00
|
|
|
void getLocales(AsyncCallback<ArrayList<String>> callback);
|
2014-10-22 18:16:53 +02:00
|
|
|
|
2014-09-02 18:31:11 +02:00
|
|
|
// Licences
|
|
|
|
void getLicences(AsyncCallback<ArrayList<LicenceData>> callback);
|
2014-10-22 18:16:53 +02:00
|
|
|
|
2014-08-27 17:05:41 +02:00
|
|
|
// History
|
2014-04-15 20:24:07 +02:00
|
|
|
void getHistory(AsyncCallback<ArrayList<OpHistory>> callback);
|
2014-08-27 17:05:41 +02:00
|
|
|
|
2014-04-15 20:24:07 +02:00
|
|
|
void getHistory(TRId trId, AsyncCallback<ArrayList<OpHistory>> callback);
|
2014-08-27 17:05:41 +02:00
|
|
|
|
2014-04-15 20:24:07 +02:00
|
|
|
void getLastOperationInfo(AsyncCallback<OpHistory> callback);
|
2014-08-27 17:05:41 +02:00
|
|
|
|
2014-04-15 20:24:07 +02:00
|
|
|
void getLastOperationInfo(TRId trId, AsyncCallback<OpHistory> callback);
|
2014-08-27 17:05:41 +02:00
|
|
|
|
|
|
|
// Helper Extract Codelist
|
|
|
|
void startExtractCodelist(ExtractCodelistSession extractCodelistSession,
|
|
|
|
AsyncCallback<String> callback);
|
|
|
|
|
|
|
|
// Helper Codelist Mapping Import
|
|
|
|
void setCodelistMappingSession(
|
|
|
|
CodelistMappingSession codelistMappingSession,
|
|
|
|
AsyncCallback<Void> callback);
|
|
|
|
|
|
|
|
void getFileFromWorkspace(CodelistMappingSession codelistMappingSession,
|
|
|
|
AsyncCallback<Void> callback);
|
|
|
|
|
|
|
|
void startCodelistMappingImport(
|
|
|
|
CodelistMappingSession codelistMappingSession,
|
|
|
|
AsyncCallback<String> callback);
|
|
|
|
|
|
|
|
// Normalization
|
|
|
|
void startNormalization(NormalizationSession normalizationSession,
|
|
|
|
AsyncCallback<String> callback);
|
|
|
|
|
|
|
|
// Denormalization
|
|
|
|
void startDenormalization(DenormalizationSession denormalizationSession,
|
|
|
|
AsyncCallback<String> callback);
|
|
|
|
|
|
|
|
// Operation Monitor
|
|
|
|
void getOperationMonitor(OperationMonitorSession operationMonitorSession,
|
|
|
|
AsyncCallback<OperationMonitor> callback);
|
2014-10-22 18:16:53 +02:00
|
|
|
|
|
|
|
void getBackgroundOperationMonitor(
|
|
|
|
BackgroundOperationMonitorSession backgroundOperationMonitorSession,
|
2015-02-13 14:40:45 +01:00
|
|
|
AsyncCallback<ArrayList<BackgroundOperationMonitor>> callback);
|
2017-03-13 19:58:50 +01:00
|
|
|
|
2015-02-13 14:40:45 +01:00
|
|
|
void getBackgroundOperationMonitorForSpecificTask(
|
|
|
|
OperationMonitorSession operationMonitorSession,
|
|
|
|
AsyncCallback<OperationMonitor> callback);
|
2017-03-13 19:58:50 +01:00
|
|
|
|
2014-08-27 17:05:41 +02:00
|
|
|
// File Upload Monitor
|
2014-08-08 15:18:49 +02:00
|
|
|
void getFileUploadMonitor(AsyncCallback<FileUploadMonitor> callback);
|
2014-10-22 18:16:53 +02:00
|
|
|
|
|
|
|
// ResourceTD
|
|
|
|
void getResourcesTD(TRId trId,
|
|
|
|
AsyncCallback<ArrayList<ResourceTDDescriptor>> callback);
|
|
|
|
|
|
|
|
void getResourcesTDByType(TRId trId, ResourceTDType reourceTDType,
|
|
|
|
AsyncCallback<ArrayList<ResourceTDDescriptor>> callback);
|
|
|
|
|
2014-10-29 10:16:11 +01:00
|
|
|
void removeResource(RemoveResourceSession removeResourceSession,
|
|
|
|
AsyncCallback<Void> callback);
|
2015-02-06 09:28:28 +01:00
|
|
|
|
2014-11-12 15:00:23 +01:00
|
|
|
void saveResource(SaveResourceSession saveResourceSession,
|
|
|
|
AsyncCallback<Void> callback);
|
2014-10-29 10:16:11 +01:00
|
|
|
|
2014-10-22 18:16:53 +02:00
|
|
|
// GIS MAP
|
2014-10-10 18:50:30 +02:00
|
|
|
void startMapCreation(MapCreationSession mapCreationSession,
|
2014-10-22 18:16:53 +02:00
|
|
|
AsyncCallback<String> callback);
|
|
|
|
|
2017-03-13 19:58:50 +01:00
|
|
|
|
|
|
|
// DataMiner
|
|
|
|
void startDataMinerOperation(
|
|
|
|
DataMinerOperationSession dataMinerOperationSession,
|
2014-10-22 18:16:53 +02:00
|
|
|
AsyncCallback<String> callback);
|
2015-02-06 09:28:28 +01:00
|
|
|
|
|
|
|
// Chart
|
2014-11-10 14:06:49 +01:00
|
|
|
void startChartTopRating(ChartTopRatingSession chartTopRatingSession,
|
|
|
|
AsyncCallback<String> callback);
|
2015-02-12 11:16:38 +01:00
|
|
|
|
2015-02-09 16:04:42 +01:00
|
|
|
// Geospatial
|
|
|
|
void startGeospatialCreateCoordinates(
|
|
|
|
GeospatialCreateCoordinatesSession geospatialCreateCoordinatesSession,
|
|
|
|
AsyncCallback<String> callback);
|
|
|
|
|
2015-03-06 17:23:25 +01:00
|
|
|
void startGeospatialDownscaleCSquare(
|
|
|
|
GeospatialDownscaleCSquareSession geospatialDownscaleCSquareSession,
|
|
|
|
AsyncCallback<String> callback);
|
2017-03-13 19:58:50 +01:00
|
|
|
|
2015-02-12 11:16:38 +01:00
|
|
|
// Geometry
|
|
|
|
void startGeometryCreatePoint(
|
|
|
|
GeometryCreatePointSession geometryCreatePointSession,
|
|
|
|
AsyncCallback<String> callback);
|
|
|
|
|
2013-10-24 12:21:28 +02:00
|
|
|
}
|