28 lines
977 B
Java
28 lines
977 B
Java
package org.gcube.data.spd.client.proxies;
|
|
|
|
import org.gcube.data.spd.model.service.exceptions.InvalidIdentifierException;
|
|
import org.gcube.data.spd.model.service.types.CompleteJobStatus;
|
|
import org.gcube.data.streams.Stream;
|
|
|
|
public interface ExecutorClient {
|
|
|
|
public String createDwCAByChildren(String taxonKey) throws Exception;
|
|
|
|
public String getResultLink(String jobId) throws InvalidIdentifierException;
|
|
|
|
public String getErrorLink(String jobId) throws InvalidIdentifierException;
|
|
|
|
public CompleteJobStatus getStatus(String jobId) throws InvalidIdentifierException;
|
|
|
|
public void removeJob(String jobId) throws InvalidIdentifierException;
|
|
|
|
public String createDwCAByIds(final Stream<String> ids) throws Exception;
|
|
|
|
public String createCSV(final Stream<String> ids) throws Exception;
|
|
|
|
public String createCSVforOM(final Stream<String> ids) throws Exception;
|
|
|
|
public String createDarwincoreFromOccurrenceKeys(final Stream<String> ids) throws Exception;
|
|
|
|
}
|