Updated OperationMonitor
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@99240 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
29584b59c7
commit
b1460ad4e8
|
@ -7,9 +7,7 @@ import java.util.ArrayList;
|
||||||
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.codelisthelper.CodelistMappingSession;
|
import org.gcube.portlets.user.td.gwtservice.shared.codelisthelper.CodelistMappingSession;
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.csv.AvailableCharsetList;
|
import org.gcube.portlets.user.td.gwtservice.shared.csv.AvailableCharsetList;
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.csv.CSVExportMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.csv.CSVExportSession;
|
import org.gcube.portlets.user.td.gwtservice.shared.csv.CSVExportSession;
|
||||||
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.CSVImportSession;
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.csv.CheckCSVSession;
|
import org.gcube.portlets.user.td.gwtservice.shared.csv.CheckCSVSession;
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.exception.TDGWTServiceException;
|
import org.gcube.portlets.user.td.gwtservice.shared.exception.TDGWTServiceException;
|
||||||
|
@ -18,33 +16,9 @@ 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.file.HeaderPresence;
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.history.OpHistory;
|
import org.gcube.portlets.user.td.gwtservice.shared.history.OpHistory;
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.history.RollBackSession;
|
import org.gcube.portlets.user.td.gwtservice.shared.history.RollBackSession;
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.monitor.AddColumnMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.monitor.ChangeTableTypeMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.monitor.CloneMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.monitor.CodelistMappingMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.monitor.DeleteColumnMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.monitor.DeleteRowsMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.monitor.DenormalizationMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.monitor.DuplicatesMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.monitor.EditRowMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.monitor.ExtractCodelistMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.monitor.GroupByMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.monitor.LabelColumnMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.monitor.MergeColumnMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.monitor.NormalizationMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.monitor.OperationMonitor;
|
import org.gcube.portlets.user.td.gwtservice.shared.monitor.OperationMonitor;
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.monitor.OperationMonitorSession;
|
import org.gcube.portlets.user.td.gwtservice.shared.monitor.OperationMonitorSession;
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.monitor.ReplaceBatchColumnMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.monitor.ReplaceColumnMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.monitor.RollBackSessionMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.monitor.SplitColumnMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.monitor.TaskResubmitMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.monitor.TaskResumeMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.monitor.TemplateApplyMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.monitor.UnionMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.sdmx.SDMXExportMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.sdmx.SDMXExportSession;
|
import org.gcube.portlets.user.td.gwtservice.shared.sdmx.SDMXExportSession;
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.sdmx.SDMXImportMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.sdmx.SDMXImportSession;
|
import org.gcube.portlets.user.td.gwtservice.shared.sdmx.SDMXImportSession;
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.share.ShareInfo;
|
import org.gcube.portlets.user.td.gwtservice.shared.share.ShareInfo;
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.source.SDMXRegistrySource;
|
import org.gcube.portlets.user.td.gwtservice.shared.source.SDMXRegistrySource;
|
||||||
|
@ -66,7 +40,6 @@ import org.gcube.portlets.user.td.gwtservice.shared.tr.column.AddColumnSession;
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.tr.column.DeleteColumnSession;
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.column.DeleteColumnSession;
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.tr.column.LabelColumnSession;
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.column.LabelColumnSession;
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.tr.column.ReplaceColumnSession;
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.column.ReplaceColumnSession;
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.tr.column.type.ChangeColumnTypeMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.tr.column.type.ChangeColumnTypeSession;
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.column.type.ChangeColumnTypeSession;
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.tr.metadata.TRMetadata;
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.metadata.TRMetadata;
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.tr.normalization.DenormalizationSession;
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.normalization.DenormalizationSession;
|
||||||
|
@ -238,40 +211,24 @@ public interface TDGWTService extends RemoteService {
|
||||||
throws TDGWTServiceException;
|
throws TDGWTServiceException;
|
||||||
|
|
||||||
// Task
|
// Task
|
||||||
/**
|
|
||||||
* Get Operation Monitor during the resubmit task
|
|
||||||
*
|
|
||||||
* @return
|
|
||||||
* @throws TDGWTServiceException
|
|
||||||
*/
|
|
||||||
public TaskResubmitMonitor getTaskResubmitMonitor()
|
|
||||||
throws TDGWTServiceException;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Resubmit task
|
* Resubmit task
|
||||||
*
|
*
|
||||||
* @param taskResubmitSession
|
* @param taskResubmitSession
|
||||||
* @throws TDGWTServiceException
|
|
||||||
*/
|
|
||||||
public void startTaskResubmit(TaskResubmitSession taskResubmitSession)
|
|
||||||
throws TDGWTServiceException;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get Operation Monitor during the resume task
|
|
||||||
*
|
|
||||||
* @return
|
* @return
|
||||||
* @throws TDGWTServiceException
|
* @throws TDGWTServiceException
|
||||||
*/
|
*/
|
||||||
public TaskResumeMonitor getTaskResumeMonitor()
|
public String startTaskResubmit(TaskResubmitSession taskResubmitSession)
|
||||||
throws TDGWTServiceException;
|
throws TDGWTServiceException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Resume task
|
* Resume task
|
||||||
*
|
*
|
||||||
* @param taskResumeSession
|
* @param taskResumeSession
|
||||||
|
* @return
|
||||||
* @throws TDGWTServiceException
|
* @throws TDGWTServiceException
|
||||||
*/
|
*/
|
||||||
public void startTaskResume(TaskResumeSession taskResumeSession)
|
public String startTaskResume(TaskResumeSession taskResumeSession)
|
||||||
throws TDGWTServiceException;
|
throws TDGWTServiceException;
|
||||||
|
|
||||||
// Validations
|
// Validations
|
||||||
|
@ -314,16 +271,7 @@ public interface TDGWTService extends RemoteService {
|
||||||
* @param rollBackSession
|
* @param rollBackSession
|
||||||
* @throws TDGWTServiceException
|
* @throws TDGWTServiceException
|
||||||
*/
|
*/
|
||||||
public void rollBack(RollBackSession rollBackSession)
|
public String startRollBack(RollBackSession rollBackSession)
|
||||||
throws TDGWTServiceException;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get Operation Monitor during the rollback
|
|
||||||
*
|
|
||||||
* @return
|
|
||||||
* @throws TDGWTServiceException
|
|
||||||
*/
|
|
||||||
public RollBackSessionMonitor getRollBackMonitor()
|
|
||||||
throws TDGWTServiceException;
|
throws TDGWTServiceException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -377,21 +325,13 @@ public interface TDGWTService extends RemoteService {
|
||||||
/**
|
/**
|
||||||
* Start clone tabular resource
|
* Start clone tabular resource
|
||||||
*
|
*
|
||||||
* @param labelColumnSession
|
* @param cloneTabularResourceSession
|
||||||
* @throws TDGWTServiceException
|
|
||||||
*/
|
|
||||||
public void startCloneTabularResource(
|
|
||||||
CloneTabularResourceSession cloneTabularResourceSession)
|
|
||||||
throws TDGWTServiceException;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get Operation Monitor during the Clone operation
|
|
||||||
*
|
|
||||||
* @return
|
* @return
|
||||||
* @throws TDGWTServiceException
|
* @throws TDGWTServiceException
|
||||||
*/
|
*/
|
||||||
public CloneMonitor getCloneMonitor() throws TDGWTServiceException;
|
public String startCloneTabularResource(
|
||||||
|
CloneTabularResourceSession cloneTabularResourceSession)
|
||||||
|
throws TDGWTServiceException;
|
||||||
|
|
||||||
//
|
//
|
||||||
/**
|
/**
|
||||||
|
@ -418,7 +358,7 @@ public interface TDGWTService extends RemoteService {
|
||||||
* @param s
|
* @param s
|
||||||
* @throws TDGWTServiceException
|
* @throws TDGWTServiceException
|
||||||
*/
|
*/
|
||||||
public void startTDOpen(TDOpenSession tdOpenSession)
|
public void tdOpen(TDOpenSession tdOpenSession)
|
||||||
throws TDGWTServiceException;
|
throws TDGWTServiceException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -513,31 +453,14 @@ public interface TDGWTService extends RemoteService {
|
||||||
/**
|
/**
|
||||||
* Start SDMX Import and invokes the client library
|
* Start SDMX Import and invokes the client library
|
||||||
*
|
*
|
||||||
* @param s
|
* @param sdmxImportSession
|
||||||
* @throws TDGWTServiceException
|
|
||||||
*/
|
|
||||||
public void startSDMXImport(SDMXImportSession sdmxImportSession)
|
|
||||||
throws TDGWTServiceException;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get Operation Monitor during the SDMX Import operation
|
|
||||||
*
|
|
||||||
* @return
|
* @return
|
||||||
* @throws TDGWTServiceException
|
* @throws TDGWTServiceException
|
||||||
*/
|
*/
|
||||||
public SDMXImportMonitor getSDMXImportMonitor()
|
public String startSDMXImport(SDMXImportSession sdmxImportSession)
|
||||||
throws TDGWTServiceException;
|
|
||||||
|
|
||||||
// Import CSV
|
|
||||||
/**
|
|
||||||
* Get File Upload Monitor during the file upload operation in Import CSV
|
|
||||||
*
|
|
||||||
* @return
|
|
||||||
* @throws TDGWTServiceException
|
|
||||||
*/
|
|
||||||
public FileUploadMonitor getFileUploadMonitor()
|
|
||||||
throws TDGWTServiceException;
|
throws TDGWTServiceException;
|
||||||
|
|
||||||
|
// CSV Import
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param s
|
* @param s
|
||||||
|
@ -590,238 +513,140 @@ public interface TDGWTService extends RemoteService {
|
||||||
* @param s
|
* @param s
|
||||||
* @throws TDGWTServiceException
|
* @throws TDGWTServiceException
|
||||||
*/
|
*/
|
||||||
public void startCSVImport(CSVImportSession csvImportSession)
|
public String startCSVImport(CSVImportSession csvImportSession)
|
||||||
throws TDGWTServiceException;
|
throws TDGWTServiceException;
|
||||||
|
|
||||||
/**
|
|
||||||
* Get Operation Monitor during the CSV Import operation
|
|
||||||
*
|
|
||||||
* @return
|
|
||||||
* @throws TDGWTServiceException
|
|
||||||
*/
|
|
||||||
public CSVImportMonitor getCSVImportMonitor() throws TDGWTServiceException;
|
|
||||||
|
|
||||||
// Export CSV
|
// Export CSV
|
||||||
/**
|
|
||||||
* Get Operation Monitor during the CSV Export operation
|
|
||||||
*
|
|
||||||
* @return
|
|
||||||
* @throws TDGWTServiceException
|
|
||||||
*/
|
|
||||||
public CSVExportMonitor getCSVExportMonitor() throws TDGWTServiceException;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Start CSV Export and invokes the client library
|
* Start CSV Export and invokes the client library
|
||||||
*
|
*
|
||||||
* @param csvExportSession
|
* @param csvExportSession
|
||||||
|
* @return
|
||||||
* @throws TDGWTServiceException
|
* @throws TDGWTServiceException
|
||||||
*/
|
*/
|
||||||
public void startCSVExport(CSVExportSession csvExportSession)
|
public String startCSVExport(CSVExportSession csvExportSession)
|
||||||
throws TDGWTServiceException;
|
throws TDGWTServiceException;
|
||||||
|
|
||||||
// Export SDMX
|
// Export SDMX
|
||||||
/**
|
/**
|
||||||
* Get Operation Monitor during the SDMX Export operation
|
* Start SDMX Export and invokes the client library
|
||||||
*
|
*
|
||||||
|
* @param exportSession
|
||||||
* @return
|
* @return
|
||||||
* @throws TDGWTServiceException
|
* @throws TDGWTServiceException
|
||||||
*/
|
*/
|
||||||
public SDMXExportMonitor getSDMXExportMonitor()
|
public String startSDMXExport(SDMXExportSession exportSession)
|
||||||
throws TDGWTServiceException;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Start SDMX Export and invokes the client library
|
|
||||||
*
|
|
||||||
* @param sdmxExportSession
|
|
||||||
* @throws TDGWTServiceException
|
|
||||||
*/
|
|
||||||
public void startSDMXExport(SDMXExportSession exportSession)
|
|
||||||
throws TDGWTServiceException;
|
throws TDGWTServiceException;
|
||||||
|
|
||||||
// Table Operations
|
// Table Operations
|
||||||
/**
|
|
||||||
* Get Operation Monitor during the Change Table Type operation
|
|
||||||
*
|
|
||||||
*
|
|
||||||
* @return
|
|
||||||
* @throws TDGWTServiceException
|
|
||||||
*/
|
|
||||||
public ChangeTableTypeMonitor getChangeTableTypeMonitor()
|
|
||||||
throws TDGWTServiceException;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Start change table type
|
* Start change table type
|
||||||
*
|
*
|
||||||
* @param labelColumnSession
|
* @param changeTableTypeSession
|
||||||
* @throws TDGWTServiceException
|
|
||||||
*/
|
|
||||||
public void startChangeTableType(
|
|
||||||
ChangeTableTypeSession changeTableTypeSession)
|
|
||||||
throws TDGWTServiceException;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get Operation Monitor during the union operation
|
|
||||||
*
|
|
||||||
* @return
|
* @return
|
||||||
* @throws TDGWTServiceException
|
* @throws TDGWTServiceException
|
||||||
*/
|
*/
|
||||||
public UnionMonitor getUnionMonitor() throws TDGWTServiceException;
|
public String startChangeTableType(
|
||||||
|
ChangeTableTypeSession changeTableTypeSession)
|
||||||
|
throws TDGWTServiceException;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Start Union and invokes the client library
|
* Start Union and invokes the client library
|
||||||
*
|
*
|
||||||
* @param unionSession
|
* @param unionSession
|
||||||
|
* @return
|
||||||
* @throws TDGWTServiceException
|
* @throws TDGWTServiceException
|
||||||
*/
|
*/
|
||||||
public void startUnion(UnionSession unionSession)
|
public String startUnion(UnionSession unionSession)
|
||||||
throws TDGWTServiceException;
|
throws TDGWTServiceException;
|
||||||
|
|
||||||
// Rows Operations
|
// Rows Operations
|
||||||
/**
|
|
||||||
* Get Operation Monitor during the Edit Row operation
|
|
||||||
*
|
|
||||||
*
|
|
||||||
* @return
|
|
||||||
* @throws TDGWTServiceException
|
|
||||||
*/
|
|
||||||
public EditRowMonitor getEditRowMonitor() throws TDGWTServiceException;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Start edit row or add row
|
* Start edit row or add row
|
||||||
*
|
*
|
||||||
* @param labelColumnSession
|
* @param editRowSession
|
||||||
* @throws TDGWTServiceException
|
|
||||||
*/
|
|
||||||
public void startEditRow(EditRowSession editRowSession)
|
|
||||||
throws TDGWTServiceException;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get Operation Monitor during the Delete Rows operation
|
|
||||||
*
|
|
||||||
*
|
|
||||||
* @return
|
* @return
|
||||||
* @throws TDGWTServiceException
|
* @throws TDGWTServiceException
|
||||||
*/
|
*/
|
||||||
public DeleteRowsMonitor getDeleteRowsMonitor()
|
public String startEditRow(EditRowSession editRowSession)
|
||||||
throws TDGWTServiceException;
|
throws TDGWTServiceException;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Start delete rows
|
* Start delete rows
|
||||||
*
|
*
|
||||||
* @param labelColumnSession
|
* @param deleteRowsSession
|
||||||
* @throws TDGWTServiceException
|
|
||||||
*/
|
|
||||||
public void startDeleteRows(DeleteRowsSession deleteRowsSession)
|
|
||||||
throws TDGWTServiceException;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get Operation Monitor during the operation on duplicates
|
|
||||||
*
|
|
||||||
*
|
|
||||||
* @return
|
* @return
|
||||||
* @throws TDGWTServiceException
|
* @throws TDGWTServiceException
|
||||||
*/
|
*/
|
||||||
public DuplicatesMonitor getDuplicatesMonitor()
|
public String startDeleteRows(DeleteRowsSession deleteRowsSession)
|
||||||
throws TDGWTServiceException;
|
throws TDGWTServiceException;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Start operation on duplicates
|
* Start operation on duplicates
|
||||||
*
|
*
|
||||||
* @param labelColumnSession
|
* @param duplicatesSession
|
||||||
|
* @return
|
||||||
* @throws TDGWTServiceException
|
* @throws TDGWTServiceException
|
||||||
*/
|
*/
|
||||||
public void startDuplicates(DuplicatesSession duplicatesSession)
|
public String startDuplicates(DuplicatesSession duplicatesSession)
|
||||||
throws TDGWTServiceException;
|
throws TDGWTServiceException;
|
||||||
|
|
||||||
// Column Operation
|
// Column Operation
|
||||||
|
|
||||||
/**
|
|
||||||
* Get Operation Monitor during the Change Column Type operation
|
|
||||||
*
|
|
||||||
* @return
|
|
||||||
* @throws TDGWTServiceException
|
|
||||||
*/
|
|
||||||
public ChangeColumnTypeMonitor getChangeColumnTypeMonitor()
|
|
||||||
throws TDGWTServiceException;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Start change column type
|
* Start change column type
|
||||||
*
|
*
|
||||||
|
*
|
||||||
* @param changeColumnTypeSession
|
* @param changeColumnTypeSession
|
||||||
* @throws TDGWTServiceException
|
|
||||||
*/
|
|
||||||
public void startChangeColumnType(
|
|
||||||
ChangeColumnTypeSession changeColumnTypeSession)
|
|
||||||
throws TDGWTServiceException;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get Operation Monitor during the Add Column operation
|
|
||||||
*
|
|
||||||
*
|
|
||||||
* @return
|
* @return
|
||||||
* @throws TDGWTServiceException
|
* @throws TDGWTServiceException
|
||||||
*/
|
*/
|
||||||
public AddColumnMonitor getAddColumnMonitor() throws TDGWTServiceException;
|
public String startChangeColumnType(
|
||||||
|
ChangeColumnTypeSession changeColumnTypeSession)
|
||||||
|
throws TDGWTServiceException;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Start add column
|
* Start add column
|
||||||
*
|
*
|
||||||
*
|
|
||||||
* @param addColumnSession
|
* @param addColumnSession
|
||||||
* @throws TDGWTServiceException
|
|
||||||
*/
|
|
||||||
public void startAddColumn(AddColumnSession addColumnSession)
|
|
||||||
throws TDGWTServiceException;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get Operation Monitor during the Delete Column operation
|
|
||||||
*
|
|
||||||
*
|
|
||||||
* @return
|
* @return
|
||||||
* @throws TDGWTServiceException
|
* @throws TDGWTServiceException
|
||||||
*/
|
*/
|
||||||
public DeleteColumnMonitor getDeleteColumnMonitor()
|
public String startAddColumn(AddColumnSession addColumnSession)
|
||||||
throws TDGWTServiceException;
|
throws TDGWTServiceException;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Start delete column
|
* Start delete column
|
||||||
*
|
*
|
||||||
*
|
|
||||||
* @param deleteColumnSession
|
* @param deleteColumnSession
|
||||||
* @throws TDGWTServiceException
|
|
||||||
*/
|
|
||||||
public void startDeleteColumn(DeleteColumnSession deleteColumnSession)
|
|
||||||
throws TDGWTServiceException;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get Operation Monitor during the Change the Column Label operation
|
|
||||||
*
|
|
||||||
*
|
|
||||||
* @return
|
* @return
|
||||||
* @throws TDGWTServiceException
|
* @throws TDGWTServiceException
|
||||||
*/
|
*/
|
||||||
public LabelColumnMonitor getLabelColumnMonitor()
|
public String startDeleteColumn(DeleteColumnSession deleteColumnSession)
|
||||||
throws TDGWTServiceException;
|
throws TDGWTServiceException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Start change the column label
|
* Start change the column label
|
||||||
*
|
*
|
||||||
* @param labelColumnSession
|
* @param labelColumnSession
|
||||||
* @throws TDGWTServiceException
|
|
||||||
*/
|
|
||||||
public void startLabelColumn(LabelColumnSession labelColumnSession)
|
|
||||||
throws TDGWTServiceException;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get Operation Monitor during the Split Column operation
|
|
||||||
*
|
|
||||||
*
|
|
||||||
* @return
|
* @return
|
||||||
* @throws TDGWTServiceException
|
* @throws TDGWTServiceException
|
||||||
*/
|
*/
|
||||||
public SplitColumnMonitor getSplitColumnMonitor()
|
public String startLabelColumn(LabelColumnSession labelColumnSession)
|
||||||
throws TDGWTServiceException;
|
throws TDGWTServiceException;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Start split column
|
* Start split column
|
||||||
*
|
*
|
||||||
|
@ -832,15 +657,7 @@ public interface TDGWTService extends RemoteService {
|
||||||
* splitColumnSession) throws TDGWTServiceException;
|
* splitColumnSession) throws TDGWTServiceException;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
|
||||||
* Get Operation Monitor during the Merge Column operation
|
|
||||||
*
|
|
||||||
*
|
|
||||||
* @return
|
|
||||||
* @throws TDGWTServiceException
|
|
||||||
*/
|
|
||||||
public MergeColumnMonitor getMergeColumnMonitor()
|
|
||||||
throws TDGWTServiceException;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Start merge column
|
* Start merge column
|
||||||
|
@ -852,14 +669,7 @@ public interface TDGWTService extends RemoteService {
|
||||||
* mergeColumnSession) throws TDGWTServiceException;
|
* mergeColumnSession) throws TDGWTServiceException;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
|
||||||
* Get Operation Monitor during the Group By operation
|
|
||||||
*
|
|
||||||
*
|
|
||||||
* @return
|
|
||||||
* @throws TDGWTServiceException
|
|
||||||
*/
|
|
||||||
public GroupByMonitor getGroupByMonitor() throws TDGWTServiceException;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Start group by
|
* Start group by
|
||||||
|
@ -884,44 +694,27 @@ public interface TDGWTService extends RemoteService {
|
||||||
OccurrencesForReplaceBatchColumnSession occurrencesForReplaceBatchColumnSession)
|
OccurrencesForReplaceBatchColumnSession occurrencesForReplaceBatchColumnSession)
|
||||||
throws TDGWTServiceException;
|
throws TDGWTServiceException;
|
||||||
|
|
||||||
/**
|
|
||||||
* Get Operation Monitor during the batch replace on column
|
|
||||||
*
|
|
||||||
*
|
|
||||||
* @return
|
|
||||||
* @throws TDGWTServiceException
|
|
||||||
*/
|
|
||||||
public ReplaceBatchColumnMonitor getReplaceBatchColumnMonitor()
|
|
||||||
throws TDGWTServiceException;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Start batch replace on column
|
* Start batch replace on column
|
||||||
*
|
*
|
||||||
* @param replaceBatchColumnSession
|
* @param replaceBatchColumnSession
|
||||||
|
* @return
|
||||||
* @throws TDGWTServiceException
|
* @throws TDGWTServiceException
|
||||||
*/
|
*/
|
||||||
public void startReplaceBatchColumn(
|
public String startReplaceBatchColumn(
|
||||||
ReplaceBatchColumnSession replaceBatchColumnSession)
|
ReplaceBatchColumnSession replaceBatchColumnSession)
|
||||||
throws TDGWTServiceException;
|
throws TDGWTServiceException;
|
||||||
|
|
||||||
// Replace Operation
|
// Replace Operation
|
||||||
/**
|
/**
|
||||||
* Get Operation Monitor during the replace the Column Value operation
|
* Start replace the column value
|
||||||
*
|
|
||||||
*
|
*
|
||||||
|
* @param replaceColumnSession
|
||||||
* @return
|
* @return
|
||||||
* @throws TDGWTServiceException
|
* @throws TDGWTServiceException
|
||||||
*/
|
*/
|
||||||
public ReplaceColumnMonitor getReplaceColumnMonitor()
|
public String startReplaceColumn(ReplaceColumnSession replaceColumnSession)
|
||||||
throws TDGWTServiceException;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Start replace the column value
|
|
||||||
*
|
|
||||||
* @param labelColumnSession
|
|
||||||
* @throws TDGWTServiceException
|
|
||||||
*/
|
|
||||||
public void startReplaceColumn(ReplaceColumnSession replaceColumnSession)
|
|
||||||
throws TDGWTServiceException;
|
throws TDGWTServiceException;
|
||||||
|
|
||||||
// Templates
|
// Templates
|
||||||
|
@ -934,22 +727,16 @@ public interface TDGWTService extends RemoteService {
|
||||||
*/
|
*/
|
||||||
public ArrayList<TemplateData> getTemplates() throws TDGWTServiceException;
|
public ArrayList<TemplateData> getTemplates() throws TDGWTServiceException;
|
||||||
|
|
||||||
/**
|
|
||||||
* Get Operation Monitor during Apply Template operation
|
|
||||||
*
|
|
||||||
* @return
|
|
||||||
* @throws TDGWTServiceException
|
|
||||||
*/
|
|
||||||
public TemplateApplyMonitor getTemplateApplyMonitor()
|
|
||||||
throws TDGWTServiceException;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Start Apply Template
|
* Start Apply Template
|
||||||
*
|
*
|
||||||
* @param templateApplySession
|
* @param templateApplySession
|
||||||
|
* @return
|
||||||
* @throws TDGWTServiceException
|
* @throws TDGWTServiceException
|
||||||
*/
|
*/
|
||||||
void startTemplateApply(TemplateApplySession templateApplySession)
|
public String startTemplateApply(TemplateApplySession templateApplySession)
|
||||||
throws TDGWTServiceException;
|
throws TDGWTServiceException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -958,7 +745,7 @@ public interface TDGWTService extends RemoteService {
|
||||||
* @param templateDeleteSession
|
* @param templateDeleteSession
|
||||||
* @throws TDGWTServiceException
|
* @throws TDGWTServiceException
|
||||||
*/
|
*/
|
||||||
void startTemplateDelete(TemplateDeleteSession templateDeleteSession)
|
public void templateDelete(TemplateDeleteSession templateDeleteSession)
|
||||||
throws TDGWTServiceException;
|
throws TDGWTServiceException;
|
||||||
|
|
||||||
// Locales
|
// Locales
|
||||||
|
@ -968,7 +755,7 @@ public interface TDGWTService extends RemoteService {
|
||||||
* @return
|
* @return
|
||||||
* @throws TDGWTServiceException
|
* @throws TDGWTServiceException
|
||||||
*/
|
*/
|
||||||
ArrayList<String> getLocales() throws TDGWTServiceException;
|
public ArrayList<String> getLocales() throws TDGWTServiceException;
|
||||||
|
|
||||||
// History
|
// History
|
||||||
/**
|
/**
|
||||||
|
@ -977,7 +764,7 @@ public interface TDGWTService extends RemoteService {
|
||||||
* @return
|
* @return
|
||||||
* @throws TDGWTServiceException
|
* @throws TDGWTServiceException
|
||||||
*/
|
*/
|
||||||
ArrayList<OpHistory> getHistory() throws TDGWTServiceException;
|
public ArrayList<OpHistory> getHistory() throws TDGWTServiceException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Retrieve History for specific tabular resource
|
* Retrieve History for specific tabular resource
|
||||||
|
@ -986,14 +773,15 @@ public interface TDGWTService extends RemoteService {
|
||||||
* @return
|
* @return
|
||||||
* @throws TDGWTServiceException
|
* @throws TDGWTServiceException
|
||||||
*/
|
*/
|
||||||
ArrayList<OpHistory> getHistory(TRId trId) throws TDGWTServiceException;
|
public ArrayList<OpHistory> getHistory(TRId trId)
|
||||||
|
throws TDGWTServiceException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @return
|
* @return
|
||||||
* @throws TDGWTServiceException
|
* @throws TDGWTServiceException
|
||||||
*/
|
*/
|
||||||
OpHistory getLastOperationInfo() throws TDGWTServiceException;
|
public OpHistory getLastOperationInfo() throws TDGWTServiceException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@ -1001,84 +789,77 @@ public interface TDGWTService extends RemoteService {
|
||||||
* @return
|
* @return
|
||||||
* @throws TDGWTServiceException
|
* @throws TDGWTServiceException
|
||||||
*/
|
*/
|
||||||
OpHistory getLastOperationInfo(TRId trId) throws TDGWTServiceException;
|
public OpHistory getLastOperationInfo(TRId trId)
|
||||||
|
throws TDGWTServiceException;
|
||||||
|
|
||||||
// Helper Extract Codelist
|
// Helper Extract Codelist
|
||||||
/**
|
/**
|
||||||
* Get Operation Monitor during the Extract Codelist operation
|
* Start Extract Codelist and invokes the client library
|
||||||
*
|
*
|
||||||
|
*
|
||||||
|
* @param extractCodelistSession
|
||||||
* @return
|
* @return
|
||||||
* @throws TDGWTServiceException
|
* @throws TDGWTServiceException
|
||||||
*/
|
*/
|
||||||
public ExtractCodelistMonitor getExtractCodelistMonitor()
|
public String startExtractCodelist(
|
||||||
throws TDGWTServiceException;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Start Extract Codelist and invokes the client library
|
|
||||||
*
|
|
||||||
* @param extractCodelistSession
|
|
||||||
* @throws TDGWTServiceException
|
|
||||||
*/
|
|
||||||
public void startExtractCodelist(
|
|
||||||
ExtractCodelistSession extractCodelistSession)
|
ExtractCodelistSession extractCodelistSession)
|
||||||
throws TDGWTServiceException;
|
throws TDGWTServiceException;
|
||||||
|
|
||||||
// Helper Codelist Mapping Import
|
// Helper Codelist Mapping Import
|
||||||
public CodelistMappingMonitor getCodelistMappingMonitor()
|
/**
|
||||||
throws TDGWTServiceException;
|
*
|
||||||
|
* @param codelistMappingSession
|
||||||
|
* @throws TDGWTServiceException
|
||||||
|
*/
|
||||||
public void setCodelistMappingSession(
|
public void setCodelistMappingSession(
|
||||||
CodelistMappingSession codelistMappingSession)
|
CodelistMappingSession codelistMappingSession)
|
||||||
throws TDGWTServiceException;
|
throws TDGWTServiceException;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @param codelistMappingSession
|
||||||
|
* @throws TDGWTServiceException
|
||||||
|
*/
|
||||||
public void getFileFromWorkspace(
|
public void getFileFromWorkspace(
|
||||||
CodelistMappingSession codelistMappingSession)
|
CodelistMappingSession codelistMappingSession)
|
||||||
throws TDGWTServiceException;
|
throws TDGWTServiceException;
|
||||||
|
|
||||||
public void startCodelistMappingImport(
|
|
||||||
|
/**
|
||||||
|
* Start Codelist Mapping Import
|
||||||
|
*
|
||||||
|
* @param codelistMappingSession
|
||||||
|
* @return
|
||||||
|
* @throws TDGWTServiceException
|
||||||
|
*/
|
||||||
|
public String startCodelistMappingImport(
|
||||||
CodelistMappingSession codelistMappingSession)
|
CodelistMappingSession codelistMappingSession)
|
||||||
throws TDGWTServiceException;
|
throws TDGWTServiceException;
|
||||||
|
|
||||||
// Normalization
|
// Normalization
|
||||||
/**
|
|
||||||
* Get Operation Monitor during the Normalization operation
|
|
||||||
*
|
|
||||||
* @return
|
|
||||||
* @throws TDGWTServiceException
|
|
||||||
*/
|
|
||||||
public NormalizationMonitor getNormalizationMonitor()
|
|
||||||
throws TDGWTServiceException;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Start Normalization and invokes the client library
|
* Start Normalization and invokes the client library
|
||||||
*
|
*
|
||||||
* @param normalizationSession
|
* @param normalizationSession
|
||||||
|
* @return
|
||||||
* @throws TDGWTServiceException
|
* @throws TDGWTServiceException
|
||||||
*/
|
*/
|
||||||
public void startNormalization(NormalizationSession normalizationSession)
|
public String startNormalization(NormalizationSession normalizationSession)
|
||||||
throws TDGWTServiceException;
|
throws TDGWTServiceException;
|
||||||
|
|
||||||
// Denormalization
|
// Denormalization
|
||||||
/**
|
/**
|
||||||
* Get Operation Monitor during the denormalization operation
|
* Start Denormalization and invokes the client library
|
||||||
*
|
*
|
||||||
|
*
|
||||||
|
* @param denormalizationSession
|
||||||
* @return
|
* @return
|
||||||
* @throws TDGWTServiceException
|
* @throws TDGWTServiceException
|
||||||
*/
|
*/
|
||||||
public DenormalizationMonitor getDenormalizationMonitor()
|
public String startDenormalization(
|
||||||
throws TDGWTServiceException;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Start Denormalization and invokes the client library
|
|
||||||
*
|
|
||||||
* @param denormalizationSession
|
|
||||||
* @throws TDGWTServiceException
|
|
||||||
*/
|
|
||||||
public void startDenormalization(
|
|
||||||
DenormalizationSession denormalizationSession)
|
DenormalizationSession denormalizationSession)
|
||||||
throws TDGWTServiceException;
|
throws TDGWTServiceException;
|
||||||
|
|
||||||
|
|
||||||
// Operation Monitor
|
// Operation Monitor
|
||||||
/**
|
/**
|
||||||
* Get Operation Monitor
|
* Get Operation Monitor
|
||||||
|
@ -1086,7 +867,18 @@ public interface TDGWTService extends RemoteService {
|
||||||
* @return
|
* @return
|
||||||
* @throws TDGWTServiceException
|
* @throws TDGWTServiceException
|
||||||
*/
|
*/
|
||||||
public OperationMonitor getOperationMonitor(OperationMonitorSession operationMonitorSession)
|
public OperationMonitor getOperationMonitor(
|
||||||
|
OperationMonitorSession operationMonitorSession)
|
||||||
|
throws TDGWTServiceException;
|
||||||
|
|
||||||
|
// File Upload Monitor
|
||||||
|
/**
|
||||||
|
* Get File Upload Monitor during the file upload operation in Import CSV
|
||||||
|
*
|
||||||
|
* @return
|
||||||
|
* @throws TDGWTServiceException
|
||||||
|
*/
|
||||||
|
public FileUploadMonitor getFileUploadMonitor()
|
||||||
throws TDGWTServiceException;
|
throws TDGWTServiceException;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,9 +7,7 @@ import java.util.ArrayList;
|
||||||
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.codelisthelper.CodelistMappingSession;
|
import org.gcube.portlets.user.td.gwtservice.shared.codelisthelper.CodelistMappingSession;
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.csv.AvailableCharsetList;
|
import org.gcube.portlets.user.td.gwtservice.shared.csv.AvailableCharsetList;
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.csv.CSVExportMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.csv.CSVExportSession;
|
import org.gcube.portlets.user.td.gwtservice.shared.csv.CSVExportSession;
|
||||||
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.CSVImportSession;
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.csv.CheckCSVSession;
|
import org.gcube.portlets.user.td.gwtservice.shared.csv.CheckCSVSession;
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.extract.ExtractCodelistSession;
|
import org.gcube.portlets.user.td.gwtservice.shared.extract.ExtractCodelistSession;
|
||||||
|
@ -17,33 +15,9 @@ 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.file.HeaderPresence;
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.history.OpHistory;
|
import org.gcube.portlets.user.td.gwtservice.shared.history.OpHistory;
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.history.RollBackSession;
|
import org.gcube.portlets.user.td.gwtservice.shared.history.RollBackSession;
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.monitor.AddColumnMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.monitor.ChangeTableTypeMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.monitor.CloneMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.monitor.CodelistMappingMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.monitor.DeleteColumnMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.monitor.DeleteRowsMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.monitor.DenormalizationMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.monitor.DuplicatesMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.monitor.EditRowMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.monitor.ExtractCodelistMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.monitor.GroupByMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.monitor.LabelColumnMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.monitor.MergeColumnMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.monitor.OperationMonitorSession;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.monitor.NormalizationMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.monitor.OperationMonitor;
|
import org.gcube.portlets.user.td.gwtservice.shared.monitor.OperationMonitor;
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.monitor.ReplaceBatchColumnMonitor;
|
import org.gcube.portlets.user.td.gwtservice.shared.monitor.OperationMonitorSession;
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.monitor.ReplaceColumnMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.monitor.RollBackSessionMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.monitor.SplitColumnMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.monitor.TaskResubmitMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.monitor.TaskResumeMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.monitor.TemplateApplyMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.monitor.UnionMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.sdmx.SDMXExportMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.sdmx.SDMXExportSession;
|
import org.gcube.portlets.user.td.gwtservice.shared.sdmx.SDMXExportSession;
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.sdmx.SDMXImportMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.sdmx.SDMXImportSession;
|
import org.gcube.portlets.user.td.gwtservice.shared.sdmx.SDMXImportSession;
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.share.ShareInfo;
|
import org.gcube.portlets.user.td.gwtservice.shared.share.ShareInfo;
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.source.SDMXRegistrySource;
|
import org.gcube.portlets.user.td.gwtservice.shared.source.SDMXRegistrySource;
|
||||||
|
@ -65,7 +39,6 @@ import org.gcube.portlets.user.td.gwtservice.shared.tr.column.AddColumnSession;
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.tr.column.DeleteColumnSession;
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.column.DeleteColumnSession;
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.tr.column.LabelColumnSession;
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.column.LabelColumnSession;
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.tr.column.ReplaceColumnSession;
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.column.ReplaceColumnSession;
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.tr.column.type.ChangeColumnTypeMonitor;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.tr.column.type.ChangeColumnTypeSession;
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.column.type.ChangeColumnTypeSession;
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.tr.metadata.TRMetadata;
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.metadata.TRMetadata;
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.tr.normalization.DenormalizationSession;
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.normalization.DenormalizationSession;
|
||||||
|
@ -126,10 +99,8 @@ public interface TDGWTServiceAsync {
|
||||||
void getConnection(RefColumn refColumn, AsyncCallback<ColumnData> callback);
|
void getConnection(RefColumn refColumn, AsyncCallback<ColumnData> callback);
|
||||||
|
|
||||||
//Task
|
//Task
|
||||||
void getTaskResubmitMonitor(AsyncCallback<TaskResubmitMonitor> callback);
|
void startTaskResubmit(TaskResubmitSession taskResubmitSession,AsyncCallback<String> callback);
|
||||||
void startTaskResubmit(TaskResubmitSession taskResubmitSession,AsyncCallback<Void> callback);
|
void startTaskResume(TaskResumeSession taskResumeSession,AsyncCallback<String> callback);
|
||||||
void getTaskResumeMonitor(AsyncCallback<TaskResumeMonitor> callback);
|
|
||||||
void startTaskResume(TaskResumeSession taskResumeSession,AsyncCallback<Void> callback);
|
|
||||||
|
|
||||||
|
|
||||||
//Validations
|
//Validations
|
||||||
|
@ -139,8 +110,7 @@ public interface TDGWTServiceAsync {
|
||||||
|
|
||||||
|
|
||||||
//RollBack
|
//RollBack
|
||||||
void rollBack(RollBackSession rollBackSession,AsyncCallback<Void> callback);
|
void startRollBack(RollBackSession rollBackSession,AsyncCallback<String> callback);
|
||||||
void getRollBackMonitor(AsyncCallback<RollBackSessionMonitor> callback);
|
|
||||||
void discard(TRId trId,AsyncCallback<RollBackSession> callback);
|
void discard(TRId trId,AsyncCallback<RollBackSession> callback);
|
||||||
|
|
||||||
//Share
|
//Share
|
||||||
|
@ -156,11 +126,10 @@ public interface TDGWTServiceAsync {
|
||||||
AsyncCallback<CodelistPagingLoadResult> callback);
|
AsyncCallback<CodelistPagingLoadResult> callback);
|
||||||
|
|
||||||
//Open
|
//Open
|
||||||
void startTDOpen(TDOpenSession tdOpenSession, AsyncCallback<Void> callback);
|
void tdOpen(TDOpenSession tdOpenSession, AsyncCallback<Void> callback);
|
||||||
|
|
||||||
//Clone
|
//Clone
|
||||||
void getCloneMonitor(AsyncCallback<CloneMonitor> callback);
|
String startCloneTabularResource(CloneTabularResourceSession cloneTabularResourceSession, AsyncCallback<String> callback);
|
||||||
void startCloneTabularResource(CloneTabularResourceSession cloneTabularResourceSession, AsyncCallback<Void> callback);
|
|
||||||
|
|
||||||
|
|
||||||
//SDMX
|
//SDMX
|
||||||
|
@ -173,15 +142,10 @@ public interface TDGWTServiceAsync {
|
||||||
void setSDMXRegistrySource(SDMXRegistrySource sdmxRegistrySource, AsyncCallback<Void> callback);
|
void setSDMXRegistrySource(SDMXRegistrySource sdmxRegistrySource, AsyncCallback<Void> callback);
|
||||||
|
|
||||||
//Import SDMX
|
//Import SDMX
|
||||||
void getSDMXImportMonitor(AsyncCallback<SDMXImportMonitor> callback);
|
void startSDMXImport(SDMXImportSession sdmxImportSession,AsyncCallback<String> callback);
|
||||||
|
|
||||||
void startSDMXImport(SDMXImportSession sdmxImportSession,AsyncCallback<Void> callback);
|
|
||||||
|
|
||||||
//File Upload Monitor
|
|
||||||
void getFileUploadMonitor(AsyncCallback<FileUploadMonitor> callback);
|
|
||||||
|
|
||||||
//Import CSV
|
//Import CSV
|
||||||
void getCSVImportMonitor(AsyncCallback<CSVImportMonitor> callback);
|
|
||||||
|
|
||||||
void setCSVSession(CSVImportSession csvImportSession, AsyncCallback<Void> callback);
|
void setCSVSession(CSVImportSession csvImportSession, AsyncCallback<Void> callback);
|
||||||
|
|
||||||
|
@ -193,70 +157,48 @@ public interface TDGWTServiceAsync {
|
||||||
|
|
||||||
void checkCSV(long errorsLimit, AsyncCallback<CheckCSVSession> callback);
|
void checkCSV(long errorsLimit, AsyncCallback<CheckCSVSession> callback);
|
||||||
|
|
||||||
void startCSVImport(CSVImportSession csvImportSession, AsyncCallback<Void> callback);
|
void startCSVImport(CSVImportSession csvImportSession, AsyncCallback<String> callback);
|
||||||
|
|
||||||
//Export CSV
|
//Export CSV
|
||||||
void getCSVExportMonitor(AsyncCallback<CSVExportMonitor> callback);
|
void startCSVExport(CSVExportSession csvExportSession, AsyncCallback<String> callback);
|
||||||
|
|
||||||
void startCSVExport(CSVExportSession csvExportSession, AsyncCallback<Void> callback);
|
|
||||||
|
|
||||||
//Export SDMX
|
//Export SDMX
|
||||||
void getSDMXExportMonitor(AsyncCallback<SDMXExportMonitor> callback);
|
void startSDMXExport(SDMXExportSession exportSession, AsyncCallback<String> callback);
|
||||||
void startSDMXExport(SDMXExportSession exportSession, AsyncCallback<Void> callback);
|
|
||||||
|
|
||||||
|
|
||||||
//Table Operation
|
//Table Operation
|
||||||
void getChangeTableTypeMonitor(AsyncCallback<ChangeTableTypeMonitor> callback);
|
void startChangeTableType(ChangeTableTypeSession changeTableTypeSession,AsyncCallback<String> callback);
|
||||||
void startChangeTableType(ChangeTableTypeSession changeTableTypeSession,AsyncCallback<Void> callback);
|
void startUnion(UnionSession unionSession, AsyncCallback<String> callback);
|
||||||
void getUnionMonitor(AsyncCallback<UnionMonitor> callback);
|
|
||||||
void startUnion(UnionSession unionSession, AsyncCallback<Void> callback);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//Rows Operation
|
//Rows Operation
|
||||||
void getEditRowMonitor(AsyncCallback<EditRowMonitor> callback);
|
void startEditRow(EditRowSession editRowSession,AsyncCallback<String> callback);
|
||||||
void startEditRow(EditRowSession editRowSession,AsyncCallback<Void> callback);
|
void startDeleteRows(DeleteRowsSession deleteRowsSession,AsyncCallback<String> callback);
|
||||||
|
void startDuplicates(DuplicatesSession duplicatesSession,AsyncCallback<String> callback);
|
||||||
void getDeleteRowsMonitor(AsyncCallback<DeleteRowsMonitor> callback);
|
|
||||||
void startDeleteRows(DeleteRowsSession deleteRowsSession,AsyncCallback<Void> callback);
|
|
||||||
|
|
||||||
void getDuplicatesMonitor(AsyncCallback<DuplicatesMonitor> callback);
|
|
||||||
void startDuplicates(DuplicatesSession duplicatesSession,AsyncCallback<Void> callback);
|
|
||||||
|
|
||||||
|
|
||||||
//Column Operation
|
//Column Operation
|
||||||
void getChangeColumnTypeMonitor(AsyncCallback<ChangeColumnTypeMonitor> callback);
|
void startChangeColumnType(ChangeColumnTypeSession changeColumnTypeSession,AsyncCallback<String> callback);
|
||||||
void startChangeColumnType(ChangeColumnTypeSession changeColumnTypeSession,AsyncCallback<Void> callback);
|
void startAddColumn(AddColumnSession addColumnSession,AsyncCallback<String> callback);
|
||||||
void getAddColumnMonitor(AsyncCallback<AddColumnMonitor> callback);
|
void startDeleteColumn(DeleteColumnSession deleteColumnSession,AsyncCallback<String> callback);
|
||||||
void startAddColumn(AddColumnSession addColumnSession,AsyncCallback<Void> callback);
|
void startLabelColumn(LabelColumnSession labelColumnSession,AsyncCallback<String> callback);
|
||||||
void getDeleteColumnMonitor(AsyncCallback<DeleteColumnMonitor> callback);
|
|
||||||
void startDeleteColumn(DeleteColumnSession deleteColumnSession,AsyncCallback<Void> callback);
|
|
||||||
void getLabelColumnMonitor(AsyncCallback<LabelColumnMonitor> callback);
|
|
||||||
void startLabelColumn(LabelColumnSession labelColumnSession,AsyncCallback<Void> callback);
|
|
||||||
|
|
||||||
void getSplitColumnMonitor(AsyncCallback<SplitColumnMonitor> callback);
|
|
||||||
/*void startSplitColumn(SplitColumnSession splitColumnSession,AsyncCallback<Void> callback);*/
|
/*void startSplitColumn(SplitColumnSession splitColumnSession,AsyncCallback<Void> callback);*/
|
||||||
void getMergeColumnMonitor(AsyncCallback<MergeColumnMonitor> callback);
|
|
||||||
/*void startSplitColumn(MergeColumnSession mergeColumnSession,AsyncCallback<Void> callback); */
|
/*void startSplitColumn(MergeColumnSession mergeColumnSession,AsyncCallback<Void> callback); */
|
||||||
void getGroupByMonitor(AsyncCallback<GroupByMonitor> callback);
|
|
||||||
/*void startGroupBy(GroupBySession groupBySession,AsyncCallback<Void> callback);*/
|
/*void startGroupBy(GroupBySession groupBySession,AsyncCallback<Void> callback);*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//BatchReplace Operation
|
//BatchReplace Operation
|
||||||
void getOccurrencesForBatchReplace(OccurrencesForReplaceBatchColumnSession occurrencesForReplaceBatchColumnSession, AsyncCallback<ArrayList<Occurrences>> callback);
|
void getOccurrencesForBatchReplace(OccurrencesForReplaceBatchColumnSession occurrencesForReplaceBatchColumnSession, AsyncCallback<ArrayList<Occurrences>> callback);
|
||||||
void getReplaceBatchColumnMonitor(AsyncCallback<ReplaceBatchColumnMonitor> callback);
|
void startReplaceBatchColumn(ReplaceBatchColumnSession replaceBatchColumnSession,AsyncCallback<String> callback);
|
||||||
void startReplaceBatchColumn(ReplaceBatchColumnSession replaceBatchColumnSession,AsyncCallback<Void> callback);
|
|
||||||
|
|
||||||
//Replace Operation
|
//Replace Operation
|
||||||
void getReplaceColumnMonitor(AsyncCallback<ReplaceColumnMonitor> callback);
|
void startReplaceColumn(ReplaceColumnSession replaceColumnSession,AsyncCallback<String> callback);
|
||||||
void startReplaceColumn(ReplaceColumnSession replaceColumnSession,AsyncCallback<Void> callback);
|
|
||||||
|
|
||||||
//Templates
|
//Templates
|
||||||
void getTemplates(AsyncCallback<ArrayList<TemplateData>> callback);
|
void getTemplates(AsyncCallback<ArrayList<TemplateData>> callback);
|
||||||
void getTemplateApplyMonitor(AsyncCallback<TemplateApplyMonitor> callback);
|
void startTemplateApply(TemplateApplySession templateDeleteSession,AsyncCallback<String> callback);
|
||||||
void startTemplateApply(TemplateApplySession templateDeleteSession,AsyncCallback<Void> callback);
|
void templateDelete(TemplateDeleteSession templateDeleteSession,AsyncCallback<Void> callback);
|
||||||
void startTemplateDelete(TemplateDeleteSession templateDeleteSession,AsyncCallback<Void> callback);
|
|
||||||
|
|
||||||
//Locales
|
//Locales
|
||||||
void getLocales(AsyncCallback<ArrayList<String>> callback);
|
void getLocales(AsyncCallback<ArrayList<String>> callback);
|
||||||
|
@ -268,25 +210,24 @@ public interface TDGWTServiceAsync {
|
||||||
void getLastOperationInfo(TRId trId, AsyncCallback<OpHistory> callback);
|
void getLastOperationInfo(TRId trId, AsyncCallback<OpHistory> callback);
|
||||||
|
|
||||||
//Helper Extract Codelist
|
//Helper Extract Codelist
|
||||||
void getExtractCodelistMonitor(AsyncCallback<ExtractCodelistMonitor> callback);
|
void startExtractCodelist(ExtractCodelistSession extractCodelistSession, AsyncCallback<String> callback);
|
||||||
void startExtractCodelist(ExtractCodelistSession extractCodelistSession, AsyncCallback<Void> callback);
|
|
||||||
|
|
||||||
//Helper Codelist Mapping Import
|
//Helper Codelist Mapping Import
|
||||||
void getCodelistMappingMonitor(AsyncCallback<CodelistMappingMonitor> callback);
|
|
||||||
void setCodelistMappingSession(CodelistMappingSession codelistMappingSession, AsyncCallback<Void> callback);
|
void setCodelistMappingSession(CodelistMappingSession codelistMappingSession, AsyncCallback<Void> callback);
|
||||||
void getFileFromWorkspace(CodelistMappingSession codelistMappingSession, AsyncCallback<Void> callback);
|
void getFileFromWorkspace(CodelistMappingSession codelistMappingSession, AsyncCallback<Void> callback);
|
||||||
void startCodelistMappingImport(CodelistMappingSession codelistMappingSession, AsyncCallback<Void> callback);
|
void startCodelistMappingImport(CodelistMappingSession codelistMappingSession, AsyncCallback<String> callback);
|
||||||
|
|
||||||
//Normalization
|
//Normalization
|
||||||
void getNormalizationMonitor(AsyncCallback<NormalizationMonitor> callback);
|
void startNormalization(NormalizationSession normalizationSession, AsyncCallback<String> callback);
|
||||||
void startNormalization(NormalizationSession normalizationSession, AsyncCallback<Void> callback);
|
|
||||||
|
|
||||||
//Denormalization
|
//Denormalization
|
||||||
void getDenormalizationMonitor(AsyncCallback<DenormalizationMonitor> callback);
|
void startDenormalization(DenormalizationSession denormalizationSession, AsyncCallback<String> callback);
|
||||||
void startDenormalization(DenormalizationSession denormalizationSession, AsyncCallback<Void> callback);
|
|
||||||
|
|
||||||
//Operation Monitor
|
//Operation Monitor
|
||||||
void getOperationMonitor(OperationMonitorSession operationMonitorSession, AsyncCallback<OperationMonitor> callback);
|
void getOperationMonitor(OperationMonitorSession operationMonitorSession, AsyncCallback<OperationMonitor> callback);
|
||||||
|
|
||||||
|
//File Upload Monitor
|
||||||
|
void getFileUploadMonitor(AsyncCallback<FileUploadMonitor> callback);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,6 +21,7 @@ import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Returns a representation of the csv file in JSON
|
||||||
*
|
*
|
||||||
* @author "Giancarlo Panichi"
|
* @author "Giancarlo Panichi"
|
||||||
* <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
* <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
||||||
|
|
|
@ -24,7 +24,6 @@ import org.gcube.portlets.user.td.gwtservice.server.file.FileUtil;
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.exception.TDGWTSessionExpiredException;
|
import org.gcube.portlets.user.td.gwtservice.shared.exception.TDGWTSessionExpiredException;
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.file.FileUploadMonitor;
|
import org.gcube.portlets.user.td.gwtservice.shared.file.FileUploadMonitor;
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.file.FileUploadState;
|
import org.gcube.portlets.user.td.gwtservice.shared.file.FileUploadState;
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.monitor.CodelistMappingMonitor;
|
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
|
@ -62,12 +61,12 @@ public class CodelistMappingUploadServlet extends HttpServlet {
|
||||||
logger.info("Codelist Mapping session id: "+session.getId());
|
logger.info("Codelist Mapping session id: "+session.getId());
|
||||||
|
|
||||||
CodelistMappingFileUploadSession codelistMappingFileUploadSession=new CodelistMappingFileUploadSession();
|
CodelistMappingFileUploadSession codelistMappingFileUploadSession=new CodelistMappingFileUploadSession();
|
||||||
CodelistMappingMonitor codelistMappingMonitor=new CodelistMappingMonitor();
|
//CodelistMappingMonitor codelistMappingMonitor=new CodelistMappingMonitor();
|
||||||
FileUploadMonitor fileUploadMonitor=new FileUploadMonitor();
|
FileUploadMonitor fileUploadMonitor=new FileUploadMonitor();
|
||||||
|
|
||||||
codelistMappingFileUploadSession.setId(session.getId());
|
codelistMappingFileUploadSession.setId(session.getId());
|
||||||
codelistMappingFileUploadSession.setFileUploadState(FileUploadState.STARTED);
|
codelistMappingFileUploadSession.setFileUploadState(FileUploadState.STARTED);
|
||||||
codelistMappingFileUploadSession.setCodelistMappingMonitor(codelistMappingMonitor);
|
//codelistMappingFileUploadSession.setCodelistMappingMonitor(codelistMappingMonitor);
|
||||||
SessionUtil.setFileUploadMonitor(session,fileUploadMonitor);
|
SessionUtil.setFileUploadMonitor(session,fileUploadMonitor);
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -18,10 +18,9 @@ import org.apache.commons.fileupload.FileItemFactory;
|
||||||
import org.apache.commons.fileupload.FileUploadException;
|
import org.apache.commons.fileupload.FileUploadException;
|
||||||
import org.apache.commons.fileupload.disk.DiskFileItemFactory;
|
import org.apache.commons.fileupload.disk.DiskFileItemFactory;
|
||||||
import org.apache.commons.fileupload.servlet.ServletFileUpload;
|
import org.apache.commons.fileupload.servlet.ServletFileUpload;
|
||||||
import org.gcube.portlets.user.td.gwtservice.server.file.FileUploadListener;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.server.file.CSVFileUploadSession;
|
import org.gcube.portlets.user.td.gwtservice.server.file.CSVFileUploadSession;
|
||||||
|
import org.gcube.portlets.user.td.gwtservice.server.file.FileUploadListener;
|
||||||
import org.gcube.portlets.user.td.gwtservice.server.file.FileUtil;
|
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.exception.TDGWTSessionExpiredException;
|
import org.gcube.portlets.user.td.gwtservice.shared.exception.TDGWTSessionExpiredException;
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.file.FileUploadMonitor;
|
import org.gcube.portlets.user.td.gwtservice.shared.file.FileUploadMonitor;
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.file.FileUploadState;
|
import org.gcube.portlets.user.td.gwtservice.shared.file.FileUploadState;
|
||||||
|
@ -62,12 +61,12 @@ public class LocalUploadServlet extends HttpServlet {
|
||||||
logger.info("CSV Import session id: "+session.getId());
|
logger.info("CSV Import session id: "+session.getId());
|
||||||
|
|
||||||
CSVFileUploadSession fileUploadSession=new CSVFileUploadSession();
|
CSVFileUploadSession fileUploadSession=new CSVFileUploadSession();
|
||||||
CSVImportMonitor csvImportMonitor=new CSVImportMonitor();
|
//CSVImportMonitor csvImportMonitor=new CSVImportMonitor();
|
||||||
FileUploadMonitor fileUploadMonitor=new FileUploadMonitor();
|
FileUploadMonitor fileUploadMonitor=new FileUploadMonitor();
|
||||||
|
|
||||||
fileUploadSession.setId(session.getId());
|
fileUploadSession.setId(session.getId());
|
||||||
fileUploadSession.setFileUploadState(FileUploadState.STARTED);
|
fileUploadSession.setFileUploadState(FileUploadState.STARTED);
|
||||||
fileUploadSession.setCsvImportMonitor(csvImportMonitor);
|
//fileUploadSession.setCsvImportMonitor(csvImportMonitor);
|
||||||
SessionUtil.setFileUploadMonitor(session, fileUploadMonitor);
|
SessionUtil.setFileUploadMonitor(session, fileUploadMonitor);
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,136 +1,88 @@
|
||||||
package org.gcube.portlets.user.td.gwtservice.server;
|
package org.gcube.portlets.user.td.gwtservice.server;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @author "Giancarlo Panichi"
|
||||||
|
* email: <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
||||||
|
*
|
||||||
|
*/
|
||||||
public class SessionConstants {
|
public class SessionConstants {
|
||||||
protected static final String CURRENT_TABULAR_RESOURCE = "CURRENT_TABULAR_RESOURCE";
|
protected static final String CURRENT_TABULAR_RESOURCE = "CURRENT_TABULAR_RESOURCE";
|
||||||
protected static final String CURRENT_TR_ID = "CURRENT_TR_ID";
|
protected static final String CURRENT_TR_ID = "CURRENT_TR_ID";
|
||||||
protected static final String TDOPEN_SESSION = "TDOPEN_SESSION";
|
protected static final String TDOPEN_SESSION = "TDOPEN_SESSION";
|
||||||
protected static final String TABULAR_RESOURCE_LIST = "TABULAR_RESOURCE_LIST";
|
protected static final String TABULAR_RESOURCE_LIST = "TABULAR_RESOURCE_LIST";
|
||||||
|
|
||||||
protected static final String OPERATIONS_TASKS="OPERATION_TASKS";
|
protected static final String OPERATIONS_TASKS_STARTED="OPERATION_TASKS_STARTED";
|
||||||
|
protected static final String FILE_UPLOAD_MONITOR = "FILE_UPLOAD_MONITOR";
|
||||||
|
|
||||||
protected static final String TR_TASK_MANAGER = "TR_TASK_MANAGER";
|
protected static final String TR_TASK_MANAGER = "TR_TASK_MANAGER";
|
||||||
|
|
||||||
protected static final String SDMX_REGISTRY_SOURCE = "SDMX_REGISTRY_SOURCE";
|
protected static final String SDMX_REGISTRY_SOURCE = "SDMX_REGISTRY_SOURCE";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
protected static final String SDMX_CLIENT_ATTRIBUTE = "SDMX_CLIENT";
|
protected static final String SDMX_CLIENT_ATTRIBUTE = "SDMX_CLIENT";
|
||||||
protected static final String SDMX_IMPORT_SESSION = "SDMX_IMPORT";
|
protected static final String SDMX_IMPORT_SESSION = "SDMX_IMPORT";
|
||||||
protected static final String SDMX_IMPORT_TABULAR_RESOURCE = "SDMX_IMPORT_TABULAR_RESOURCE";
|
protected static final String SDMX_IMPORT_TABULAR_RESOURCE = "SDMX_IMPORT_TABULAR_RESOURCE";
|
||||||
protected static final String SDMX_IMPORT_TASK = "SDMX_IMPORT_TASK";
|
|
||||||
|
|
||||||
protected static final String SDMX_EXPORT_SESSION = "SDMX_EXPORT_SESSION";
|
protected static final String SDMX_EXPORT_SESSION = "SDMX_EXPORT_SESSION";
|
||||||
protected static final String SDMX_EXPORT_TASK = "SDMX_EXPORT_TASK";
|
|
||||||
|
|
||||||
protected static final String CSV_IMPORT_SESSION = "CSV_IMPORT";
|
protected static final String CSV_IMPORT_SESSION = "CSV_IMPORT";
|
||||||
protected static final String CSV_IMPORT_FILE_UPLOAD_SESSION = "CSV_IMPORT_FILE_UPLOAD";
|
protected static final String CSV_IMPORT_FILE_UPLOAD_SESSION = "CSV_IMPORT_FILE_UPLOAD";
|
||||||
protected static final String CSV_IMPORT_TASK = "CSV_IMPORT_TASK";
|
|
||||||
protected static final String CSV_IMPORT_TABULAR_RESOURCE = "CSV_IMPORT_TABULAR_RESOURCE";
|
protected static final String CSV_IMPORT_TABULAR_RESOURCE = "CSV_IMPORT_TABULAR_RESOURCE";
|
||||||
|
|
||||||
protected static final String CSV_EXPORT_SESSION = "CSV_EXPORT_SESSION";
|
protected static final String CSV_EXPORT_SESSION = "CSV_EXPORT_SESSION";
|
||||||
protected static final String CSV_EXPORT_TASK = "CSV_EXPORT_TASK";
|
|
||||||
protected static final String CSV_EXPORT_END = "CSV_EXPORT_END";
|
protected static final String CSV_EXPORT_END = "CSV_EXPORT_END";
|
||||||
protected static final String CSV_EXPORT_MONITOR = "CSV_EXPORT_MONITOR";
|
|
||||||
|
|
||||||
protected static final String CLONE_TABULAR_RESOURCE_SESSION = "CLONE_TABULAR_RESOURCE_SESSION";
|
protected static final String CLONE_TABULAR_RESOURCE_SESSION = "CLONE_TABULAR_RESOURCE_SESSION";
|
||||||
protected static final String CLONE_TABULAR_RESOURCE_MONITOR = "CLONE_TABULAR_RESOURCE_MONITOR";
|
|
||||||
protected static final String CLONE_TABULAR_RESOURCE_TASK = "CLONE_TABULAR_RESOURCE_TASK";
|
|
||||||
|
|
||||||
|
|
||||||
protected static final String CHANGE_COLUMN_TYPE_SESSION = "CHANGE_COLUMN_TYPE_SESSION";
|
protected static final String CHANGE_COLUMN_TYPE_SESSION = "CHANGE_COLUMN_TYPE_SESSION";
|
||||||
protected static final String CHANGE_COLUMN_TYPE_MONITOR = "CHANGE_COLUMN_TYPE_MONITOR";
|
|
||||||
protected static final String CHANGE_COLUMN_TYPE_TASK = "CHANGE_COLUMN_TYPE_TASK";
|
|
||||||
|
|
||||||
protected static final String ADD_COLUMN_SESSION = "ADD_COLUMN_SESSION";
|
protected static final String ADD_COLUMN_SESSION = "ADD_COLUMN_SESSION";
|
||||||
protected static final String ADD_COLUMN_MONITOR = "ADD_COLUMN_MONITOR";
|
|
||||||
protected static final String ADD_COLUMN_TASK = "ADD_COLUMN_TASK";
|
|
||||||
|
|
||||||
protected static final String DELETE_COLUMN_SESSION = "DELETE_COLUMN_SESSION";
|
protected static final String DELETE_COLUMN_SESSION = "DELETE_COLUMN_SESSION";
|
||||||
protected static final String DELETE_COLUMN_MONITOR = "DELETE_COLUMN_MONITOR";
|
|
||||||
protected static final String DELETE_COLUMN_TASK = "DELETE_COLUMN_TASK";
|
|
||||||
|
|
||||||
protected static final String EDIT_ROW_SESSION = "EDIT_ROW_SESSION";
|
protected static final String EDIT_ROW_SESSION = "EDIT_ROW_SESSION";
|
||||||
protected static final String EDIT_ROW_MONITOR = "EDIT_ROW_MONITOR";
|
|
||||||
protected static final String EDIT_ROW_TASK = "EDIT_ROW_TASK";
|
|
||||||
|
|
||||||
protected static final String TASK_RESUBMIT_SESSION = "TASK_RESUBMIT_SESSION";
|
protected static final String TASK_RESUBMIT_SESSION = "TASK_RESUBMIT_SESSION";
|
||||||
protected static final String TASK_RESUBMIT_MONITOR = "TASK_RESUBMIT_MONITOR";
|
|
||||||
protected static final String TASK_RESUBMIT_TASK = "TASK_RESUBMIT_TASK";
|
|
||||||
|
|
||||||
protected static final String TASK_RESUME_SESSION = "TASK_RESUME_SESSION";
|
protected static final String TASK_RESUME_SESSION = "TASK_RESUME_SESSION";
|
||||||
protected static final String TASK_RESUME_MONITOR = "TASK_RESUME_MONITOR";
|
|
||||||
protected static final String TASK_RESUME_TASK = "TASK_RESUME_TASK";
|
|
||||||
|
|
||||||
protected static final String REPLACE_COLUMN_SESSION = "REPLACE_COLUMN_SESSION";
|
protected static final String REPLACE_COLUMN_SESSION = "REPLACE_COLUMN_SESSION";
|
||||||
protected static final String REPLACE_COLUMN_MONITOR = "REPLACE_COLUMN_MONITOR";
|
|
||||||
protected static final String REPLACE_COLUMN_TASK = "REPLACE_COLUMN_TASK";
|
|
||||||
|
|
||||||
protected static final String GROUPBY_SESSION = "GROUPBY_SESSION";
|
protected static final String GROUPBY_SESSION = "GROUPBY_SESSION";
|
||||||
protected static final String GROUPBY_MONITOR = "GROUPBY_MONITOR";
|
|
||||||
protected static final String GROUPBY_TASK = "GROUPBY_TASK";
|
|
||||||
|
|
||||||
protected static final String UNION_SESSION = "UNION_SESSION";
|
protected static final String UNION_SESSION = "UNION_SESSION";
|
||||||
protected static final String UNION_MONITOR = "UNION_MONITOR";
|
|
||||||
protected static final String UNION_TASK = "UNION_TASK";
|
|
||||||
|
|
||||||
protected static final String NORMALIZATION_SESSION = "NORMALIZATION_SESSION";
|
protected static final String NORMALIZATION_SESSION = "NORMALIZATION_SESSION";
|
||||||
protected static final String NORMALIZATION_MONITOR = "NORMALIZATION_MONITOR";
|
|
||||||
protected static final String NORMALIZATION_TASK = "NORMALIZATION_TASK";
|
|
||||||
|
|
||||||
protected static final String DENORMALIZATION_SESSION = "DENORMALIZATION_SESSION";
|
protected static final String DENORMALIZATION_SESSION = "DENORMALIZATION_SESSION";
|
||||||
protected static final String DENORMALIZATION_MONITOR = "DENORMALIZATION_MONITOR";
|
|
||||||
protected static final String DENORMALIZATION_TASK = "DENORMALIZATION_TASK";
|
|
||||||
|
|
||||||
protected static final String REPLACE_BATCH_COLUMN_SESSION = "REPLACE_BATCH_COLUMN_SESSION";
|
protected static final String REPLACE_BATCH_COLUMN_SESSION = "REPLACE_BATCH_COLUMN_SESSION";
|
||||||
protected static final String REPLACE_BATCH_COLUMN_MONITOR = "REPLACE_BATCH_COLUMN_MONITOR";
|
|
||||||
protected static final String REPLACE_BATCH_COLUMN_TASK = "REPLACE_BATCH_COLUMN_TASK";
|
|
||||||
|
|
||||||
protected static final String CHANGE_THE_COLUMN_LABEL_SESSION = "CHANGE_THE_COLUMN_LABEL_SESSION";
|
protected static final String CHANGE_THE_COLUMN_LABEL_SESSION = "CHANGE_THE_COLUMN_LABEL_SESSION";
|
||||||
protected static final String CHANGE_THE_COLUMN_LABEL_MONITOR = "CHANGE_THE_COLUMN_LABEL_MONITOR";
|
|
||||||
protected static final String CHANGE_THE_COLUMN_LABEL_TASK = "CHANGE_THE_COLUMN_LABEL_TASK";
|
|
||||||
|
|
||||||
protected static final String CHANGE_TABLE_TYPE_SESSION = "CHANGE_TABLE_TYPE_SESSION";
|
protected static final String CHANGE_TABLE_TYPE_SESSION = "CHANGE_TABLE_TYPE_SESSION";
|
||||||
protected static final String CHANGE_TABLE_TYPE_MONITOR = "CHANGE_TABLE_TYPE_MONITOR";
|
|
||||||
protected static final String CHANGE_TABLE_TYPE_TASK = "CHANGE_TABLE_TYPE_TASK";
|
|
||||||
|
|
||||||
protected static final String DELETE_ROWS_SESSION = "DELETE_ROWS_SESSION";
|
protected static final String DELETE_ROWS_SESSION = "DELETE_ROWS_SESSION";
|
||||||
protected static final String DELETE_ROWS_MONITOR = "DELETE_ROWS_MONITOR";
|
|
||||||
protected static final String DELETE_ROWS_TASK = "DELETE_ROWS_TASK";
|
|
||||||
|
|
||||||
protected static final String DUPLICATES_ROWS_SESSION = "DUPLICATES_ROWS_SESSION";
|
protected static final String DUPLICATES_ROWS_SESSION = "DUPLICATES_ROWS_SESSION";
|
||||||
protected static final String DUPLICATES_ROWS_MONITOR = "DUPLICATES_ROWS_MONITOR";
|
|
||||||
protected static final String DUPLICATES_ROWS_TASK = "DUPLICATES_ROWS_TASK";
|
|
||||||
|
|
||||||
protected static final String TEMPLATE_APPLY_SESSION = "TEMPLATE_APPLY_SESSION";
|
protected static final String TEMPLATE_APPLY_SESSION = "TEMPLATE_APPLY_SESSION";
|
||||||
protected static final String TEMPLATE_APPLY_MONITOR = "TEMPLATE_APPLY_MONITOR";
|
|
||||||
protected static final String TEMPLATE_APPLY_TASK = "TEMPLATE_APPLY_TASK";
|
|
||||||
|
|
||||||
protected static final String CODELISTS_PAGING_LOADED = "CODELISTS_PAGING_LOADED";
|
protected static final String CODELISTS_PAGING_LOADED = "CODELISTS_PAGING_LOADED";
|
||||||
protected static final String CODELISTS_PAGING_LOADED_FILTERED_COPY = "CODELISTS_PAGING_LOADED_FILTERED_COPY";
|
protected static final String CODELISTS_PAGING_LOADED_FILTERED_COPY = "CODELISTS_PAGING_LOADED_FILTERED_COPY";
|
||||||
protected static final String CODELISTS_PAGING_LOADED_FILTER = "CODELISTS_PAGING_LOADED_FILTER";
|
protected static final String CODELISTS_PAGING_LOADED_FILTER = "CODELISTS_PAGING_LOADED_FILTER";
|
||||||
|
|
||||||
protected static final String ROLLBACK_SESSION = "ROLLBACK_SESSION";
|
protected static final String ROLLBACK_SESSION = "ROLLBACK_SESSION";
|
||||||
protected static final String ROLLBACK_MONITOR = "ROLLBACK_MONITOR";
|
|
||||||
protected static final String ROLLBACK_TASK = "ROLLBACK_TASK";
|
|
||||||
|
|
||||||
protected static final String EXTRACT_CODELIST_SESSION = "EXTRACT_CODELIST_SESSION";
|
protected static final String EXTRACT_CODELIST_SESSION = "EXTRACT_CODELIST_SESSION";
|
||||||
protected static final String EXTRACT_CODELIST_MONITOR = "EXTRACT_CODELIST_MONITOR";
|
|
||||||
protected static final String EXTRACT_CODELIST_TASK = "EXTRACT_CODELIST_TASK";
|
|
||||||
|
|
||||||
protected static final String SPLIT_COLUMN_SESSION = "SPLIT_COLUMN_SESSION";
|
protected static final String SPLIT_COLUMN_SESSION = "SPLIT_COLUMN_SESSION";
|
||||||
protected static final String SPLIT_COLUMN_MONITOR = "SPLIT_COLUMN_MONITOR";
|
|
||||||
protected static final String SPLIT_COLUMN_TASK = "SPLIT_COLUMN_TASK";
|
|
||||||
|
|
||||||
protected static final String MERGE_COLUMN_SESSION = "MERGE_COLUMN_SESSION";
|
protected static final String MERGE_COLUMN_SESSION = "MERGE_COLUMN_SESSION";
|
||||||
protected static final String MERGE_COLUMN_MONITOR = "MERGE_COLUMN_MONITOR";
|
|
||||||
protected static final String MERGE_COLUMN_TASK = "MERGE_COLUMN_TASK";
|
|
||||||
|
|
||||||
protected static final String CODELIST_MAPPING_SESSION = "CODELIST_MAPPING_SESSION";
|
protected static final String CODELIST_MAPPING_SESSION = "CODELIST_MAPPING_SESSION";
|
||||||
protected static final String CODELIST_MAPPING_FILE_UPLOAD_SESSION = "CODELIST_MAPPING_FILE_UPLOAD_SESSION";
|
protected static final String CODELIST_MAPPING_FILE_UPLOAD_SESSION = "CODELIST_MAPPING_FILE_UPLOAD_SESSION";
|
||||||
protected static final String CODELIST_MAPPING_TASK = "CODELIST_MAPPING_TASK";
|
|
||||||
protected static final String CODELIST_MAPPING_MONITOR = "CODELIST_MAPPING_MONITOR";
|
|
||||||
|
|
||||||
protected static final String FILE_UPLOAD_MONITOR = "FILE_UPLOAD_MONITOR";
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -3,7 +3,6 @@ package org.gcube.portlets.user.td.gwtservice.server.file;
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
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.csv.CSVParserConfiguration;
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.file.FileUploadState;
|
import org.gcube.portlets.user.td.gwtservice.shared.file.FileUploadState;
|
||||||
|
|
||||||
|
@ -26,7 +25,7 @@ public class CSVFileUploadSession implements Serializable {
|
||||||
|
|
||||||
protected CSVParserConfiguration parserConfiguration;
|
protected CSVParserConfiguration parserConfiguration;
|
||||||
|
|
||||||
protected CSVImportMonitor csvImportMonitor;
|
//protected CSVImportMonitor csvImportMonitor;
|
||||||
|
|
||||||
|
|
||||||
public String getId() {
|
public String getId() {
|
||||||
|
@ -69,23 +68,13 @@ public class CSVFileUploadSession implements Serializable {
|
||||||
this.parserConfiguration = parserConfiguration;
|
this.parserConfiguration = parserConfiguration;
|
||||||
}
|
}
|
||||||
|
|
||||||
public CSVImportMonitor getCsvImportMonitor() {
|
|
||||||
return csvImportMonitor;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setCsvImportMonitor(CSVImportMonitor csvImportMonitor) {
|
|
||||||
this.csvImportMonitor = csvImportMonitor;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "CSVFileUploadSession [id=" + id + ", fileUploadState="
|
return "CSVFileUploadSession [id=" + id + ", fileUploadState="
|
||||||
+ fileUploadState + ", csvFile=" + csvFile + ", csvName="
|
+ fileUploadState + ", csvFile=" + csvFile + ", csvName="
|
||||||
+ csvName + ", parserConfiguration=" + parserConfiguration
|
+ csvName + ", parserConfiguration=" + parserConfiguration
|
||||||
+ ", csvImportMonitor=" + csvImportMonitor + "]";
|
+ "]";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,6 @@ import java.io.File;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.file.FileUploadState;
|
import org.gcube.portlets.user.td.gwtservice.shared.file.FileUploadState;
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.monitor.CodelistMappingMonitor;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@ -23,7 +22,7 @@ public class CodelistMappingFileUploadSession implements Serializable {
|
||||||
protected File codelistMappingFile;
|
protected File codelistMappingFile;
|
||||||
protected String codelistMappingName;
|
protected String codelistMappingName;
|
||||||
|
|
||||||
protected CodelistMappingMonitor codelistMappingMonitor;
|
//protected CodelistMappingMonitor codelistMappingMonitor;
|
||||||
|
|
||||||
public String getId() {
|
public String getId() {
|
||||||
return id;
|
return id;
|
||||||
|
@ -58,23 +57,16 @@ public class CodelistMappingFileUploadSession implements Serializable {
|
||||||
this.codelistMappingName = codelistMappingName;
|
this.codelistMappingName = codelistMappingName;
|
||||||
}
|
}
|
||||||
|
|
||||||
public CodelistMappingMonitor getCodelistMappingMonitor() {
|
|
||||||
return codelistMappingMonitor;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setCodelistMappingMonitor(
|
|
||||||
CodelistMappingMonitor codelistMappingMonitor) {
|
|
||||||
this.codelistMappingMonitor = codelistMappingMonitor;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "CodelistMappingFileUploadSession [id=" + id
|
return "CodelistMappingFileUploadSession [id=" + id
|
||||||
+ ", fileUploadState=" + fileUploadState
|
+ ", fileUploadState=" + fileUploadState
|
||||||
+ ", codelistMappingFile=" + codelistMappingFile
|
+ ", codelistMappingFile=" + codelistMappingFile
|
||||||
+ ", codelistMappingName=" + codelistMappingName
|
+ ", codelistMappingName=" + codelistMappingName + "]";
|
||||||
+ ", codelistMappingMonitor=" + codelistMappingMonitor + "]";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,20 +0,0 @@
|
||||||
/**
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
package org.gcube.portlets.user.td.gwtservice.shared.monitor;
|
|
||||||
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author "Giancarlo Panichi"
|
|
||||||
* <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
public class AddColumnMonitor extends OperationMonitor implements Serializable {
|
|
||||||
|
|
||||||
|
|
||||||
private static final long serialVersionUID = -7694151843138161474L;
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,13 +0,0 @@
|
||||||
package org.gcube.portlets.user.td.gwtservice.shared.monitor;
|
|
||||||
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
|
|
||||||
public class ChangeTableTypeMonitor extends OperationMonitor implements Serializable {
|
|
||||||
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 991656197616922469L;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,14 +0,0 @@
|
||||||
package org.gcube.portlets.user.td.gwtservice.shared.monitor;
|
|
||||||
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
|
|
||||||
public class CloneMonitor extends OperationMonitor implements Serializable {
|
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
private static final long serialVersionUID = 8626668361737808483L;
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,16 +0,0 @@
|
||||||
package org.gcube.portlets.user.td.gwtservice.shared.monitor;
|
|
||||||
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author "Giancarlo Panichi"
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
public class CodelistMappingMonitor extends OperationMonitor implements Serializable {
|
|
||||||
|
|
||||||
|
|
||||||
private static final long serialVersionUID = -9004720851025676043L;
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,20 +0,0 @@
|
||||||
/**
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
package org.gcube.portlets.user.td.gwtservice.shared.monitor;
|
|
||||||
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author "Giancarlo Panichi"
|
|
||||||
* <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
public class DeleteColumnMonitor extends OperationMonitor implements Serializable {
|
|
||||||
|
|
||||||
|
|
||||||
private static final long serialVersionUID = -7694151843138161474L;
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,12 +0,0 @@
|
||||||
package org.gcube.portlets.user.td.gwtservice.shared.monitor;
|
|
||||||
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
|
|
||||||
public class DeleteRowsMonitor extends OperationMonitor implements Serializable {
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
private static final long serialVersionUID = -1547897501452634298L;
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,20 +0,0 @@
|
||||||
package org.gcube.portlets.user.td.gwtservice.shared.monitor;
|
|
||||||
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author "Giancarlo Panichi"
|
|
||||||
* email: <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
public class DenormalizationMonitor extends OperationMonitor implements
|
|
||||||
Serializable {
|
|
||||||
|
|
||||||
|
|
||||||
private static final long serialVersionUID = -1943471748865606817L;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,11 +0,0 @@
|
||||||
package org.gcube.portlets.user.td.gwtservice.shared.monitor;
|
|
||||||
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
|
|
||||||
public class DuplicatesMonitor extends OperationMonitor implements Serializable {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 2329951047629617335L;
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,12 +0,0 @@
|
||||||
package org.gcube.portlets.user.td.gwtservice.shared.monitor;
|
|
||||||
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
|
|
||||||
public class EditRowMonitor extends OperationMonitor implements Serializable {
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
private static final long serialVersionUID = -1547897501452634298L;
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,19 +0,0 @@
|
||||||
/**
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
package org.gcube.portlets.user.td.gwtservice.shared.monitor;
|
|
||||||
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author "Giancarlo Panichi"
|
|
||||||
* <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
public class ExtractCodelistMonitor extends OperationMonitor implements Serializable {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = -9042796707453619895L;
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,20 +0,0 @@
|
||||||
/**
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
package org.gcube.portlets.user.td.gwtservice.shared.monitor;
|
|
||||||
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author "Giancarlo Panichi"
|
|
||||||
* <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
public class GroupByMonitor extends OperationMonitor implements Serializable {
|
|
||||||
|
|
||||||
|
|
||||||
private static final long serialVersionUID = -7694151843138161474L;
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,20 +0,0 @@
|
||||||
/**
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
package org.gcube.portlets.user.td.gwtservice.shared.monitor;
|
|
||||||
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author "Giancarlo Panichi"
|
|
||||||
* <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
public class LabelColumnMonitor extends OperationMonitor implements Serializable {
|
|
||||||
|
|
||||||
|
|
||||||
private static final long serialVersionUID = -7694151843138161474L;
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,20 +0,0 @@
|
||||||
/**
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
package org.gcube.portlets.user.td.gwtservice.shared.monitor;
|
|
||||||
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author "Giancarlo Panichi"
|
|
||||||
* <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
public class MergeColumnMonitor extends OperationMonitor implements Serializable {
|
|
||||||
|
|
||||||
|
|
||||||
private static final long serialVersionUID = -7694151843138161474L;
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,17 +0,0 @@
|
||||||
package org.gcube.portlets.user.td.gwtservice.shared.monitor;
|
|
||||||
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author "Giancarlo Panichi"
|
|
||||||
* email: <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
public class NormalizationMonitor extends OperationMonitor implements
|
|
||||||
Serializable {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = -7021715301225849091L;
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,20 +0,0 @@
|
||||||
/**
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
package org.gcube.portlets.user.td.gwtservice.shared.monitor;
|
|
||||||
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author "Giancarlo Panichi"
|
|
||||||
* <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
public class ReplaceBatchColumnMonitor extends OperationMonitor implements Serializable {
|
|
||||||
|
|
||||||
|
|
||||||
private static final long serialVersionUID = -7694151843138161474L;
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,20 +0,0 @@
|
||||||
/**
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
package org.gcube.portlets.user.td.gwtservice.shared.monitor;
|
|
||||||
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author "Giancarlo Panichi"
|
|
||||||
* <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
public class ReplaceColumnMonitor extends OperationMonitor implements Serializable {
|
|
||||||
|
|
||||||
|
|
||||||
private static final long serialVersionUID = -7694151843138161474L;
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,19 +0,0 @@
|
||||||
/**
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
package org.gcube.portlets.user.td.gwtservice.shared.monitor;
|
|
||||||
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author "Giancarlo Panichi"
|
|
||||||
* <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
public class RollBackSessionMonitor extends OperationMonitor implements Serializable {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = -4213157032725005579L;
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,20 +0,0 @@
|
||||||
/**
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
package org.gcube.portlets.user.td.gwtservice.shared.monitor;
|
|
||||||
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author "Giancarlo Panichi"
|
|
||||||
* <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
public class SplitColumnMonitor extends OperationMonitor implements Serializable {
|
|
||||||
|
|
||||||
|
|
||||||
private static final long serialVersionUID = -7694151843138161474L;
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,17 +0,0 @@
|
||||||
package org.gcube.portlets.user.td.gwtservice.shared.monitor;
|
|
||||||
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author "Giancarlo Panichi"
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
public class TaskResubmitMonitor extends OperationMonitor implements Serializable {
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
private static final long serialVersionUID = -1547897501452634298L;
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,17 +0,0 @@
|
||||||
package org.gcube.portlets.user.td.gwtservice.shared.monitor;
|
|
||||||
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author "Giancarlo Panichi"
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
public class TaskResumeMonitor extends OperationMonitor implements Serializable {
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
private static final long serialVersionUID = -1547897501452634298L;
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,19 +0,0 @@
|
||||||
package org.gcube.portlets.user.td.gwtservice.shared.monitor;
|
|
||||||
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Apply Template Monitor
|
|
||||||
*
|
|
||||||
* @author "Giancarlo Panichi"
|
|
||||||
* <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
public class TemplateApplyMonitor extends OperationMonitor implements Serializable {
|
|
||||||
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 7429207202237589027L;
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,20 +0,0 @@
|
||||||
/**
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
package org.gcube.portlets.user.td.gwtservice.shared.monitor;
|
|
||||||
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author "Giancarlo Panichi"
|
|
||||||
* <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
public class UnionMonitor extends OperationMonitor implements Serializable {
|
|
||||||
|
|
||||||
|
|
||||||
private static final long serialVersionUID = -7694151843138161474L;
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,92 +0,0 @@
|
||||||
/**
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
package org.gcube.portlets.user.td.gwtservice.shared.tr.column.type;
|
|
||||||
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.task.State;
|
|
||||||
import org.gcube.portlets.user.td.widgetcommonevent.shared.TRId;
|
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author "Giancarlo Panichi"
|
|
||||||
* <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
public class ChangeColumnTypeMonitor implements Serializable {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 5378053063599667767L;
|
|
||||||
|
|
||||||
protected float progress;
|
|
||||||
protected State status;
|
|
||||||
protected String statusDescription;
|
|
||||||
protected Throwable error;
|
|
||||||
protected TRId trId;
|
|
||||||
protected String columnName;
|
|
||||||
|
|
||||||
public float getProgress(){
|
|
||||||
return progress;
|
|
||||||
};
|
|
||||||
|
|
||||||
public State getStatus(){
|
|
||||||
return status;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getStatusDescription(){
|
|
||||||
return statusDescription;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setProgress(float progress) {
|
|
||||||
this.progress = progress;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setStatus(State status) {
|
|
||||||
this.status = status;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setStatus(int status) {
|
|
||||||
this.status = State.values()[status];
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public void setStatusDescription(String statusDescription) {
|
|
||||||
this.statusDescription = statusDescription;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Throwable getError() {
|
|
||||||
return error;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setError(Throwable error) {
|
|
||||||
this.error = error;
|
|
||||||
}
|
|
||||||
|
|
||||||
public TRId getTrId() {
|
|
||||||
return trId;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setTrId(TRId trId) {
|
|
||||||
this.trId = trId;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getColumnName() {
|
|
||||||
return columnName;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setColumnName(String columnName) {
|
|
||||||
this.columnName = columnName;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public String toString() {
|
|
||||||
return "ChangeColumnTypeMonitor [progress=" + progress + ", status="
|
|
||||||
+ status + ", statusDescription=" + statusDescription
|
|
||||||
+ ", error=" + error + ", trId=" + trId + ", columnName="
|
|
||||||
+ columnName + "]";
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
Loading…
Reference in New Issue