thredds.catalog
Class InvDatasetFcFmrc

java.lang.Object
  extended by thredds.catalog.InvDataset
      extended by thredds.catalog.InvDatasetImpl
          extended by thredds.catalog.InvCatalogRef
              extended by thredds.catalog.InvDatasetFeatureCollection
                  extended by thredds.catalog.InvDatasetFcFmrc
All Implemented Interfaces:
DatasetCollectionManager.TriggerListener

@ThreadSafe
public class InvDatasetFcFmrc
extends InvDatasetFeatureCollection

Feature Collection for Fmrc Generate anew each call; use object caching if needed to improve efficiency

Since:
Mar 3, 2010
Author:
caron

Nested Class Summary
 
Nested classes/interfaces inherited from class thredds.catalog.InvDatasetFeatureCollection
InvDatasetFeatureCollection.ScanFilter, InvDatasetFeatureCollection.State
 
Field Summary
 
Fields inherited from class thredds.catalog.InvDatasetFeatureCollection
cdmrService, config, dcm, featureType, FILES, filter, lock, path, state, topDirectory, Virtual_Services
 
Fields inherited from class thredds.catalog.InvDatasetImpl
log, mark, ncmlElement, tm, tmi, tmi6
 
Fields inherited from class thredds.catalog.InvDataset
access, authorityName, catalog, collectionType, contributors, creators, dataFormatType, datasets, dataType, dates, defaultService, docs, gc, harvest, id, keywords, metadata, name, parent, projects, properties, publishers, restrictAccess, services, tc, variables
 
Constructor Summary
InvDatasetFcFmrc(InvDatasetImpl parent, String name, String path, FeatureType featureType, FeatureCollectionConfig config)
           
 
Method Summary
protected  InvDatasetFeatureCollection.State checkState()
           
 GridDataset getGridDataset(String matchPath)
          Get the associated Grid Dataset, if any.
 InvCatalogImpl makeCatalog(String match, String orgPath, URI baseURI)
          Get one one of the catalogs contained in this dataset, called by DataRootHandler.makeDynamicCatalog()
 void update()
           
 void updateProto()
           
 
Methods inherited from class thredds.catalog.InvDatasetFeatureCollection
factory, getCatalogHref, getConfig, getDatasetCollectionManager, getDatasets, getFeatureDatasetPoint, getFile, getNetcdfDataset, getPath, getRawFileScan, getTopDirectoryLocation, handleCollectionEvent, makeCatalogTop, makeVirtualService, setCatalogServletName, setCdmrFeatureServiceUrlPath, setContext, triggerRescan
 
Methods inherited from class thredds.catalog.InvCatalogRef
equals, findDatasetByName, findProperty, findService, finish, getAccess, getAccess, getAlias, getAuthority, getCollectionType, getContributors, getCreators, getDataFormatType, getDataType, getDates, getDocumentation, getDocumentation, getFullName, getGeospatialCoverage, getID, getKeywords, getMark, getMetadata, getMetadata, getName, getParent, getProjects, getProperties, getProxyDataset, getPublishers, getServiceDefault, getTimeCoverage, getUniqueID, getURI, getUrlPath, getUserProperty, getVariables, getXlinkHref, hasAccess, hashCode, hasNestedDatasets, isHarvest, isRead, readAsynch, release, setXlinkHref
 
Methods inherited from class thredds.catalog.InvDatasetImpl
addAccess, addAccess, addDataset, addDataset, addDocumentation, addProperty, addService, canonicalize, dump, getAccessLocal, getDataSize, getLastModifiedDate, getLocalMetadata, getLocalMetadataInheritable, getNcmlElement, getParentReal, getServiceName, getServicesLocal, main, removeDataset, removeLocalMetadata, removeService, replaceDataset, resolve, setAlias, setAuthority, setCatalog, setCollectionType, setContributors, setDataFormatType, setDataSize, setDataType, setGeospatialCoverage, setHarvest, setID, setKeywords, setLastModifiedDate, setLastModifiedDate, setLocalMetadata, setMark, setName, setNcmlElement, setParent, setProjects, setPublishers, setResourceControl, setServiceName, setServicesLocal, setTimeCoverage, setUrlPath, setUserProperty, toString, transferMetadata, writeHtmlDescription, writeHtmlDescription
 
Methods inherited from class thredds.catalog.InvDataset
findAccess, getCatalogUrl, getHistory, getParentCatalog, getProcessing, getRestrictAccess, getRights, getSubsetUrl, getSummary, getVariables
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvDatasetFcFmrc

public InvDatasetFcFmrc(InvDatasetImpl parent,
                        String name,
                        String path,
                        FeatureType featureType,
                        FeatureCollectionConfig config)
Method Detail

update

public void update()
Specified by:
update in class InvDatasetFeatureCollection

updateProto

public void updateProto()
Specified by:
updateProto in class InvDatasetFeatureCollection

checkState

protected InvDatasetFeatureCollection.State checkState()
                                                throws IOException
Specified by:
checkState in class InvDatasetFeatureCollection
Throws:
IOException

makeCatalog

public InvCatalogImpl makeCatalog(String match,
                                  String orgPath,
                                  URI baseURI)
Description copied from class: InvDatasetFeatureCollection
Get one one of the catalogs contained in this dataset, called by DataRootHandler.makeDynamicCatalog()

Specified by:
makeCatalog in class InvDatasetFeatureCollection
Parameters:
match - match.remaining
orgPath - the path for the request.
baseURI - the base URI for the catalog, used to resolve relative URLs.
Returns:
containing catalog

getGridDataset

public GridDataset getGridDataset(String matchPath)
                           throws IOException
Description copied from class: InvDatasetFeatureCollection
Get the associated Grid Dataset, if any. called by DatasetHandler.openGridDataset()

Overrides:
getGridDataset in class InvDatasetFeatureCollection
Parameters:
matchPath - match.remaining
Returns:
Grid Dataset, or null if n/a
Throws:
IOException - on error


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.