public class TDGWTServiceImpl extends com.google.gwt.user.server.rpc.RemoteServiceServlet implements TDGWTService
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
logger |
protected static SimpleDateFormat |
sdf |
protected static SimpleDateFormat |
sdfDate |
protected static SimpleDateFormat |
sdfPerformance |
| Constructor and Description |
|---|
TDGWTServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
CheckCSVSession |
checkCSV(long errorsLimit) |
protected void |
checkTabularResourceIsFinal(org.gcube.data.analysis.tabulardata.service.tabular.TabularResource tabularResource) |
protected void |
checkTabularResourceLocked(org.gcube.data.analysis.tabulardata.service.tabular.TabularResource tabularResource) |
boolean |
checkTabularResourceNotFinal(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trId) |
protected void |
checkTRId(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trId) |
void |
closeAllTabularResources()
Close All Tabular Resources
|
void |
closeTabularResource(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId closeTRId)
Close Tabular Resource with TRId equals to closeTRId
|
void |
closeTabularResourceAndOpen(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId openTRId,
org.gcube.portlets.user.td.widgetcommonevent.shared.TRId closeTRId)
Close Tabular Resource with TRId equals to closeTRId and open if not null
that with TRId equals to openTRId
|
ArrayList<String> |
configureCSVParser(String encoding,
HeaderPresence headerPresence,
char delimiter,
char comment) |
TabResource |
createTabularResource(TabResource tabResource)
Creates a TabResource on Service
|
protected Map<String,Object> |
csvImportFileParameter(String fileUrlOnStorage,
CSVFileUploadSession fileUploadSession,
CSVImportSession csvImportSession) |
protected ArrayList<TabResource> |
filterPagingRow(CodelistPagingLoadConfig plc,
ArrayList<TabResource> ltr,
javax.servlet.http.HttpSession session) |
ArrayList<Agencies> |
getAgencies()
Get Agecies on a registry
|
AvailableCharsetList |
getAvailableCharset() |
ArrayList<OperationMonitor> |
getBackgroundOperationMonitor(BackgroundOperationMonitorSession backgroundOperationMonitorSession)
Get List of Background Operation Monitor
|
ArrayList<Codelist> |
getCodelists()
Get Codelist on a registry
|
CodelistPagingLoadResult |
getCodelistsPagingLoader(CodelistPagingLoadConfig plc)
Retrieves a portion of Codelists
|
ColumnData |
getColumn(String columnLocalId,
org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trId)
Retrieves information about a specific column of specific table
|
ColumnData |
getColumn(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trId,
String columnName)
Retrieves information about a specific column of specific table
|
ArrayList<ColumnData> |
getColumns()
Returns ArrayList
|
ArrayList<ColumnData> |
getColumns(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trId)
Returns ArrayList
|
ArrayList<ColumnData> |
getColumnsForDimension(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trId)
Returns only CodeColumnType, CodeNameColumnType,
CodeDescriptionColumnType and AnnotationColumnType
Retrieves the list of columns in the table provided by trId only CODE and
CODENAME types
|
ColumnData |
getConnection(RefColumn refColumn)
Retreive a ColumnData that is a connection to external table
|
org.gcube.portlets.user.td.widgetcommonevent.shared.TRId |
getCurrentTRId()
Get current TRId
|
ArrayList<Dataset> |
getDatasets()
Get Datasets on a registry
|
void |
getFileFromWorkspace(CodelistMappingSession codelistMappingSession) |
void |
getFileFromWorkspace(CSVImportSession csvImportSession) |
FileUploadMonitor |
getFileUploadMonitor()
Get File Upload Monitor during the file upload operation in Import CSV
|
ArrayList<OpHistory> |
getHistory()
Retrieve History
|
ArrayList<OpHistory> |
getHistory(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trId)
Retrieve History for specific tabular resource
|
TabResource |
getInSessionTabResourceInfo()
Get information on the current tabular resource don't call service
|
OpHistory |
getLastOperationInfo() |
OpHistory |
getLastOperationInfo(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trId) |
TableData |
getLastTable(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trId)
Return Last Table
|
ArrayList<LicenceData> |
getLicences()
Retrieve licences supported
|
ArrayList<String> |
getLocales()
Retrieve locales supported
|
ArrayList<Occurrences> |
getOccurrencesForBatchReplace(OccurrencesForReplaceBatchColumnSession occurrencesForReplaceBatchColumnSession)
Retrieves the values in a column grouped by number of occurrences
|
OperationMonitor |
getOperationMonitor(OperationMonitorSession operationMonitorSession)
Get Operation Monitor
|
ArrayList<ResourceTDDescriptor> |
getResourcesTD(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trId)
Retrieves the resources of a specific tabular resource
|
ArrayList<ResourceTDDescriptor> |
getResourcesTDByType(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trId,
ResourceTDType resourceTDType)
Retrieves the resources of a specific tabular resource by type
|
TableData |
getTable(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trId)
Return Table
|
ArrayList<TabMetadata> |
getTableMetadata(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trId)
Return Metadata of Table
|
TabValidationsMetadata |
getTableValidationsMetadata(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trId)
Return Validations Metadata of Table
|
TabResource |
getTabResourceInformation()
Get informations on the current tabular resource call service
|
TabResource |
getTabResourceInformation(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trId)
Get informations on tabular resource
|
ArrayList<TabResource> |
getTabularResources()
Return all tabular resource of a user
|
ArrayList<TabResource> |
getTabularResourcesAndLastTables()
Return all tabular resource of a user and last tables
|
ArrayList<TemplateData> |
getTemplates()
Retrieves templates of user
|
String |
getTRCreationDate(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trId)
Get creation date on tabular resource
|
protected ArrayList<TRMetadata> |
getTRMetadata(org.gcube.data.analysis.tabulardata.service.tabular.TabularResource tr) |
ArrayList<TRMetadata> |
getTRMetadata(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trId)
Return Metadata of Tabular Resources
|
String |
getUriFromResolver(UriResolverSession uriResolverSession)
Resolve Uri
|
ArrayList<ColumnData> |
getValidationColumns(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trId,
String columnName)
Returns ArrayList
|
ValidationsTasksMetadata |
getValidationsTasksMetadata(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trId)
Returns validations contained in the tasks
|
UserInfo |
hello()
Get informations on the current user
|
protected String |
importCodelistMappingFileOnService(javax.servlet.http.HttpSession session,
org.gcube.application.framework.core.session.ASLSession aslSession,
String user,
CodelistMappingSession codelistMappingSession) |
protected String |
importCSVFileOnService(javax.servlet.http.HttpSession session,
org.gcube.application.framework.core.session.ASLSession aslSession,
String user,
CSVFileUploadSession fileUploadSession,
CSVImportSession csvImportSession) |
Boolean |
isTabularResourceFinalized(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trId)
Check finalized status of a tabular resource
|
Boolean |
isTabularResourceLocked(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trId)
Check locked status of a tabular resource
|
Boolean |
isTabularResourceValid(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trId)
Return true if is a valid tabular resource
|
protected ArrayList<TabResource> |
OrderPagingRow(CodelistPagingLoadConfig plc,
ArrayList<TabResource> ltrCopy,
javax.servlet.http.HttpSession session) |
void |
removeTabularResource(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trId)
Remove Tabular Resource From Service
|
org.gcube.portlets.user.td.widgetcommonevent.shared.TRId |
restoreUISession()
Restore UI session
|
protected Map<String,Object> |
retrieveOperationParameters(SDMXImportSession sdmxImportSession) |
protected ArrayList<Contacts> |
retrieveShareInfo(org.gcube.data.analysis.tabulardata.service.tabular.TabularResource tr) |
protected org.gcube.portlets.user.td.widgetcommonevent.shared.TRId |
retrieveTabularResourceBasicData(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trId)
Retrieve and set Tabular Resource Type
|
protected ArrayList<Contacts> |
retrieveTemplateShareInfo(org.gcube.data.analysis.tabulardata.commons.webservice.types.TemplateDescription templateDescription) |
protected TabResource |
retrieveTRMetadataFromService(org.gcube.data.analysis.tabulardata.service.TabularDataService service,
org.gcube.data.analysis.tabulardata.service.tabular.TabularResource tr,
int i)
Retrieves the informations for a specific Tabular Resource from service
|
protected void |
retrieveTRMetadataFromServiceAndLastTable(org.gcube.data.analysis.tabulardata.service.TabularDataService service,
org.gcube.data.analysis.tabulardata.service.tabular.TabularResource tr) |
protected TabResource |
retrieveTRMetadataFromServiceAndLastTable(org.gcube.data.analysis.tabulardata.service.TabularDataService service,
org.gcube.data.analysis.tabulardata.service.tabular.TabularResource tr,
int i)
Retrieves the informations for a specific Tabular Resource and the Last
Table from service
|
protected Map<String,Object> |
sdmxExportParameter(SDMXExportSession exportSession) |
void |
setActiveTabularResource(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId activeTRId)
Set Current Tabular Resource that passed as parameter if not null
|
void |
setCodelistMappingSession(CodelistMappingSession codelistMappingSession) |
void |
setCodelistsPagingLoader()
Initialize Codelists Paging Loader
|
void |
setCSVSession(CSVImportSession importSession) |
void |
setSDMXRegistrySource(SDMXRegistrySource sdmxRegistrySource)
Set SDMX Registry Source
|
void |
setShare(ShareTabResource shareInfo)
Share tabular resource
|
void |
setShareTemplate(ShareTemplate shareTemplate)
Share template
|
void |
setTabResource(TabResource tabResource)
Set current tabular resource
|
void |
setTabResourceInformation(TabResource tabResource)
Set tabular resource information
|
String |
startAddColumn(AddColumnSession addColumnSession)
Start add column
|
String |
startChangeColumnType(ChangeColumnTypeSession changeColumnTypeSession)
Start change column type
|
String |
startChangeTableType(ChangeTableTypeSession changeTableTypeSession)
Start change table type
|
String |
startCloneTabularResource(CloneTabularResourceSession cloneTabularResourceSession)
Start clone tabular resource
|
String |
startCodelistMappingImport(CodelistMappingSession codelistMappingSession)
Start Codelist Mapping Import
|
String |
startCSVExport(CSVExportSession exportSession)
Start CSV Export and invokes the client library
|
String |
startCSVImport(CSVImportSession csvImportSession)
Start CSV Import and invokes the client library
|
String |
startDeleteColumn(DeleteColumnSession deleteColumnSession)
Start delete column
|
String |
startDeleteRows(DeleteRowsSession deleteRowsSession)
Start delete rows
|
String |
startDenormalization(DenormalizationSession denormalizationSession)
Start Denormalization and invokes the client library
|
String |
startDiscard(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trId)
Call discard operation on tabular resource
|
String |
startDuplicates(DuplicatesSession duplicatesSession)
Start operation on duplicates
|
String |
startEditRow(EditRowSession editRowSession)
Start edit row or add row
|
String |
startExtractCodelist(ExtractCodelistSession extractCodelistSession)
Start Extract Codelist and invokes the client library
|
String |
startFilterColumn(FilterColumnSession filterColumnSession,
org.gcube.data.analysis.tabulardata.expression.Expression expression,
javax.servlet.http.HttpSession session)
Start Filter Column
|
String |
startGroupBy(GroupBySession groupBySession,
javax.servlet.http.HttpSession session) |
String |
startJSONExport(JSONExportSession exportSession)
Start JSON Export and invokes the client library
|
String |
startLabelColumn(LabelColumnSession labelColumnSession)
Start change the column label
|
String |
startMapCreation(MapCreationSession mapCreationSession)
Start Map Creation and invokes the client library
|
String |
startMergeColumn(MergeColumnSession mergeColumnSession,
javax.servlet.http.HttpSession session) |
String |
startNormalization(NormalizationSession normalizationSession)
Start Normalization and invokes the client library
|
String |
startReplaceBatchColumn(ReplaceBatchColumnSession replaceBatchColumnSession)
Start batch replace on column
|
String |
startReplaceColumn(ReplaceColumnSession replaceColumnSession)
Start replace the column value
|
String |
startReplaceColumnByExpression(ReplaceColumnByExpressionSession replaceColumnByExpressionSession,
org.gcube.data.analysis.tabulardata.expression.Expression conditionExpression,
org.gcube.data.analysis.tabulardata.expression.Expression replaceExpression,
javax.servlet.http.HttpSession session)
Start Replace Column by Expression
|
String |
startRollBack(RollBackSession rollBackSession)
Call rollback on tabular resource
|
String |
startSDMXExport(SDMXExportSession exportSession)
Start SDMX Export and invokes the client library
|
String |
startSDMXImport(SDMXImportSession sdmxImportSession)
Start SDMX Import and invokes the client library
|
String |
startSplitColumn(SplitColumnSession splitColumnSession,
javax.servlet.http.HttpSession session) |
String |
startTaskResubmit(TaskResubmitSession taskResubmitSession)
Resubmit task
|
String |
startTaskResume(TaskResumeSession taskResumeSession)
Resume task
|
String |
startTemplateApply(TemplateApplySession templateApplySession)
Start Apply Template
|
String |
startUnion(UnionSession unionSession)
Start Union and invokes the client library
|
protected void |
syncTRMetaData(org.gcube.data.analysis.tabulardata.service.tabular.TabularResource tr,
TabResource tabResource) |
void |
tdOpen(TDOpenSession s)
Not used now, but it will be necessary in the future to retrieve task
pending
Set open session for return all tabular resource of a user
|
void |
templateDelete(TemplateDeleteSession templateDeleteSession)
Start Delete Template
|
protected void |
updateTabResourceInformation(TabResource tabResource,
ArrayList<TRMetadata> trMetadatas) |
checkPermutationStrongName, doGetSerializationPolicy, getSerializationPolicy, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponsedoPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContentdoDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, serviceprotected static org.slf4j.Logger logger
protected static SimpleDateFormat sdf
protected static SimpleDateFormat sdfDate
protected static SimpleDateFormat sdfPerformance
public UserInfo hello() throws TDGWTServiceException
hello in interface TDGWTServiceTDGWTServiceExceptionpublic org.gcube.portlets.user.td.widgetcommonevent.shared.TRId restoreUISession()
throws TDGWTServiceException
restoreUISession in interface TDGWTServiceTDGWTServiceExceptionpublic void setTabResource(TabResource tabResource) throws TDGWTServiceException
setTabResource in interface TDGWTServiceTDGWTServiceExceptionpublic org.gcube.portlets.user.td.widgetcommonevent.shared.TRId getCurrentTRId()
throws TDGWTServiceException
getCurrentTRId in interface TDGWTServiceTDGWTServiceExceptionpublic void closeAllTabularResources()
throws TDGWTServiceException
closeAllTabularResources in interface TDGWTServiceTDGWTServiceExceptionpublic void closeTabularResourceAndOpen(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId openTRId,
org.gcube.portlets.user.td.widgetcommonevent.shared.TRId closeTRId)
throws TDGWTServiceException
closeTabularResourceAndOpen in interface TDGWTServiceTDGWTServiceExceptionpublic void closeTabularResource(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId closeTRId)
throws TDGWTServiceException
TDGWTServicecloseTabularResource in interface TDGWTServiceTDGWTServiceExceptionpublic void setActiveTabularResource(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId activeTRId)
throws TDGWTServiceException
setActiveTabularResource in interface TDGWTServiceTDGWTServiceExceptionpublic TabResource getInSessionTabResourceInfo() throws TDGWTServiceException
TDGWTServicegetInSessionTabResourceInfo in interface TDGWTServiceTDGWTServiceExceptionpublic TabResource getTabResourceInformation() throws TDGWTServiceException
getTabResourceInformation in interface TDGWTServiceTDGWTServiceExceptionpublic TabResource getTabResourceInformation(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trId) throws TDGWTServiceException
getTabResourceInformation in interface TDGWTServiceTDGWTServiceExceptionprotected void updateTabResourceInformation(TabResource tabResource, ArrayList<TRMetadata> trMetadatas)
public ArrayList<ColumnData> getColumns() throws TDGWTServiceException
getColumns in interface TDGWTServiceTDGWTServiceExceptionpublic ArrayList<ColumnData> getColumns(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trId) throws TDGWTServiceException
getColumns in interface TDGWTServiceTDGWTServiceExceptionpublic ColumnData getColumn(String columnLocalId, org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trId) throws TDGWTServiceException
getColumn in interface TDGWTServiceTDGWTServiceExceptionpublic ColumnData getColumn(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trId, String columnName) throws TDGWTServiceException
getColumn in interface TDGWTServiceTDGWTServiceExceptionpublic ArrayList<ColumnData> getValidationColumns(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trId, String columnName) throws TDGWTServiceException
getValidationColumns in interface TDGWTServiceTDGWTServiceExceptionpublic TableData getLastTable(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trId) throws TDGWTServiceException
getLastTable in interface TDGWTServiceTDGWTServiceExceptionpublic TableData getTable(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trId) throws TDGWTServiceException
getTable in interface TDGWTServiceTDGWTServiceExceptionpublic void tdOpen(TDOpenSession s) throws TDGWTServiceException
tdOpen in interface TDGWTServiceTDGWTServiceExceptionprotected void syncTRMetaData(org.gcube.data.analysis.tabulardata.service.tabular.TabularResource tr,
TabResource tabResource)
tr - tabResource - protected void retrieveTRMetadataFromServiceAndLastTable(org.gcube.data.analysis.tabulardata.service.TabularDataService service,
org.gcube.data.analysis.tabulardata.service.tabular.TabularResource tr)
throws TDGWTServiceException
tr - TDGWTServiceExceptionprotected TabResource retrieveTRMetadataFromService(org.gcube.data.analysis.tabulardata.service.TabularDataService service, org.gcube.data.analysis.tabulardata.service.tabular.TabularResource tr, int i) throws TDGWTServiceException
tr - TabularResource on servicei - Index on GridTDGWTServiceExceptionprotected TabResource retrieveTRMetadataFromServiceAndLastTable(org.gcube.data.analysis.tabulardata.service.TabularDataService service, org.gcube.data.analysis.tabulardata.service.tabular.TabularResource tr, int i) throws TDGWTServiceException
tr - TabularResource on servicei - Index on GridTDGWTServiceExceptionpublic void setCodelistsPagingLoader()
throws TDGWTServiceException
setCodelistsPagingLoader in interface TDGWTServiceTDGWTServiceExceptionpublic CodelistPagingLoadResult getCodelistsPagingLoader(CodelistPagingLoadConfig plc) throws TDGWTServiceException
getCodelistsPagingLoader in interface TDGWTServiceTDGWTServiceExceptionprotected ArrayList<TabResource> filterPagingRow(CodelistPagingLoadConfig plc, ArrayList<TabResource> ltr, javax.servlet.http.HttpSession session)
protected ArrayList<TabResource> OrderPagingRow(CodelistPagingLoadConfig plc, ArrayList<TabResource> ltrCopy, javax.servlet.http.HttpSession session)
public ArrayList<TabResource> getTabularResourcesAndLastTables() throws TDGWTServiceException
getTabularResourcesAndLastTables in interface TDGWTServiceTDGWTServiceExceptionpublic ArrayList<TabResource> getTabularResources() throws TDGWTServiceException
getTabularResources in interface TDGWTServiceTDGWTServiceExceptionpublic void removeTabularResource(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trId)
throws TDGWTServiceException
TDGWTServiceremoveTabularResource in interface TDGWTServicetabResource - TDGWTServiceExceptionpublic TabResource createTabularResource(TabResource tabResource) throws TDGWTServiceException
createTabularResource in interface TDGWTServiceTDGWTServiceExceptionpublic ArrayList<Codelist> getCodelists() throws TDGWTServiceException
getCodelists in interface TDGWTServiceTDGWTServiceExceptionpublic ArrayList<Dataset> getDatasets() throws TDGWTServiceException
getDatasets in interface TDGWTServiceTDGWTServiceExceptionpublic ArrayList<Agencies> getAgencies() throws TDGWTServiceException
getAgencies in interface TDGWTServiceTDGWTServiceExceptionprotected Map<String,Object> retrieveOperationParameters(SDMXImportSession sdmxImportSession)
sdmxImportSession - public String startSDMXImport(SDMXImportSession sdmxImportSession) throws TDGWTServiceException
startSDMXImport in interface TDGWTServiceTDGWTServiceExceptionprotected org.gcube.portlets.user.td.widgetcommonevent.shared.TRId retrieveTabularResourceBasicData(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trId)
throws TDGWTServiceException
trId - TDGWTServiceExceptionpublic void setSDMXRegistrySource(SDMXRegistrySource sdmxRegistrySource) throws TDGWTServiceException
setSDMXRegistrySource in interface TDGWTServiceTDGWTServiceExceptionpublic void setCSVSession(CSVImportSession importSession) throws TDGWTServiceException
setCSVSession in interface TDGWTServiceTDGWTServiceExceptionpublic FileUploadMonitor getFileUploadMonitor() throws TDGWTServiceException
getFileUploadMonitor in interface TDGWTServiceTDGWTServiceExceptionpublic AvailableCharsetList getAvailableCharset() throws TDGWTServiceException
getAvailableCharset in interface TDGWTServiceTDGWTServiceExceptionpublic ArrayList<String> configureCSVParser(String encoding, HeaderPresence headerPresence, char delimiter, char comment) throws TDGWTServiceException
configureCSVParser in interface TDGWTServiceTDGWTServiceExceptionpublic CheckCSVSession checkCSV(long errorsLimit) throws TDGWTServiceException
checkCSV in interface TDGWTServiceTDGWTServiceExceptionpublic String startCSVImport(CSVImportSession csvImportSession) throws TDGWTServiceException
startCSVImport in interface TDGWTServiceTDGWTServiceExceptionprotected Map<String,Object> csvImportFileParameter(String fileUrlOnStorage, CSVFileUploadSession fileUploadSession, CSVImportSession csvImportSession)
fileUrlOnStorage - fileUploadSession - csvImportSession - protected String importCSVFileOnService(javax.servlet.http.HttpSession session, org.gcube.application.framework.core.session.ASLSession aslSession, String user, CSVFileUploadSession fileUploadSession, CSVImportSession csvImportSession) throws TDGWTServiceException
user - fileUploadSession - csvImportSession - TDGWTServiceExceptionpublic void getFileFromWorkspace(CSVImportSession csvImportSession) throws TDGWTServiceException
getFileFromWorkspace in interface TDGWTServiceTDGWTServiceExceptionpublic String getTRCreationDate(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trId) throws TDGWTServiceException
getTRCreationDate in interface TDGWTServiceTDGWTServiceExceptionpublic Boolean isTabularResourceValid(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trId) throws TDGWTServiceException
TDGWTServiceisTabularResourceValid in interface TDGWTServicetrId - TDGWTServiceExceptionpublic Boolean isTabularResourceFinalized(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trId) throws TDGWTServiceException
trId - TDGWTServiceExceptionpublic Boolean isTabularResourceLocked(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trId) throws TDGWTServiceException
trId - TDGWTServiceExceptionprotected ArrayList<TRMetadata> getTRMetadata(org.gcube.data.analysis.tabulardata.service.tabular.TabularResource tr) throws TDGWTServiceException
TDGWTServiceExceptionpublic ArrayList<TRMetadata> getTRMetadata(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trId) throws TDGWTServiceException
getTRMetadata in interface TDGWTServiceTDGWTServiceExceptionpublic TabValidationsMetadata getTableValidationsMetadata(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trId) throws TDGWTServiceException
TDGWTServicegetTableValidationsMetadata in interface TDGWTServicetrId - TDGWTServiceExceptionpublic ArrayList<TabMetadata> getTableMetadata(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trId) throws TDGWTServiceException
getTableMetadata in interface TDGWTServiceTDGWTServiceExceptionprotected Map<String,Object> sdmxExportParameter(SDMXExportSession exportSession) throws TDGWTServiceException
exportSession - TDGWTServiceExceptionprotected void checkTRId(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trId)
throws TDGWTServiceException
TDGWTServiceExceptionprotected void checkTabularResourceLocked(org.gcube.data.analysis.tabulardata.service.tabular.TabularResource tabularResource)
throws TDGWTServiceException
service - trId - TDGWTServiceExceptionprotected void checkTabularResourceIsFinal(org.gcube.data.analysis.tabulardata.service.tabular.TabularResource tabularResource)
throws TDGWTServiceException
service - trId - TDGWTServiceExceptionpublic String startSDMXExport(SDMXExportSession exportSession) throws TDGWTServiceException
TDGWTServicestartSDMXExport in interface TDGWTServiceexportSession - TDGWTServiceExceptionpublic String startCSVExport(CSVExportSession exportSession) throws TDGWTServiceException
startCSVExport in interface TDGWTServiceTDGWTServiceExceptionpublic String startJSONExport(JSONExportSession exportSession) throws TDGWTServiceException
startJSONExport in interface TDGWTServiceTDGWTServiceExceptionpublic String startChangeColumnType(ChangeColumnTypeSession changeColumnTypeSession) throws TDGWTServiceException
startChangeColumnType in interface TDGWTServiceTDGWTServiceExceptionpublic String startAddColumn(AddColumnSession addColumnSession) throws TDGWTServiceException
startAddColumn in interface TDGWTServiceTDGWTServiceExceptionpublic String startDeleteColumn(DeleteColumnSession deleteColumnSession) throws TDGWTServiceException
startDeleteColumn in interface TDGWTServiceTDGWTServiceExceptionpublic String startFilterColumn(FilterColumnSession filterColumnSession, org.gcube.data.analysis.tabulardata.expression.Expression expression, javax.servlet.http.HttpSession session) throws TDGWTServiceException
filterColumnSession - expression - session - TDGWTServiceExceptionpublic String startReplaceColumnByExpression(ReplaceColumnByExpressionSession replaceColumnByExpressionSession, org.gcube.data.analysis.tabulardata.expression.Expression conditionExpression, org.gcube.data.analysis.tabulardata.expression.Expression replaceExpression, javax.servlet.http.HttpSession session) throws TDGWTServiceException
replaceColumnByExpressionSession - conditionExpression - replaceExpression - session - TDGWTServiceExceptionpublic String startLabelColumn(LabelColumnSession labelColumnSession) throws TDGWTServiceException
startLabelColumn in interface TDGWTServiceTDGWTServiceExceptionpublic String startChangeTableType(ChangeTableTypeSession changeTableTypeSession) throws TDGWTServiceException
startChangeTableType in interface TDGWTServiceTDGWTServiceExceptionpublic ArrayList<ColumnData> getColumnsForDimension(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trId) throws TDGWTServiceException
getColumnsForDimension in interface TDGWTServiceTDGWTServiceExceptionpublic String startDeleteRows(DeleteRowsSession deleteRowsSession) throws TDGWTServiceException
startDeleteRows in interface TDGWTServiceTDGWTServiceExceptionpublic String startCloneTabularResource(CloneTabularResourceSession cloneTabularResourceSession) throws TDGWTServiceException
startCloneTabularResource in interface TDGWTServiceTDGWTServiceExceptionpublic String startDuplicates(DuplicatesSession duplicatesSession) throws TDGWTServiceException
startDuplicates in interface TDGWTServiceTDGWTServiceExceptionprotected ArrayList<Contacts> retrieveShareInfo(org.gcube.data.analysis.tabulardata.service.tabular.TabularResource tr) throws TDGWTServiceException
TDGWTServiceExceptionpublic void setShare(ShareTabResource shareInfo) throws TDGWTServiceException
setShare in interface TDGWTServiceTDGWTServiceExceptionpublic void setShareTemplate(ShareTemplate shareTemplate) throws TDGWTServiceException
setShareTemplate in interface TDGWTServiceTDGWTServiceExceptionpublic boolean checkTabularResourceNotFinal(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trId)
throws TDGWTServiceException
TDGWTServiceExceptionpublic void setTabResourceInformation(TabResource tabResource) throws TDGWTServiceException
setTabResourceInformation in interface TDGWTServiceTDGWTServiceExceptionpublic ArrayList<Occurrences> getOccurrencesForBatchReplace(OccurrencesForReplaceBatchColumnSession occurrencesForReplaceBatchColumnSession) throws TDGWTServiceException
getOccurrencesForBatchReplace in interface TDGWTServiceTDGWTServiceExceptionpublic ArrayList<TemplateData> getTemplates() throws TDGWTServiceException
getTemplates in interface TDGWTServiceTDGWTServiceExceptionprotected ArrayList<Contacts> retrieveTemplateShareInfo(org.gcube.data.analysis.tabulardata.commons.webservice.types.TemplateDescription templateDescription) throws TDGWTServiceException
TDGWTServiceExceptionpublic String startTemplateApply(TemplateApplySession templateApplySession) throws TDGWTServiceException
startTemplateApply in interface TDGWTServiceTDGWTServiceExceptionpublic void templateDelete(TemplateDeleteSession templateDeleteSession) throws TDGWTServiceException
templateDelete in interface TDGWTServiceTDGWTServiceExceptionpublic String startReplaceColumn(ReplaceColumnSession replaceColumnSession) throws TDGWTServiceException
startReplaceColumn in interface TDGWTServiceTDGWTServiceExceptionpublic String startReplaceBatchColumn(ReplaceBatchColumnSession replaceBatchColumnSession) throws TDGWTServiceException
startReplaceBatchColumn in interface TDGWTServiceTDGWTServiceExceptionpublic ArrayList<String> getLocales() throws TDGWTServiceException
getLocales in interface TDGWTServiceTDGWTServiceExceptionpublic OpHistory getLastOperationInfo() throws TDGWTServiceException
getLastOperationInfo in interface TDGWTServiceTDGWTServiceExceptionpublic OpHistory getLastOperationInfo(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trId) throws TDGWTServiceException
getLastOperationInfo in interface TDGWTServiceTDGWTServiceExceptionpublic ArrayList<OpHistory> getHistory() throws TDGWTServiceException
getHistory in interface TDGWTServiceTDGWTServiceExceptionpublic ArrayList<OpHistory> getHistory(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trId) throws TDGWTServiceException
getHistory in interface TDGWTServiceTDGWTServiceExceptionpublic String startDiscard(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trId) throws TDGWTServiceException
startDiscard in interface TDGWTServiceTDGWTServiceExceptionpublic String startRollBack(RollBackSession rollBackSession) throws TDGWTServiceException
startRollBack in interface TDGWTServiceTDGWTServiceExceptionpublic ValidationsTasksMetadata getValidationsTasksMetadata(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trId) throws TDGWTServiceException
TDGWTServicegetValidationsTasksMetadata in interface TDGWTServiceTDGWTServiceExceptionpublic String startEditRow(EditRowSession editRowSession) throws TDGWTServiceException
TDGWTServicestartEditRow in interface TDGWTServiceTDGWTServiceExceptionpublic ColumnData getConnection(RefColumn refColumn) throws TDGWTServiceException
getConnection in interface TDGWTServiceTDGWTServiceExceptionpublic String startTaskResubmit(TaskResubmitSession taskResubmitSession) throws TDGWTServiceException
TDGWTServicestartTaskResubmit in interface TDGWTServiceTDGWTServiceExceptionpublic String startTaskResume(TaskResumeSession taskResumeSession) throws TDGWTServiceException
TDGWTServicestartTaskResume in interface TDGWTServiceTDGWTServiceExceptionpublic String startExtractCodelist(ExtractCodelistSession extractCodelistSession) throws TDGWTServiceException
TDGWTServicestartExtractCodelist in interface TDGWTServiceTDGWTServiceExceptionpublic String startSplitColumn(SplitColumnSession splitColumnSession, javax.servlet.http.HttpSession session) throws TDGWTServiceException
TDGWTServiceExceptionpublic String startMergeColumn(MergeColumnSession mergeColumnSession, javax.servlet.http.HttpSession session) throws TDGWTServiceException
TDGWTServiceExceptionpublic void setCodelistMappingSession(CodelistMappingSession codelistMappingSession) throws TDGWTServiceException
setCodelistMappingSession in interface TDGWTServiceTDGWTServiceExceptionpublic void getFileFromWorkspace(CodelistMappingSession codelistMappingSession) throws TDGWTServiceException
getFileFromWorkspace in interface TDGWTServiceTDGWTServiceExceptionpublic String startCodelistMappingImport(CodelistMappingSession codelistMappingSession) throws TDGWTServiceException
TDGWTServicestartCodelistMappingImport in interface TDGWTServiceTDGWTServiceExceptionprotected String importCodelistMappingFileOnService(javax.servlet.http.HttpSession session, org.gcube.application.framework.core.session.ASLSession aslSession, String user, CodelistMappingSession codelistMappingSession) throws Throwable
user - codelistMappingFileUploadSession - codelistMappingSession - TDGWTServiceExceptionThrowablepublic String startGroupBy(GroupBySession groupBySession, javax.servlet.http.HttpSession session) throws TDGWTServiceException
TDGWTServiceExceptionpublic String startNormalization(NormalizationSession normalizationSession) throws TDGWTServiceException
TDGWTServicestartNormalization in interface TDGWTServiceTDGWTServiceExceptionpublic String startDenormalization(DenormalizationSession denormalizationSession) throws TDGWTServiceException
TDGWTServicestartDenormalization in interface TDGWTServiceTDGWTServiceExceptionpublic String startUnion(UnionSession unionSession) throws TDGWTServiceException
startUnion in interface TDGWTServiceTDGWTServiceExceptionpublic OperationMonitor getOperationMonitor(OperationMonitorSession operationMonitorSession) throws TDGWTServiceException
getOperationMonitor in interface TDGWTServiceTDGWTServiceExceptionpublic ArrayList<LicenceData> getLicences() throws TDGWTServiceException
TDGWTServicegetLicences in interface TDGWTServiceTDGWTServiceExceptionpublic ArrayList<OperationMonitor> getBackgroundOperationMonitor(BackgroundOperationMonitorSession backgroundOperationMonitorSession) throws TDGWTServiceException
TDGWTServicegetBackgroundOperationMonitor in interface TDGWTServiceTDGWTServiceExceptionpublic ArrayList<ResourceTDDescriptor> getResourcesTD(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trId) throws TDGWTServiceException
TDGWTServicegetResourcesTD in interface TDGWTServiceTDGWTServiceExceptionpublic ArrayList<ResourceTDDescriptor> getResourcesTDByType(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trId, ResourceTDType resourceTDType) throws TDGWTServiceException
TDGWTServicegetResourcesTDByType in interface TDGWTServiceTDGWTServiceExceptionpublic String startMapCreation(MapCreationSession mapCreationSession) throws TDGWTServiceException
TDGWTServicestartMapCreation in interface TDGWTServiceTDGWTServiceExceptionpublic String getUriFromResolver(UriResolverSession uriResolverSession) throws TDGWTServiceException
TDGWTServicegetUriFromResolver in interface TDGWTServiceTDGWTServiceExceptionCopyright © 2014. All Rights Reserved.