org.gcube.data.spd.client.proxies
Class DefaultExecutor

java.lang.Object
  extended by org.gcube.data.spd.client.proxies.DefaultExecutor
All Implemented Interfaces:
Executor

public class DefaultExecutor
extends Object
implements Executor


Constructor Summary
DefaultExecutor(org.gcube.common.clients.delegates.ProxyDelegate<ExecutorStub> delegate)
           
 
Method Summary
 String createCSV(org.gcube.data.streams.Stream<String> keys)
           
 String createCSVforOM(org.gcube.data.streams.Stream<String> keys)
           
 String createDarwincoreFromOccurrenceKeys(org.gcube.data.streams.Stream<String> keys)
           
 String createDwCAByChildren(String taxonKey)
           
 String createDwCAByIds(org.gcube.data.streams.Stream<String> ids)
           
 String getErrorLink(String jobId)
           
 String getResultLink(String jobId)
           
 Status getStatus(String jobId)
           
 void removeJob(String jobId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultExecutor

public DefaultExecutor(org.gcube.common.clients.delegates.ProxyDelegate<ExecutorStub> delegate)
Method Detail

createDwCAByChildren

public String createDwCAByChildren(String taxonKey)
                            throws Exception
Specified by:
createDwCAByChildren in interface Executor
Throws:
Exception

createDwCAByIds

public String createDwCAByIds(org.gcube.data.streams.Stream<String> ids)
                       throws Exception
Specified by:
createDwCAByIds in interface Executor
Throws:
Exception

createCSV

public String createCSV(org.gcube.data.streams.Stream<String> keys)
                 throws Exception
Specified by:
createCSV in interface Executor
Throws:
Exception

createCSVforOM

public String createCSVforOM(org.gcube.data.streams.Stream<String> keys)
                      throws Exception
Specified by:
createCSVforOM in interface Executor
Throws:
Exception

createDarwincoreFromOccurrenceKeys

public String createDarwincoreFromOccurrenceKeys(org.gcube.data.streams.Stream<String> keys)
                                          throws Exception
Specified by:
createDarwincoreFromOccurrenceKeys in interface Executor
Throws:
Exception

getResultLink

public String getResultLink(String jobId)
                     throws InvalidIdentifierException
Specified by:
getResultLink in interface Executor
Throws:
InvalidIdentifierException

getStatus

public Status getStatus(String jobId)
                 throws InvalidIdentifierException
Specified by:
getStatus in interface Executor
Throws:
InvalidIdentifierException

removeJob

public void removeJob(String jobId)
               throws InvalidIdentifierException
Specified by:
removeJob in interface Executor
Throws:
InvalidIdentifierException

getErrorLink

public String getErrorLink(String jobId)
                    throws InvalidIdentifierException
Specified by:
getErrorLink in interface Executor
Throws:
InvalidIdentifierException


Copyright © 2013. All Rights Reserved.