org.gcube.application.aquamaps.publisher
Class Publisher

java.lang.Object
  extended by org.gcube.application.aquamaps.publisher.Publisher
Direct Known Subclasses:
PublisherImpl

public abstract class Publisher
extends Object


Constructor Summary
Publisher()
           
 
Method Summary
abstract
<T extends Storable>
void
deleteById(Class<T> clazz, ObjectManager<T> manager, String id)
           
abstract
<T extends CoverageDescriptor>
Future<T>
get(Class<T> clazz, ObjectManager<T> manager, CoverageDescriptor coverageDescriptor)
           
abstract
<T extends CoverageDescriptor>
Iterator<T>
getByCoverage(Class<T> clazz, CoverageDescriptor descriptor)
           
abstract
<T extends Storable>
T
getById(Class<T> clazz, String id)
           
abstract  List<FileSet> getFileSetsBySpeciesIds(String speciesId)
           
abstract  List<Layer> getLayersBySpeciesIds(String speciesId)
           
static Publisher getPublisher()
           
abstract  File getServerPathDir()
           
abstract  String getWebServerUrl()
           
abstract  Iterator<WMSContext> getWMSContextByLayer(String layerId)
           
abstract  ReportDescriptor initialize(PublisherConfiguration configuration)
           
abstract  void shutdown()
           
abstract
<T extends Storable>
StoreResponse<T>
store(Class<T> clazz, ObjectManager<T> generator, StoreConfiguration config, CoverageDescriptor... descriptor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Publisher

public Publisher()
Method Detail

getPublisher

public static Publisher getPublisher()

initialize

public abstract ReportDescriptor initialize(PublisherConfiguration configuration)
                                     throws Exception
Throws:
Exception

store

public abstract <T extends Storable> StoreResponse<T> store(Class<T> clazz,
                                                            ObjectManager<T> generator,
                                                            StoreConfiguration config,
                                                            CoverageDescriptor... descriptor)
                                                 throws Exception
Throws:
Exception

get

public abstract <T extends CoverageDescriptor> Future<T> get(Class<T> clazz,
                                                             ObjectManager<T> manager,
                                                             CoverageDescriptor coverageDescriptor)
                                                  throws Exception
Throws:
Exception

deleteById

public abstract <T extends Storable> void deleteById(Class<T> clazz,
                                                     ObjectManager<T> manager,
                                                     String id)
                         throws Exception
Throws:
Exception

getById

public abstract <T extends Storable> T getById(Class<T> clazz,
                                               String id)
                                    throws Exception
Throws:
Exception

getByCoverage

public abstract <T extends CoverageDescriptor> Iterator<T> getByCoverage(Class<T> clazz,
                                                                         CoverageDescriptor descriptor)
                                                              throws Exception
Throws:
Exception

getLayersBySpeciesIds

public abstract List<Layer> getLayersBySpeciesIds(String speciesId)
                                           throws Exception
Throws:
Exception

getFileSetsBySpeciesIds

public abstract List<FileSet> getFileSetsBySpeciesIds(String speciesId)
                                               throws Exception
Throws:
Exception

getWMSContextByLayer

public abstract Iterator<WMSContext> getWMSContextByLayer(String layerId)
                                                   throws Exception
Throws:
Exception

shutdown

public abstract void shutdown()
                       throws Exception
Throws:
Exception

getWebServerUrl

public abstract String getWebServerUrl()

getServerPathDir

public abstract File getServerPathDir()


Copyright © 2013. All Rights Reserved.