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( 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 getResultLink(String jobId)
           
 org.gcube.data.spd.stubs.StatusResponse 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( 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 org.gcube.data.spd.plugin.fwk.exceptions.IdNotValidException
Specified by:
getResultLink in interface Executor
Throws:
org.gcube.data.spd.plugin.fwk.exceptions.IdNotValidException

getStatus

public org.gcube.data.spd.stubs.StatusResponse getStatus(String jobId)
                                                  throws org.gcube.data.spd.plugin.fwk.exceptions.IdNotValidException
Specified by:
getStatus in interface Executor
Throws:
org.gcube.data.spd.plugin.fwk.exceptions.IdNotValidException

removeJob

public void removeJob(String jobId)
               throws org.gcube.data.spd.plugin.fwk.exceptions.IdNotValidException
Specified by:
removeJob in interface Executor
Throws:
org.gcube.data.spd.plugin.fwk.exceptions.IdNotValidException


Copyright © 2012. All Rights Reserved.