org.gcube.application.aquamaps.publisher.impl
Class PublisherImpl
java.lang.Object
org.gcube.application.aquamaps.publisher.Publisher
org.gcube.application.aquamaps.publisher.impl.PublisherImpl
public class PublisherImpl
- extends Publisher
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static final org.slf4j.Logger logger
webServerUrl
public static String webServerUrl
serverPathDir
public static File serverPathDir
PublisherImpl
public PublisherImpl()
get
public static PublisherImpl get()
initialize
public ReportDescriptor initialize(PublisherConfiguration configuration)
throws Exception
- Specified by:
initialize in class Publisher
- Throws:
Exception
get
public <T extends CoverageDescriptor> Future<T> get(Class<T> clazz,
ObjectManager<T> manager,
CoverageDescriptor coverageDescriptor)
throws Exception
- Specified by:
get in class Publisher
- Throws:
Exception
getByCoverage
public <T extends CoverageDescriptor> Iterator<T> getByCoverage(Class<T> clazz,
CoverageDescriptor descriptor)
throws Exception
- Specified by:
getByCoverage in class Publisher
- Throws:
Exception
getWMSContextByLayer
public Iterator<WMSContext> getWMSContextByLayer(String layerId)
throws Exception
- Specified by:
getWMSContextByLayer in class Publisher
- Throws:
Exception
store
public <T extends Storable> StoreResponse<T> store(Class<T> clazz,
ObjectManager<T> manager,
StoreConfiguration config,
CoverageDescriptor... descriptor)
throws Exception
- Specified by:
store in class Publisher
- Throws:
Exception
deleteById
public <T extends Storable> void deleteById(Class<T> clazz,
ObjectManager<T> manager,
String id)
throws Exception
- Specified by:
deleteById in class Publisher
- Throws:
Exception
getById
public <T extends Storable> T getById(Class<T> clazz,
String id)
throws Exception
- Specified by:
getById in class Publisher
- Throws:
Exception
getLayersBySpeciesIds
public List<Layer> getLayersBySpeciesIds(String speciesId)
throws Exception
- Specified by:
getLayersBySpeciesIds in class Publisher
- Throws:
Exception
getFileSetsBySpeciesIds
public List<FileSet> getFileSetsBySpeciesIds(String speciesId)
throws Exception
- Specified by:
getFileSetsBySpeciesIds in class Publisher
- Throws:
Exception
shutdown
public void shutdown()
throws Exception
- Specified by:
shutdown in class Publisher
- Throws:
Exception
getWebServerUrl
public String getWebServerUrl()
- Specified by:
getWebServerUrl in class Publisher
getServerPathDir
public File getServerPathDir()
- Specified by:
getServerPathDir in class Publisher
- Returns:
- the serverPathDir
Copyright © 2013. All Rights Reserved.