public interface WcsCatalog
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Always called when the service is shutting down so that the catalog can perform
sensible exiting activities.
|
CoverageDescription |
getCoverageDescription(java.lang.String coverageId)
Queries the catalog for a CoverageDescription
with an ID (wcs:Identifier) equal to the passed String.
|
org.jdom.Element |
getCoverageDescriptionElement(java.lang.String coverageId)
Queries the catalog for a CoverageDescription
with an ID (wcs:Identifier) equal to the passed String.
|
org.jdom.Element |
getCoverageSummaryElement(java.lang.String coverageId)
Queries the catalog for a wcs:CoverageOfferingBrief
with an ID (wcs:Identifier) equal to the passed String.
|
java.util.Collection<org.jdom.Element> |
getCoverageSummaryElements()
Queries the catalog and returns all wcs:CoverageOfferingBrief elements
found therin.
|
java.lang.String |
getDapDatsetUrl(java.lang.String coverageID)
Returns the base data access URL for this coverage.
|
java.util.Collection<org.jdom.Element> |
getDatasetSeriesSummaryElements()
Queries the catalog and returns all wcs:CoverageOfferingBrief elements
found therin.
|
EOCoverageDescription |
getEOCoverageDescription(java.lang.String id) |
EODatasetSeries |
getEODatasetSeries(java.lang.String id) |
long |
getLastModified()
This should provide the last modified time of the catalog.
|
boolean |
hasCoverage(java.lang.String coverageId)
Queries the catalog to determine if it contains information on a Coverage
with an ID (wcs:Identifier) equal to the passed String
|
boolean |
hasEoCoverage(java.lang.String id) |
void |
init(org.jdom.Element config,
java.lang.String cacheDir,
java.lang.String serviceContextPath)
Initializes the catalog.
|
boolean |
matches(java.lang.String coverageId) |
void |
update() |
void init(org.jdom.Element config, java.lang.String cacheDir, java.lang.String serviceContextPath) throws java.lang.Exception
config
- A URL the when de-referenced will return a document that contains
a WcsCatalog configuration element as a child of the root element.cacheDir
- The directory into which the catalog may choose to write persistent content,
intermediate files, etc.serviceContextPath
- The service context, should be /context/servletjava.lang.Exception
- When the bad things happen.boolean hasCoverage(java.lang.String coverageId) throws java.lang.InterruptedException
coverageId
- The Coverage ID (wcs:Identifier)java.lang.InterruptedException
CoverageDescription getCoverageDescription(java.lang.String coverageId) throws java.lang.InterruptedException, WcsException
coverageId
- The Coverage ID (wcs:Identifier)WcsException
- When the bad things happen.java.lang.InterruptedException
org.jdom.Element getCoverageDescriptionElement(java.lang.String coverageId) throws java.lang.InterruptedException, WcsException
coverageId
- The Coverage ID (wcs:Identifier)WcsException
- When the bad things happen.java.lang.InterruptedException
org.jdom.Element getCoverageSummaryElement(java.lang.String coverageId) throws java.lang.InterruptedException, WcsException
Since the wcs:CoverageOfferingBrief is derivable from the conent of wcs:CoverageDecription it may be that we want to migrate this method out of the interface.
coverageId
- The Coverage ID (wcs:Identifier)WcsException
- When the bad things happen.java.lang.InterruptedException
java.util.Collection<org.jdom.Element> getCoverageSummaryElements() throws java.lang.InterruptedException, WcsException
Since the wcs:CoverageOfferingBrief is derivable from the conent of wcs:CoverageDecription it may be that we want to migrate this method out of the interface.
WcsException
- When the bad things happen.java.lang.InterruptedException
java.util.Collection<org.jdom.Element> getDatasetSeriesSummaryElements() throws java.lang.InterruptedException, WcsException
Since the wcs:CoverageOfferingBrief is derivable from the conent of wcs:CoverageDecription it may be that we want to migrate this method out of the interface.
WcsException
- When the bad things happen.java.lang.InterruptedException
java.lang.String getDapDatsetUrl(java.lang.String coverageID) throws java.lang.InterruptedException
coverageID
- java.lang.InterruptedException
long getLastModified()
void destroy()
void update() throws java.lang.Exception
java.lang.Exception
EOCoverageDescription getEOCoverageDescription(java.lang.String id) throws WcsException
WcsException
EODatasetSeries getEODatasetSeries(java.lang.String id) throws WcsException
WcsException
boolean hasEoCoverage(java.lang.String id)
boolean matches(java.lang.String coverageId)