public class DefaultDataManagement extends Object implements DataManagement
Constructor and Description |
---|
DefaultDataManagement(org.gcube.common.clients.delegates.ProxyDelegate<DataManagementStub> delegate) |
public DefaultDataManagement(org.gcube.common.clients.delegates.ProxyDelegate<DataManagementStub> delegate)
public String analyzeTables(Analysis request) throws RemoteException, Exception
analyzeTables
in interface DataManagement
RemoteException
Exception
public String submitRequest(SourceGenerationRequest request) throws RemoteException, Exception
submitRequest
in interface DataManagement
RemoteException
Exception
public EnvironmentalExecutionReportItem getReport(List<String> ids) throws RemoteException, Exception
getReport
in interface DataManagement
RemoteException
Exception
public Integer generateMaps(String author, boolean enableGIS, Integer hspecId, List<Field> speciesFilter, boolean forceRegeneration) throws RemoteException, Exception
generateMaps
in interface DataManagement
RemoteException
Exception
public String removeRequest(String id, boolean deleteData, boolean deleteJobs) throws RemoteException, Exception
removeRequest
in interface DataManagement
RemoteException
Exception
public List<Field> getDefaultSources() throws RemoteException, Exception
getDefaultSources
in interface DataManagement
RemoteException
Exception
public Resource updateResource(Resource toUpdate) throws RemoteException, Exception
updateResource
in interface DataManagement
RemoteException
Exception
public void deleteResource(int resourceId) throws RemoteException, Exception
deleteResource
in interface DataManagement
RemoteException
Exception
public CustomQueryDescriptorStubs setCustomQuery(String userId, String queryString) throws RemoteException, Exception
setCustomQuery
in interface DataManagement
RemoteException
Exception
public String viewCustomQuery(String userId, PagedRequestSettings settings) throws RemoteException, Exception
viewCustomQuery
in interface DataManagement
RemoteException
Exception
public Integer asyncImportResource(File toImport, String userId, ResourceType type, String encoding, Boolean[] fieldsMask, boolean hasHeader, char delimiter) throws RemoteException, Exception
asyncImportResource
in interface DataManagement
RemoteException
Exception
public Resource syncImportResource(File toImport, String userId, ResourceType type, String encoding, Boolean[] fieldsMask, boolean hasHeader, char delimiter) throws RemoteException, Exception
syncImportResource
in interface DataManagement
RemoteException
Exception
public File exportTableAsCSV(String table, String basketId, String user, String toSaveName, ExportOperation operationType) throws RemoteException, Exception
DataManagement
exportTableAsCSV
in interface DataManagement
RemoteException
Exception
public File loadAnalysisResults(String id, String userId) throws RemoteException, Exception
loadAnalysisResults
in interface DataManagement
RemoteException
Exception
public String resubmitGeneration(String id) throws RemoteException, Exception
resubmitGeneration
in interface DataManagement
RemoteException
Exception
public void deleteAnalysis(String id) throws RemoteException, Exception
deleteAnalysis
in interface DataManagement
RemoteException
Exception
public String getJSONView(PagedRequestSettings settings, String tableName, List<Field> filters) throws RemoteException, Exception
getJSONView
in interface DataManagement
RemoteException
Exception
public String getSystemTableName(SystemTable tableType) throws RemoteException, Exception
getSystemTableName
in interface DataManagement
RemoteException
Exception
public Resource loadResource(int resId) throws RemoteException, Exception
loadResource
in interface DataManagement
RemoteException
Exception
Copyright © 2017. All Rights Reserved.