Minor Update

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@99306 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-08-27 15:05:41 +00:00
parent 41f0b6194f
commit 5b99711b35
1 changed files with 224 additions and 137 deletions

View File

@ -77,40 +77,76 @@ public interface TDGWTServiceAsync {
// TabularResource // TabularResource
void getCurrentTRId(AsyncCallback<TRId> callback); void getCurrentTRId(AsyncCallback<TRId> callback);
void createTabularResource(TabResource tabResource,AsyncCallback<TabResource> callback);
void createTabularResource(TabResource tabResource,
AsyncCallback<TabResource> callback);
void removeTabularResource(TRId trId, AsyncCallback<Void> callback); void removeTabularResource(TRId trId, AsyncCallback<Void> callback);
void isTabularResourceValid(TRId trId, AsyncCallback<Boolean> callback); void isTabularResourceValid(TRId trId, AsyncCallback<Boolean> callback);
void getTabResourceInformation(AsyncCallback<TabResource> callback); void getTabResourceInformation(AsyncCallback<TabResource> callback);
void getTabResourceInformation(TRId trId,AsyncCallback<TabResource> callback);
void setTabResourceInformation(TabResource tabResource, AsyncCallback<Void> callback); void getTabResourceInformation(TRId trId,
AsyncCallback<TabResource> callback);
void setTabResourceInformation(TabResource tabResource,
AsyncCallback<Void> callback);
void getTRCreationDate(TRId trId, AsyncCallback<String> callback); void getTRCreationDate(TRId trId, AsyncCallback<String> callback);
void setTabResource(TabResource tabResource, AsyncCallback<Void> callback); void setTabResource(TabResource tabResource, AsyncCallback<Void> callback);
void getTabularResources(AsyncCallback<ArrayList<TabResource>> callback); void getTabularResources(AsyncCallback<ArrayList<TabResource>> callback);
void getTabularResourcesAndLastTables(AsyncCallback<ArrayList<TabResource>> callback);
void getTabularResourcesAndLastTables(
AsyncCallback<ArrayList<TabResource>> callback);
void getLastTable(TRId trId, AsyncCallback<TableData> callback); void getLastTable(TRId trId, AsyncCallback<TableData> callback);
void getTable(TRId trId, AsyncCallback<TableData> callback); void getTable(TRId trId, AsyncCallback<TableData> callback);
void getTableMetadata(TRId trId, AsyncCallback<ArrayList<TabMetadata>> callback);
void getTableMetadata(TRId trId,
AsyncCallback<ArrayList<TabMetadata>> callback);
void getTRMetadata(TRId trId, AsyncCallback<ArrayList<TRMetadata>> callback); void getTRMetadata(TRId trId, AsyncCallback<ArrayList<TRMetadata>> callback);
void getColumns(AsyncCallback<ArrayList<ColumnData>> callback); void getColumns(AsyncCallback<ArrayList<ColumnData>> callback);
void getColumns(TRId trId, AsyncCallback<ArrayList<ColumnData>> callback); void getColumns(TRId trId, AsyncCallback<ArrayList<ColumnData>> callback);
void getColumnsForDimension(TRId trId, AsyncCallback<ArrayList<ColumnData>> callback);
void getColumn(TRId trId, String columnName, AsyncCallback<ColumnData> callback); void getColumnsForDimension(TRId trId,
void getColumn(String columnLocalId,TRId trId, AsyncCallback<ColumnData> callback); 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); void getConnection(RefColumn refColumn, AsyncCallback<ColumnData> callback);
// Task // Task
void startTaskResubmit(TaskResubmitSession taskResubmitSession,AsyncCallback<String> callback); void startTaskResubmit(TaskResubmitSession taskResubmitSession,
void startTaskResume(TaskResumeSession taskResumeSession,AsyncCallback<String> callback); AsyncCallback<String> callback);
void startTaskResume(TaskResumeSession taskResumeSession,
AsyncCallback<String> callback);
// Validations // Validations
void getValidationsTasksMetadata(TRId trId,AsyncCallback<ValidationsTasksMetadata> callback); void getValidationsTasksMetadata(TRId trId,
void getTableValidationsMetadata(TRId trId,AsyncCallback<TabValidationsMetadata> callback); AsyncCallback<ValidationsTasksMetadata> callback);
void getValidationColumns(TRId trId, String columnName, AsyncCallback<ArrayList<ColumnData>> callback);
void getTableValidationsMetadata(TRId trId,
AsyncCallback<TabValidationsMetadata> callback);
void getValidationColumns(TRId trId, String columnName,
AsyncCallback<ArrayList<ColumnData>> callback);
// RollBack // RollBack
void startRollBack(RollBackSession rollBackSession,AsyncCallback<String> callback); void startRollBack(RollBackSession rollBackSession,
AsyncCallback<String> callback);
void startDiscard(TRId trId, AsyncCallback<String> callback); void startDiscard(TRId trId, AsyncCallback<String> callback);
// Share // Share
@ -129,8 +165,9 @@ public interface TDGWTServiceAsync {
void tdOpen(TDOpenSession tdOpenSession, AsyncCallback<Void> callback); void tdOpen(TDOpenSession tdOpenSession, AsyncCallback<Void> callback);
// Clone // Clone
String startCloneTabularResource(CloneTabularResourceSession cloneTabularResourceSession, AsyncCallback<String> callback); void startCloneTabularResource(
CloneTabularResourceSession cloneTabularResourceSession,
AsyncCallback<String> callback);
// SDMX // SDMX
void getCodelists(AsyncCallback<ArrayList<Codelist>> callback); void getCodelists(AsyncCallback<ArrayList<Codelist>> callback);
@ -139,95 +176,145 @@ public interface TDGWTServiceAsync {
void getAgencies(AsyncCallback<ArrayList<Agencies>> callback); void getAgencies(AsyncCallback<ArrayList<Agencies>> callback);
void setSDMXRegistrySource(SDMXRegistrySource sdmxRegistrySource, AsyncCallback<Void> callback); void setSDMXRegistrySource(SDMXRegistrySource sdmxRegistrySource,
AsyncCallback<Void> callback);
// Import SDMX // Import SDMX
void startSDMXImport(SDMXImportSession sdmxImportSession,AsyncCallback<String> callback); void startSDMXImport(SDMXImportSession sdmxImportSession,
AsyncCallback<String> callback);
// Import CSV // Import CSV
void setCSVSession(CSVImportSession csvImportSession, AsyncCallback<Void> callback); void setCSVSession(CSVImportSession csvImportSession,
AsyncCallback<Void> callback);
void getFileFromWorkspace(CSVImportSession csvImportSession, AsyncCallback<Void> callback); void getFileFromWorkspace(CSVImportSession csvImportSession,
AsyncCallback<Void> callback);
void getAvailableCharset(AsyncCallback<AvailableCharsetList> callback); void getAvailableCharset(AsyncCallback<AvailableCharsetList> callback);
void configureCSVParser(String encoding, HeaderPresence headerPresence, char delimiter, char comment, AsyncCallback<ArrayList<String>> callback); void configureCSVParser(String encoding, HeaderPresence headerPresence,
char delimiter, char comment,
AsyncCallback<ArrayList<String>> callback);
void checkCSV(long errorsLimit, AsyncCallback<CheckCSVSession> callback); void checkCSV(long errorsLimit, AsyncCallback<CheckCSVSession> callback);
void startCSVImport(CSVImportSession csvImportSession, AsyncCallback<String> callback); void startCSVImport(CSVImportSession csvImportSession,
AsyncCallback<String> callback);
// Export CSV // Export CSV
void startCSVExport(CSVExportSession csvExportSession, AsyncCallback<String> callback); void startCSVExport(CSVExportSession csvExportSession,
AsyncCallback<String> callback);
// Export SDMX // Export SDMX
void startSDMXExport(SDMXExportSession exportSession, AsyncCallback<String> callback); void startSDMXExport(SDMXExportSession exportSession,
AsyncCallback<String> callback);
// Table Operation // Table Operation
void startChangeTableType(ChangeTableTypeSession changeTableTypeSession,AsyncCallback<String> callback); void startChangeTableType(ChangeTableTypeSession changeTableTypeSession,
AsyncCallback<String> callback);
void startUnion(UnionSession unionSession, AsyncCallback<String> callback); void startUnion(UnionSession unionSession, AsyncCallback<String> callback);
// Rows Operation // Rows Operation
void startEditRow(EditRowSession editRowSession,AsyncCallback<String> callback); void startEditRow(EditRowSession editRowSession,
void startDeleteRows(DeleteRowsSession deleteRowsSession,AsyncCallback<String> callback); AsyncCallback<String> callback);
void startDuplicates(DuplicatesSession duplicatesSession,AsyncCallback<String> callback);
void startDeleteRows(DeleteRowsSession deleteRowsSession,
AsyncCallback<String> callback);
void startDuplicates(DuplicatesSession duplicatesSession,
AsyncCallback<String> callback);
// Column Operation // Column Operation
void startChangeColumnType(ChangeColumnTypeSession changeColumnTypeSession,AsyncCallback<String> callback); void startChangeColumnType(ChangeColumnTypeSession changeColumnTypeSession,
void startAddColumn(AddColumnSession addColumnSession,AsyncCallback<String> callback); AsyncCallback<String> callback);
void startDeleteColumn(DeleteColumnSession deleteColumnSession,AsyncCallback<String> callback);
void startLabelColumn(LabelColumnSession labelColumnSession,AsyncCallback<String> callback);
/*void startSplitColumn(SplitColumnSession splitColumnSession,AsyncCallback<Void> callback);*/ void startAddColumn(AddColumnSession addColumnSession,
/*void startSplitColumn(MergeColumnSession mergeColumnSession,AsyncCallback<Void> callback); */ AsyncCallback<String> callback);
/*void startGroupBy(GroupBySession groupBySession,AsyncCallback<Void> callback);*/
void startDeleteColumn(DeleteColumnSession deleteColumnSession,
AsyncCallback<String> callback);
void startLabelColumn(LabelColumnSession labelColumnSession,
AsyncCallback<String> callback);
/*
* void startSplitColumn(SplitColumnSession
* splitColumnSession,AsyncCallback<Void> callback);
*/
/*
* void startSplitColumn(MergeColumnSession
* mergeColumnSession,AsyncCallback<Void> callback);
*/
/*
* void startGroupBy(GroupBySession groupBySession,AsyncCallback<Void>
* callback);
*/
// BatchReplace Operation // BatchReplace Operation
void getOccurrencesForBatchReplace(OccurrencesForReplaceBatchColumnSession occurrencesForReplaceBatchColumnSession, AsyncCallback<ArrayList<Occurrences>> callback); void getOccurrencesForBatchReplace(
void startReplaceBatchColumn(ReplaceBatchColumnSession replaceBatchColumnSession,AsyncCallback<String> callback); OccurrencesForReplaceBatchColumnSession occurrencesForReplaceBatchColumnSession,
AsyncCallback<ArrayList<Occurrences>> callback);
void startReplaceBatchColumn(
ReplaceBatchColumnSession replaceBatchColumnSession,
AsyncCallback<String> callback);
// Replace Operation // Replace Operation
void startReplaceColumn(ReplaceColumnSession replaceColumnSession,AsyncCallback<String> callback); void startReplaceColumn(ReplaceColumnSession replaceColumnSession,
AsyncCallback<String> callback);
// Templates // Templates
void getTemplates(AsyncCallback<ArrayList<TemplateData>> callback); void getTemplates(AsyncCallback<ArrayList<TemplateData>> callback);
void startTemplateApply(TemplateApplySession templateDeleteSession,AsyncCallback<String> callback);
void templateDelete(TemplateDeleteSession templateDeleteSession,AsyncCallback<Void> callback); void startTemplateApply(TemplateApplySession templateDeleteSession,
AsyncCallback<String> callback);
void templateDelete(TemplateDeleteSession templateDeleteSession,
AsyncCallback<Void> callback);
// Locales // Locales
void getLocales(AsyncCallback<ArrayList<String>> callback); void getLocales(AsyncCallback<ArrayList<String>> callback);
// History // History
void getHistory(AsyncCallback<ArrayList<OpHistory>> callback); void getHistory(AsyncCallback<ArrayList<OpHistory>> callback);
void getHistory(TRId trId, AsyncCallback<ArrayList<OpHistory>> callback); void getHistory(TRId trId, AsyncCallback<ArrayList<OpHistory>> callback);
void getLastOperationInfo(AsyncCallback<OpHistory> callback); void getLastOperationInfo(AsyncCallback<OpHistory> callback);
void getLastOperationInfo(TRId trId, AsyncCallback<OpHistory> callback); void getLastOperationInfo(TRId trId, AsyncCallback<OpHistory> callback);
// Helper Extract Codelist // Helper Extract Codelist
void startExtractCodelist(ExtractCodelistSession extractCodelistSession, AsyncCallback<String> callback); void startExtractCodelist(ExtractCodelistSession extractCodelistSession,
AsyncCallback<String> callback);
// Helper Codelist Mapping Import // Helper Codelist Mapping Import
void setCodelistMappingSession(CodelistMappingSession codelistMappingSession, AsyncCallback<Void> callback); void setCodelistMappingSession(
void getFileFromWorkspace(CodelistMappingSession codelistMappingSession, AsyncCallback<Void> callback); CodelistMappingSession codelistMappingSession,
void startCodelistMappingImport(CodelistMappingSession codelistMappingSession, AsyncCallback<String> callback); AsyncCallback<Void> callback);
void getFileFromWorkspace(CodelistMappingSession codelistMappingSession,
AsyncCallback<Void> callback);
void startCodelistMappingImport(
CodelistMappingSession codelistMappingSession,
AsyncCallback<String> callback);
// Normalization // Normalization
void startNormalization(NormalizationSession normalizationSession, AsyncCallback<String> callback); void startNormalization(NormalizationSession normalizationSession,
AsyncCallback<String> callback);
// Denormalization // Denormalization
void startDenormalization(DenormalizationSession denormalizationSession, AsyncCallback<String> callback); void startDenormalization(DenormalizationSession denormalizationSession,
AsyncCallback<String> callback);
// Operation Monitor // Operation Monitor
void getOperationMonitor(OperationMonitorSession operationMonitorSession, AsyncCallback<OperationMonitor> callback); void getOperationMonitor(OperationMonitorSession operationMonitorSession,
AsyncCallback<OperationMonitor> callback);
// File Upload Monitor // File Upload Monitor
void getFileUploadMonitor(AsyncCallback<FileUploadMonitor> callback); void getFileUploadMonitor(AsyncCallback<FileUploadMonitor> callback);
} }