You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by bf...@apache.org on 2010/12/23 03:48:11 UTC

svn commit: r1052148 [1/17] - in /oodt/branches/wengine-branch/filemgr: ./ .settings/ src/ src/main/ src/main/assembly/ src/main/bin/ src/main/java/ src/main/java/gov/ src/main/java/gov/nasa/ src/main/java/gov/nasa/jpl/ src/main/java/gov/nasa/jpl/oodt/...

Author: bfoster
Date: Thu Dec 23 02:48:02 2010
New Revision: 1052148

URL: http://svn.apache.org/viewvc?rev=1052148&view=rev
Log:
wengine branch

Added:
    oodt/branches/wengine-branch/filemgr/
    oodt/branches/wengine-branch/filemgr/.classpath
    oodt/branches/wengine-branch/filemgr/.project
    oodt/branches/wengine-branch/filemgr/.settings/
    oodt/branches/wengine-branch/filemgr/.settings/org.eclipse.jdt.core.prefs
    oodt/branches/wengine-branch/filemgr/CHANGES.txt
    oodt/branches/wengine-branch/filemgr/LICENSE.txt
    oodt/branches/wengine-branch/filemgr/pom.xml
    oodt/branches/wengine-branch/filemgr/src/
    oodt/branches/wengine-branch/filemgr/src/main/
    oodt/branches/wengine-branch/filemgr/src/main/assembly/
    oodt/branches/wengine-branch/filemgr/src/main/assembly/assembly.xml
    oodt/branches/wengine-branch/filemgr/src/main/bin/
    oodt/branches/wengine-branch/filemgr/src/main/bin/convert_map   (with props)
    oodt/branches/wengine-branch/filemgr/src/main/bin/filemgr
    oodt/branches/wengine-branch/filemgr/src/main/bin/filemgr-client
    oodt/branches/wengine-branch/filemgr/src/main/bin/query_tool
    oodt/branches/wengine-branch/filemgr/src/main/java/
    oodt/branches/wengine-branch/filemgr/src/main/java/gov/
    oodt/branches/wengine-branch/filemgr/src/main/java/gov/nasa/
    oodt/branches/wengine-branch/filemgr/src/main/java/gov/nasa/jpl/
    oodt/branches/wengine-branch/filemgr/src/main/java/gov/nasa/jpl/oodt/
    oodt/branches/wengine-branch/filemgr/src/main/java/gov/nasa/jpl/oodt/cas/
    oodt/branches/wengine-branch/filemgr/src/main/java/gov/nasa/jpl/oodt/cas/filemgr/
    oodt/branches/wengine-branch/filemgr/src/main/java/gov/nasa/jpl/oodt/cas/filemgr/catalog/
    oodt/branches/wengine-branch/filemgr/src/main/java/gov/nasa/jpl/oodt/cas/filemgr/metadata/
    oodt/branches/wengine-branch/filemgr/src/main/java/gov/nasa/jpl/oodt/cas/filemgr/metadata/extractors/
    oodt/branches/wengine-branch/filemgr/src/main/java/gov/nasa/jpl/oodt/cas/filemgr/structs/
    oodt/branches/wengine-branch/filemgr/src/main/java/gov/nasa/jpl/oodt/cas/filemgr/structs/query/
    oodt/branches/wengine-branch/filemgr/src/main/java/gov/nasa/jpl/oodt/cas/filemgr/structs/type/
    oodt/branches/wengine-branch/filemgr/src/main/java/gov/nasa/jpl/oodt/cas/filemgr/system/
    oodt/branches/wengine-branch/filemgr/src/main/java/gov/nasa/jpl/oodt/cas/filemgr/versioning/
    oodt/branches/wengine-branch/filemgr/src/main/java/org/
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/catalog/
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/catalog/AbstractCatalog.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/catalog/Catalog.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/catalog/CatalogFactory.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/catalog/CatalogServiceCatalog.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/catalog/CatalogServiceCatalogFactory.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/catalog/DataSourceCatalog.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/catalog/DataSourceCatalogFactory.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/catalog/LuceneCatalog.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/catalog/LuceneCatalogFactory.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/catalog/MappedDataSourceCatalog.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/catalog/MappedDataSourceCatalogFactory.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/catalog/catalogservice/
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/catalog/catalogservice/CatalogActions.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/catalog/catalogservice/CatalogBuilder.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/catalog/catalogservice/CatalogServiceMetKeys.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/catalog/catalogservice/CatalogServiceUtils.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/catalog/catalogservice/FilemgrCatalogIndex.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/catalog/catalogservice/ProductDictionary.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/datatransfer/
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/datatransfer/DataTransfer.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/datatransfer/DataTransferFactory.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/datatransfer/InPlaceDataTransferFactory.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/datatransfer/InPlaceDataTransferer.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/datatransfer/LocalDataTransferFactory.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/datatransfer/LocalDataTransferer.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/datatransfer/RemoteDataTransferFactory.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/datatransfer/RemoteDataTransferer.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/datatransfer/TransferStatusTracker.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/ingest/
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/ingest/AbstractCacheServerFactory.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/ingest/Cache.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/ingest/CacheFactory.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/ingest/CachedIngester.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/ingest/CmdLineIngester.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/ingest/Ingester.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/ingest/LocalCache.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/ingest/LocalCacheFactory.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/ingest/RemoteableCache.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/ingest/RmiCache.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/ingest/RmiCacheFactory.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/ingest/RmiCacheServer.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/ingest/RmiCacheServerFactory.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/ingest/StdIngester.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/metadata/
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/metadata/CoreMetKeys.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/metadata/extractors/
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/metadata/extractors/AbstractFilemgrMetExtractor.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/metadata/extractors/CoreMetExtractor.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/metadata/extractors/FilemgrMetExtractor.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/metadata/extractors/examples/
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/metadata/extractors/examples/MimeTypeExtractor.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/repository/
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/repository/DataSourceRepositoryManager.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/repository/DataSourceRepositoryManagerFactory.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/repository/RepositoryManager.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/repository/RepositoryManagerFactory.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/repository/XMLRepositoryManager.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/repository/XMLRepositoryManagerFactory.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/structs/
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/structs/BooleanQueryCriteria.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/structs/Element.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/structs/ExtractorSpec.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/structs/FileTransferStatus.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/structs/FreeTextQueryCriteria.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/structs/Product.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/structs/ProductPage.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/structs/ProductType.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/structs/Query.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/structs/QueryCriteria.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/structs/RangeQueryCriteria.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/structs/Reference.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/structs/TermQueryCriteria.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/structs/exceptions/
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/structs/exceptions/CacheException.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/structs/exceptions/CatalogException.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/structs/exceptions/ConnectionException.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/structs/exceptions/DataTransferException.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/structs/exceptions/IngestException.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/structs/exceptions/QueryFormulationException.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/structs/exceptions/RepositoryManagerException.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/structs/exceptions/ValidationLayerException.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/structs/exceptions/VersioningException.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/structs/mime/
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/structs/mime/MimeType.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/structs/mime/MimeTypeException.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/structs/mime/MimeTypes.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/structs/mime/MimeTypesReader.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/structs/query/
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/structs/query/ComplexQuery.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/structs/query/QueryFilter.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/structs/query/QueryResult.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/structs/query/QueryResultComparator.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/structs/query/conv/
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/structs/query/conv/AsciiSortableVersionConverter.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/structs/query/conv/VersionConverter.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/structs/query/filter/
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/structs/query/filter/FilterAlgor.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/structs/query/filter/TakeEarliestEventFilterAlgor.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/structs/query/filter/WeightedHashFilterAlgor.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/structs/type/
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/structs/type/TypeHandler.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/structs/type/ValueReplaceTypeHandler.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/structs/type/examples/
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/structs/type/examples/MajorMinorVersionTypeHandler.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/system/
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/system/XmlRpcFileManager.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/system/XmlRpcFileManagerClient.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/system/auth/
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/system/auth/Dispatcher.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/system/auth/Result.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/system/auth/SecureWebServer.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/tools/
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/tools/CASAnalyzer.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/tools/CatalogSearch.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/tools/DeleteProduct.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/tools/DumpDbElementsToXml.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/tools/ExpImpCatalog.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/tools/MetadataBasedProductMover.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/tools/MetadataDumper.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/tools/OptimizeLuceneCatalog.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/tools/ProductDumper.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/tools/ProductTypeDocTool.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/tools/QueryTool.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/util/
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/util/DbStructFactory.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/util/GenericFileManagerObjectFactory.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/util/Pagination.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/util/QueryUtils.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/util/SpringUtils.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/util/SqlParser.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/util/XmlRpcStructFactory.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/util/XmlStructFactory.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/validation/
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/validation/DataSourceValidationLayer.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/validation/DataSourceValidationLayerFactory.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/validation/ValidationLayer.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/validation/ValidationLayerFactory.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/validation/XMLValidationLayer.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/validation/XMLValidationLayerFactory.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/versioning/
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/versioning/BasicVersioner.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/versioning/DateTimeVersioner.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/versioning/MetadataBasedFileVersioner.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/versioning/SingleFileBasicVersioner.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/versioning/Versioner.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/versioning/VersioningUtils.java
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/versioning/examples/
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/versioning/examples/UpdateMetadataVersioner.java
    oodt/branches/wengine-branch/filemgr/src/main/php/
    oodt/branches/wengine-branch/filemgr/src/main/php/Metadata.class.php
    oodt/branches/wengine-branch/filemgr/src/main/php/Product.class.php
    oodt/branches/wengine-branch/filemgr/src/main/php/ProductType.class.php
    oodt/branches/wengine-branch/filemgr/src/main/php/XmlRpcFilemgrClient.class.php
    oodt/branches/wengine-branch/filemgr/src/main/php/package.xml
    oodt/branches/wengine-branch/filemgr/src/main/python/
    oodt/branches/wengine-branch/filemgr/src/main/python/fm.conf
    oodt/branches/wengine-branch/filemgr/src/main/python/fm.py
    oodt/branches/wengine-branch/filemgr/src/main/python/setclasspath.sh   (with props)
    oodt/branches/wengine-branch/filemgr/src/main/resources/
    oodt/branches/wengine-branch/filemgr/src/main/resources/CAS File Manager User Guide.doc   (with props)
    oodt/branches/wengine-branch/filemgr/src/main/resources/MysqlToOracleFilter.pl
    oodt/branches/wengine-branch/filemgr/src/main/resources/REMOVE.log
    oodt/branches/wengine-branch/filemgr/src/main/resources/cas-filemgr-core-schema-oracle.sql
    oodt/branches/wengine-branch/filemgr/src/main/resources/cas-filemgr-dyn-catalog-schema.sql
    oodt/branches/wengine-branch/filemgr/src/main/resources/cas-filemgr-repositorymgr-schema-oracle.sql
    oodt/branches/wengine-branch/filemgr/src/main/resources/cas-filemgr-schema-mysql.sql
    oodt/branches/wengine-branch/filemgr/src/main/resources/cas-filemgr-validationlayer-schema-oracle.sql
    oodt/branches/wengine-branch/filemgr/src/main/resources/cas_filemgr_create_oracle_sequences.sql
    oodt/branches/wengine-branch/filemgr/src/main/resources/catalog.typemap.properties
    oodt/branches/wengine-branch/filemgr/src/main/resources/dom-airs-mime-types.xml
    oodt/branches/wengine-branch/filemgr/src/main/resources/examples/
    oodt/branches/wengine-branch/filemgr/src/main/resources/examples/catalog-beans.xml
    oodt/branches/wengine-branch/filemgr/src/main/resources/examples/catalog-config.xml
    oodt/branches/wengine-branch/filemgr/src/main/resources/examples/catalog-service-beans.xml
    oodt/branches/wengine-branch/filemgr/src/main/resources/examples/elements.xml
    oodt/branches/wengine-branch/filemgr/src/main/resources/examples/product-type-element-map.xml
    oodt/branches/wengine-branch/filemgr/src/main/resources/examples/product-types.xml
    oodt/branches/wengine-branch/filemgr/src/main/resources/filemgr.properties
    oodt/branches/wengine-branch/filemgr/src/main/resources/ingestcache.properties
    oodt/branches/wengine-branch/filemgr/src/main/resources/logging.properties
    oodt/branches/wengine-branch/filemgr/src/main/resources/mime-types.xml
    oodt/branches/wengine-branch/filemgr/src/main/resources/product-type-element-map.xsl
    oodt/branches/wengine-branch/filemgr/src/site/
    oodt/branches/wengine-branch/filemgr/src/site/resources/
    oodt/branches/wengine-branch/filemgr/src/site/resources/images/
    oodt/branches/wengine-branch/filemgr/src/site/resources/images/cas-filemgr.jpg   (with props)
    oodt/branches/wengine-branch/filemgr/src/site/resources/images/cas-filemgr.psd   (with props)
    oodt/branches/wengine-branch/filemgr/src/site/resources/images/fm_extension_points.png   (with props)
    oodt/branches/wengine-branch/filemgr/src/site/resources/images/fm_object_model.png   (with props)
    oodt/branches/wengine-branch/filemgr/src/site/resources/images/fm_use_case1.png   (with props)
    oodt/branches/wengine-branch/filemgr/src/site/site.xml
    oodt/branches/wengine-branch/filemgr/src/site/xdoc/
    oodt/branches/wengine-branch/filemgr/src/site/xdoc/user/
    oodt/branches/wengine-branch/filemgr/src/site/xdoc/user/index.xml

Added: oodt/branches/wengine-branch/filemgr/.classpath
URL: http://svn.apache.org/viewvc/oodt/branches/wengine-branch/filemgr/.classpath?rev=1052148&view=auto
==============================================================================
--- oodt/branches/wengine-branch/filemgr/.classpath (added)
+++ oodt/branches/wengine-branch/filemgr/.classpath Thu Dec 23 02:48:02 2010
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry kind="src" path="src/main/java"/>
+	<classpathentry excluding="**/*.java" kind="src" path="src/main/resources"/>
+	<classpathentry kind="src" output="target/test-classes" path="src/test"/>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+	<classpathentry kind="var" path="M2_REPO/antlr/antlr/2.7.6/antlr-2.7.6.jar"/>
+	<classpathentry kind="var" path="M2_REPO/aopalliance/aopalliance/1.0/aopalliance-1.0.jar"/>
+	<classpathentry kind="var" path="M2_REPO/asm/asm/1.5.3/asm-1.5.3.jar"/>
+	<classpathentry kind="var" path="M2_REPO/asm/asm-attrs/1.5.3/asm-attrs-1.5.3.jar"/>
+	<classpathentry kind="var" path="M2_REPO/gov/nasa/jpl/oodt/cas-catalog/1.0.0-dev/cas-catalog-1.0.0-dev.jar"/>
+	<classpathentry kind="var" path="M2_REPO/gov/nasa/jpl/oodt/cas-commons/1.1.1/cas-commons-1.1.1.jar"/>
+	<classpathentry kind="var" path="M2_REPO/gov/nasa/jpl/oodt/cas-metadata/1.6.1/cas-metadata-1.6.1.jar"/>
+	<classpathentry kind="var" path="M2_REPO/cglib/cglib/2.1_3/cglib-2.1_3.jar"/>
+	<classpathentry kind="var" path="M2_REPO/commons-codec/commons-codec/1.3/commons-codec-1.3.jar"/>
+	<classpathentry kind="var" path="M2_REPO/commons-collections/commons-collections/2.1/commons-collections-2.1.jar"/>
+	<classpathentry kind="var" path="M2_REPO/commons-dbcp/commons-dbcp/1.2.1/commons-dbcp-1.2.1.jar"/>
+	<classpathentry kind="var" path="M2_REPO/commons-httpclient/commons-httpclient/3.0/commons-httpclient-3.0.jar"/>
+	<classpathentry kind="var" path="M2_REPO/commons-io/commons-io/1.1/commons-io-1.1.jar"/>
+	<classpathentry kind="var" path="M2_REPO/commons-lang/commons-lang/2.1/commons-lang-2.1.jar"/>
+	<classpathentry kind="var" path="M2_REPO/commons-logging/commons-logging/1.0.3/commons-logging-1.0.3.jar"/>
+	<classpathentry kind="var" path="M2_REPO/commons-pool/commons-pool/1.2/commons-pool-1.2.jar"/>
+	<classpathentry kind="var" path="M2_REPO/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar"/>
+	<classpathentry kind="var" path="M2_REPO/gov/nasa/jpl/oodt/edm-commons/2.2.11-dev/edm-commons-2.2.11-dev.jar"/>
+	<classpathentry kind="var" path="M2_REPO/net/sf/ehcache/ehcache/1.2.3/ehcache-1.2.3.jar"/>
+	<classpathentry kind="var" path="M2_REPO/org/hibernate/hibernate/3.2.5.ga/hibernate-3.2.5.ga.jar"/>
+	<classpathentry kind="var" path="M2_REPO/hsqldb/hsqldb/1.8.0.7/hsqldb-1.8.0.7.jar"/>
+	<classpathentry kind="var" path="M2_REPO/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar"/>
+	<classpathentry kind="var" path="M2_REPO/jug/jug-asl/2.0.0/jug-asl-2.0.0.jar"/>
+	<classpathentry kind="var" path="M2_REPO/junit/junit/3.8.2/junit-3.8.2.jar"/>
+	<classpathentry kind="var" path="M2_REPO/org/python/jython/2.2-beta1/jython-2.2-beta1.jar"/>
+	<classpathentry kind="var" path="M2_REPO/org/apache/lucene/lucene-core/2.0.0/lucene-core-2.0.0.jar"/>
+	<classpathentry kind="var" path="M2_REPO/mysql/mysql-connector-java/3.1.14/mysql-connector-java-3.1.14.jar"/>
+	<classpathentry kind="var" path="M2_REPO/org/springframework/spring-beans/2.0.8/spring-beans-2.0.8.jar"/>
+	<classpathentry kind="var" path="M2_REPO/org/springframework/spring-context/2.0.8/spring-context-2.0.8.jar"/>
+	<classpathentry kind="var" path="M2_REPO/org/springframework/spring-core/2.5.4/spring-core-2.5.4.jar"/>
+	<classpathentry kind="var" path="M2_REPO/org/springframework/spring-dao/2.0.8/spring-dao-2.0.8.jar"/>
+	<classpathentry kind="var" path="M2_REPO/org/springframework/spring-hibernate3/2.0.8/spring-hibernate3-2.0.8.jar"/>
+	<classpathentry kind="var" path="M2_REPO/org/springframework/spring-jdbc/2.0.8/spring-jdbc-2.0.8.jar"/>
+	<classpathentry kind="var" path="M2_REPO/apache/tika/0.2-fork/tika-0.2-fork.jar"/>
+	<classpathentry kind="var" path="M2_REPO/xerces/xercesImpl/2.0.2/xercesImpl-2.0.2.jar"/>
+	<classpathentry kind="var" path="M2_REPO/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar"/>
+	<classpathentry kind="var" path="M2_REPO/xmlrpc/xmlrpc/2.1-dev/xmlrpc-2.1-dev.jar"/>
+	<classpathentry combineaccessrules="false" kind="src" path="/cas-catalog"/>
+	<classpathentry kind="output" path="target/classes"/>
+</classpath>

Added: oodt/branches/wengine-branch/filemgr/.project
URL: http://svn.apache.org/viewvc/oodt/branches/wengine-branch/filemgr/.project?rev=1052148&view=auto
==============================================================================
--- oodt/branches/wengine-branch/filemgr/.project (added)
+++ oodt/branches/wengine-branch/filemgr/.project Thu Dec 23 02:48:02 2010
@@ -0,0 +1,17 @@
+<projectDescription>
+  <name>cas-filemgr</name>
+  <comment>The file management component of a Catalog and Archive Service. This component
+     purposefully separates data stores and metadata stores as standard interfaces, and
+     provides some out of the box backend implementations of them (including one based
+     on the javax.sql.DataSource interface). This component provides everything that you need
+     to catalog, archive and manage files, and directories, and their associated metadata.</comment>
+  <projects/>
+  <buildSpec>
+    <buildCommand>
+      <name>org.eclipse.jdt.core.javabuilder</name>
+    </buildCommand>
+  </buildSpec>
+  <natures>
+    <nature>org.eclipse.jdt.core.javanature</nature>
+  </natures>
+</projectDescription>
\ No newline at end of file

Added: oodt/branches/wengine-branch/filemgr/.settings/org.eclipse.jdt.core.prefs
URL: http://svn.apache.org/viewvc/oodt/branches/wengine-branch/filemgr/.settings/org.eclipse.jdt.core.prefs?rev=1052148&view=auto
==============================================================================
--- oodt/branches/wengine-branch/filemgr/.settings/org.eclipse.jdt.core.prefs (added)
+++ oodt/branches/wengine-branch/filemgr/.settings/org.eclipse.jdt.core.prefs Thu Dec 23 02:48:02 2010
@@ -0,0 +1,5 @@
+#Thu Mar 12 07:37:50 PDT 2009
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.source=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5

Added: oodt/branches/wengine-branch/filemgr/CHANGES.txt
URL: http://svn.apache.org/viewvc/oodt/branches/wengine-branch/filemgr/CHANGES.txt?rev=1052148&view=auto
==============================================================================
--- oodt/branches/wengine-branch/filemgr/CHANGES.txt (added)
+++ oodt/branches/wengine-branch/filemgr/CHANGES.txt Thu Dec 23 02:48:02 2010
@@ -0,0 +1,220 @@
+CAS File Manager Changelog
+
+
+Major Releases:
+===========================================
+1.8.0 Current Development (Unreleased Changes)
+
+- OODT-276 Upgrade to cas-commons-1.1.1 and cas-metadata.1-6.1 (mattmann)
+
+- OODT-271 DataSourceCatalog sql query metadata_value value should be enclosed within quotes (bfoster)
+
+1.7.2 - 12/13/2008
+
+- OODT-276 Upgrade to cas-commons-1.1.1 and cas-metadata.1-6.1 (mattmann)
+
+- OODT-271 DataSourceCatalog sql query metadata_value value should be enclosed within quotes (bfoster)
+
+1.7.1 - 11/18/2008
+
+ - OODT-269 getElementByName was not added back into XmlRpcFileManagerClient (mattmann)
+
+1.7.0 - 11/18/2008
+
+- OODT-265 AbstractFilemgrMetExtractor getProdFile does not work for Hierarchical products (mattmann)
+
+- OODT-253 Make MappedDataSourceCatalog allowing flexible ProductType to DBMS table name mapping (mattmann)
+
+- OODT-265 ComplexQuery and SqlParser for the File Manager (bfoster)
+
+- OODT-262 The XmlRpcStructFactory#getProductTypeMapXmlDocument and associated methods 
+  broke since xml structure changed (jtran via mattmann)
+
+- OODT-263 Python based CAS filemgr API with authenticated XML-RPC (mattmann)
+
+- OODT-261 PHP client side API for the filemgr (mattmann)
+
+- additions to OODT-245 -- methods which return the catalog and original values of type-handled Metadata and catalog value of type-handled Query (bfoster)
+
+- OODT-258 'public void addCriterion(QueryCriteria qc)' method in Query could cause a NullPointerException (bfoster)
+
+- added MIME_TYPE to CoreMetKeys (bfoster)
+
+- OODT-254 Allow FileManager to store String comparable element values, while keeping it invisible to the user (bfoster)
+
+- OODT-250 add back getElementByName method in ValidationLayer interface (mattmann)
+
+- added generics (bfoster)
+
+- OODT-249 Code that uses the cas-filemgr should only have to be aware of an Element's name (bfoster)
+
+- OODT-247 Move file versioning above addMetadata in filemgr server and client ingest methods (bfoster)
+
+1.06 - 08/01/2008
+
+- OODT-210 Move all common utilities from all CAS projects into a cas-commons project (mattmann)
+
+- OODT-214 fixing name inconsistency by changing all gov.nasa.jpl.oodt.cas.filemgr.catalog.lucene.indexPath to gov..oodt...lucene.idxPath (davoodi)
+
+- OODT-219 Make versioner class spec an xml attribute in XMLRepositoryManager (mattmann)
+
+- OODT-220 Use XMLUtils trim functionality to read in element definitions (mattmann)
+
+- OODT-49 Build product server capability into the new CAS (mattmann)
+
+- OODT-209 Static #productTypeMap in XMLRepositoryManager prevents multi-VM usage (mattmann)
+
+- OODT-184 Upgrade to JDK5 (mattmann)
+
+- OODT-185 Upgrade to Maven2 (mattmann)
+
+- rely on cas-metadata:XMLUtils in XmlStructFactory (mattmann)
+
+- create run directory (to be on the safe side) (jtran)
+
+- fix dependency to cas-metadata-1.3.0 (mattmann,jtran)
+
+- fix to XMLRepositoryManager#removeProductType (danyu,mattmann)
+
+- fix to XMLValidationLayer#getElements (danyu,mattmann)
+
+- fix to XMLValidationLayer#removeElementFromProductType (danyu,mattmann)
+
+- fix to XMLValidationLayer#addElementToProductType (danyu,mattmann)
+
+- fix to XMLValidationLayer#removeElement (danyu,mattmann)
+
+- OODT-161 Change all List methods in XmlRpcFileManagerClient to use Vector.addAll(List elements) (mattmann)
+
+- OODT-155 Add a remove metadata capability (woollard,mattmann)
+
+- OODT-153 Make Ingester hasProduct Method in StdIngester throw Exception on hasProduct exception (mattmann)
+
+- OODT-154 RmiCacheServerFactory should use new Date var replace API from cas-metadata 1.3.0-dev (mattmann)
+
+- OODT-152 hasProduct method should throw Exception on UNKNOWN answer cases (mattmann)
+
+
+1.05 - 3/20/2008
+
+- OODT-133 Pagination API grabs the first product on every page (mattmann)
+
+- OODT-139 Integration of PushPull filemgr updates: CachedIngester and Cache interface (mattmann, bfoster)
+
+- OODT-40 User Guide/Deployment Guide/Operations Guide for CAS components (mattmann)
+
+- OODT-34 Remove all fFields and sFields etc from cas components (mattmann)
+
+- OODT-27 More code in the File Manager should be unit tested (mattmann)
+
+- OODT-134 Copy CHANGES.txt file to bin distribution for cas components (mattmann)
+
+- OODT-114 Tool to output HTML documentation for Product Type XML documents (mattmann)
+
+- OODT-113 Metadata extraction on the server side (mattmann)
+
+- OODT-93 getReducedMetadata in Filemgr client uses a Vector to specify its reduced Metadata list (mattmann)
+
+- OODT-79 OODT-69 made cas-filemgr-1.5.x incompatible with 1.4.x (mattmann)
+
+- OODT-77 Misspelling of product structure Heirarchical (mattmann)
+
+- OODT-76 XmlRpcFileManager pagination API and pagedQuery method does not obey File Manager contract for returned Products (mattmann)
+
+- OODT-75 DataSourceCatalog returns null ProductPage on pagedQuery (mattmann)
+
+- OODT-69 ProductType object in filemgr should have metadata associated with it (mattmann)
+
+- OODT-68 Improve mime-type code to be case-independent on lookups (ahart)
+
+- fix NPE in LuceneCatalog where mimeType is null: store "" instead (mattmann)
+
+- OODT-63 New RangeQueryCriteria constructor allowing for both inclusive and exclusive ranges (woollard)
+
+- OODT-67 Implemented metadata subsetting at the server side (woollard)
+
+1.04 - 07/15/2007
+
+- OODT-37 Export/Import Catalog tool in CAS filemgr is not able to export all product types (mattmann)
+
+- OODT-62 DataSourceCatalog paginateQuery method (for browsing) does not return all products when size < pageSize (mattmann)
+
+- OODT-61 Environment variable replacement for DataSourceCatalogFactory JDBC props (mattmann)
+
+- OODT-60 DataSourceCatalog should set a full ProductType in getProductById and getProductByName (mattmann)
+
+- OODT-59 RangeQuery API in DataSourceCatalog generates a SQL error (mattmann)
+
+- OODT-58 A tool to query for product ids in the catalog and print them to STDOUT (mattmann)
+
+- OODT-57 Adapt delete product tool to read a list of product ids from STDIN and to have commit flag (mattmann)
+
+- OODT-24 The Reference class should store mimeType per file as well (ahart via mattmann)
+
+- OODT-50 Crawler hasUnique feature broke when capability was moved to StdIngester (mattmann)
+
+- Tool to delete products from File Manager by Product ID (woollard via mattmann)
+
+- OODT-45 Ingester interface within File Manager (mattmann)
+
+- Metadata Dumper tool (mattmann)
+
+- Product XML Dumper tool (mattmann)
+
+- Product (de-)serialization from and to XML (mattmann)
+
+- OODT-43 Expose filemgr update and delete APIs via XML-RPC (mattmann)
+
+1.03 - 02/11/2007
+
+ - Flow down of commit lock, write lock timeout and merge factor spec to LuceneCatalog from filemgr.properties (mattmann)
+ 
+ - Metadata-based Tool to move products and move product API in file manager server and client (mattmann)
+
+ - Optimizations to Data Source catalog for pagination (mattmann)
+
+ - Tool to optimize Lucene catalog index (mattmann)
+ 
+ - Tool to allow for export/import of a source file manager into a dest file manager (mattmann)
+ 
+ - Optimizations to Lucene catalog for product type retrieval, pagination, and getting total number of hits (mattmann)
+
+ - OODT-39 XmlRpc-based client checks for liveness of filemgr server and throws ConnectionException (woollard)
+
+1.02 - 10/16/2006
+
+- InPlaceDataTransferer (woollard)
+
+- allow open ended range queries (where either start in range or end in range is null) for range query criteria (mattmann)
+
+- OODT-13 Allow environment variable replacement within policy xml files and filemgr.properties (mattmann)
+
+- OODT-11 Support range and free-text queries in the catalog (woollard via mattmann)
+
+- OODT-10 Product Type inheritance (woollard via mattmann)
+
+- Command line Catalog Search program (woollard via mattmann)
+
+- Range query tester command line tool (mattmann)
+
+- SingleFileBasicVersioner (mattmann)
+
+- MetadataBasedFileVersioner (mattmann)
+
+- User Guide and xdoc updates (mattmann & kelly)
+
+1.01 - 8/17/2006
+
+- Data Transfer Status Tracking (mattmann)
+
+- Lucene based File Catalog (mattmann)
+
+- Product Pagination query and browse (mattmann)
+
+- Rename daemon and client scripts (mattmann)
+
+- Remote Data Transfer (mattmann)
+
+- Move to use OODT default maven scripts (kelly & mattmann)
+
+1.00 - 7/7/2006 - Initial Stable Release

Added: oodt/branches/wengine-branch/filemgr/LICENSE.txt
URL: http://svn.apache.org/viewvc/oodt/branches/wengine-branch/filemgr/LICENSE.txt?rev=1052148&view=auto
==============================================================================
--- oodt/branches/wengine-branch/filemgr/LICENSE.txt (added)
+++ oodt/branches/wengine-branch/filemgr/LICENSE.txt Thu Dec 23 02:48:02 2010
@@ -0,0 +1,7 @@
+Copyright 1999-2005 California Institute of Technology. ALL RIGHTS RESERVED. U.S. Government Sponsorship acknowledged. REDISTRIBUTION AND/OR MODIFICATION AND/OR USE OF THIS SOFTWARE WITHOUT PRIOR AUTHORIZATION IS STRICTLY FORBIDDEN.
+
+Recipient, its agents, assigns, and associates may not grant rights to another or others with respect to the Software. Any such attempt or use for public or commercial purposes will automatically terminate the rights granted under this License and will be sufficient impetus for the California Institute of Technology and the United States Government to bring joint and swift legal action and/or terminal effects.
+
+THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, WITHOUT LIMITATION, THAT THE SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH RECIPIENT. SHOULD ANY SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, RECIPIENT ASSUMES THE COST OF ANY NECESSARY SERVICING, REPAIR, OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
+
+This software product includes software developed by the Apache Software Foundation (http://www.apache.org/).

Added: oodt/branches/wengine-branch/filemgr/pom.xml
URL: http://svn.apache.org/viewvc/oodt/branches/wengine-branch/filemgr/pom.xml?rev=1052148&view=auto
==============================================================================
--- oodt/branches/wengine-branch/filemgr/pom.xml (added)
+++ oodt/branches/wengine-branch/filemgr/pom.xml Thu Dec 23 02:48:02 2010
@@ -0,0 +1,174 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>org.apache.oodt</groupId>
+    <artifactId>oodt-core</artifactId>
+    <version>0.2-incubating</version>
+  </parent>
+  <artifactId>cas-filemgr</artifactId>
+  <name>Catalog and Archive File Management Component</name>
+  <version>0.2-branch</version>
+  <description>The file management component of a Catalog and Archive Service. This component
+     purposefully separates data stores and metadata stores as standard interfaces, and
+     provides some out of the box backend implementations of them (including one based
+     on the javax.sql.DataSource interface). This component provides everything that you need
+     to catalog, archive and manage files, and directories, and their associated metadata.</description>
+  <ciManagement>
+    <notifiers>
+      <notifier>
+        <configuration>
+          <address>chris.mattmann@jpl.nasa.gov</address>
+        </configuration>
+      </notifier>
+    </notifiers>
+  </ciManagement>
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <version>2.4.3</version>
+        <configuration>
+          <forkMode>pertest</forkMode>
+          <useSystemClassLoader>false</useSystemClassLoader>
+          <systemProperties>
+             <property>
+               <name>java.util.logging.config.file</name>
+               <value>${basedir}/src/testdata/test.logging.properties</value>
+              </property>
+           </systemProperties>
+           <forkedProcessTimeoutInSeconds>0</forkedProcessTimeoutInSeconds>
+           <redirectTestOutputToFile>true</redirectTestOutputToFile>
+            <includes>
+              <include>**/*Test*.java</include>
+            </includes>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-assembly-plugin</artifactId>
+        <version>2.2-beta-2</version>
+        <configuration>
+          <descriptors>
+            <descriptor>src/main/assembly/assembly.xml</descriptor>
+          </descriptors>
+          <archive>
+            <manifest>
+              <mainClass>gov.nasa.jpl.oodt.cas.filemgr.system.XmlRpcFileManagerClient</mainClass>
+            </manifest>
+          </archive>
+        </configuration>
+        <executions>
+          <execution>
+            <phase>package</phase>
+            <goals>
+              <goal>single</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.oodt</groupId>
+      <artifactId>oodt-commons</artifactId>
+      <version>0.2-incubating</version>    
+    </dependency>
+    <dependency>
+      <groupId>org.apache.oodt</groupId>
+      <artifactId>cas-metadata</artifactId>
+      <version>0.2-incubating</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.oodt</groupId>
+      <artifactId>cas-catalog</artifactId>
+      <version>0.2-incubating</version>
+    </dependency>
+    <dependency>
+      <groupId>org.springframework</groupId>
+      <artifactId>spring-core</artifactId>
+      <version>2.5.4</version>
+    </dependency>
+    <dependency>
+      <groupId>org.springframework</groupId>
+      <artifactId>spring-hibernate3</artifactId>
+      <version>2.0.8</version>
+    </dependency>
+    <dependency>
+      <groupId>commons-logging</groupId>
+      <artifactId>commons-logging</artifactId>
+      <version>1.0.3</version>
+    </dependency>
+    <dependency>
+      <groupId>commons-httpclient</groupId>
+      <artifactId>commons-httpclient</artifactId>
+      <version>3.0</version>
+    </dependency>
+    <dependency>
+      <groupId>commons-io</groupId>
+      <artifactId>commons-io</artifactId>
+      <version>1.1</version>
+    </dependency>
+    <dependency>
+      <groupId>commons-codec</groupId>
+      <artifactId>commons-codec</artifactId>
+      <version>1.3</version>
+    </dependency>
+    <dependency>
+      <groupId>commons-dbcp</groupId>
+      <artifactId>commons-dbcp</artifactId>
+      <version>1.2.1</version>
+    </dependency>
+    <dependency>
+      <groupId>commons-collections</groupId>
+      <artifactId>commons-collections</artifactId>
+      <version>2.1</version>
+    </dependency>
+    <dependency>
+      <groupId>commons-pool</groupId>
+      <artifactId>commons-pool</artifactId>
+      <version>1.2</version>
+    </dependency>   
+    <dependency>
+      <groupId>org.apache.lucene</groupId>
+      <artifactId>lucene-core</artifactId>
+      <version>2.0.0</version>
+    </dependency>
+    <dependency>
+      <groupId>org.safehaus.jug</groupId>
+      <artifactId>jug</artifactId>
+      <version>2.0.0</version>
+      <classifier>asl</classifier>
+    </dependency>
+    <dependency>
+      <groupId>xmlrpc</groupId>
+      <artifactId>xmlrpc</artifactId>
+      <version>2.0.1</version>
+    </dependency>
+    <dependency>
+      <groupId>hsqldb</groupId>
+      <artifactId>hsqldb</artifactId>
+      <version>1.8.0.7</version>
+    </dependency>
+    <dependency>
+      <groupId>com.thoughtworks.xstream</groupId>
+      <artifactId>xstream</artifactId>
+      <version>1.3.1</version>
+    </dependency>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>3.8.2</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.python</groupId>
+      <artifactId>jython</artifactId>
+      <version>2.2-beta1</version>
+      <scope>runtime</scope>
+    </dependency>
+  </dependencies>
+</project>

Added: oodt/branches/wengine-branch/filemgr/src/main/assembly/assembly.xml
URL: http://svn.apache.org/viewvc/oodt/branches/wengine-branch/filemgr/src/main/assembly/assembly.xml?rev=1052148&view=auto
==============================================================================
--- oodt/branches/wengine-branch/filemgr/src/main/assembly/assembly.xml (added)
+++ oodt/branches/wengine-branch/filemgr/src/main/assembly/assembly.xml Thu Dec 23 02:48:02 2010
@@ -0,0 +1,73 @@
+<!-- 
+Copyright 2008 California Institute of Technology. ALL RIGHTS
+RESERVED. U.S. Government Sponsorship acknowledged.
+
+$Id$
+-->
+<assembly>
+  <id>dist</id>
+  <formats>
+    <format>tar.gz</format>
+    <format>zip</format>
+  </formats>
+  <includeBaseDirectory>true</includeBaseDirectory>
+  <baseDirectory>${project.artifactId}-${project.version}</baseDirectory>
+  <includeSiteDirectory>false</includeSiteDirectory>
+  <fileSets>
+    <fileSet>
+      <directory>${basedir}</directory>
+      <outputDirectory>.</outputDirectory>
+      <includes>
+        <include>LICENSE.txt</include>
+        <include>CHANGES.txt</include>
+      </includes>
+    </fileSet>
+    <fileSet>
+      <directory>${basedir}/src/main/bin</directory>
+      <outputDirectory>bin</outputDirectory>
+      <includes/>
+      <fileMode>755</fileMode>
+    </fileSet>
+    <fileSet>
+      <directory>${basedir}/src/main/resources</directory>
+      <outputDirectory>logs</outputDirectory>
+      <includes>
+        <include>REMOVE.log</include>
+      </includes>
+    </fileSet>
+    <fileSet>
+      <directory>${basedir}/src/main/resources</directory>
+      <outputDirectory>etc</outputDirectory>
+      <includes>
+        <include>**.properties</include>     
+      </includes>
+    </fileSet>
+    <fileSet>
+      <directory>${basedir}/src/main/resources</directory>
+      <outputDirectory>policy</outputDirectory>
+      <includes>
+        <include>mime-types.xml</include>
+      </includes>
+    </fileSet>
+    <fileSet>
+      <directory>${basedir}/src/main/resources/examples</directory>
+      <outputDirectory>policy</outputDirectory>
+      <includes/>
+    </fileSet>
+    <fileSet>
+      <directory>target/site/apidocs</directory>
+      <filtered>false</filtered>
+      <outputDirectory>doc</outputDirectory>
+      <excludes/>
+    </fileSet>
+  </fileSets>
+  <dependencySets>
+    <dependencySet>
+      <outputDirectory>lib</outputDirectory>
+      <unpack>false</unpack>
+      <useProjectArtifact>true</useProjectArtifact>
+      <useTransitiveDependencies>true</useTransitiveDependencies>
+      <unpackOptions/>
+    </dependencySet>
+  </dependencySets>
+</assembly>

Added: oodt/branches/wengine-branch/filemgr/src/main/bin/convert_map
URL: http://svn.apache.org/viewvc/oodt/branches/wengine-branch/filemgr/src/main/bin/convert_map?rev=1052148&view=auto
==============================================================================
--- oodt/branches/wengine-branch/filemgr/src/main/bin/convert_map (added)
+++ oodt/branches/wengine-branch/filemgr/src/main/bin/convert_map Thu Dec 23 02:48:02 2010
@@ -0,0 +1,10 @@
+#!/bin/bash
+# Copyright (c) 2005 California Institute of Technology.
+# ALL RIGHTS RESERVED. U.S. Government Sponsorship acknowledged.
+#
+# $Id$
+#
+# Usage: convert_map [product-type-element-map.xml]
+
+awk '{FS="\""} /parent/ {print "  <type id=\"" $2 "\">"; print "      <parent id=\"" $4 "\"/>"} \
+    $0!~/parent/ {print $0}' $1

Propchange: oodt/branches/wengine-branch/filemgr/src/main/bin/convert_map
------------------------------------------------------------------------------
    svn:executable = 

Added: oodt/branches/wengine-branch/filemgr/src/main/bin/filemgr
URL: http://svn.apache.org/viewvc/oodt/branches/wengine-branch/filemgr/src/main/bin/filemgr?rev=1052148&view=auto
==============================================================================
--- oodt/branches/wengine-branch/filemgr/src/main/bin/filemgr (added)
+++ oodt/branches/wengine-branch/filemgr/src/main/bin/filemgr Thu Dec 23 02:48:02 2010
@@ -0,0 +1,76 @@
+#!/bin/sh
+#
+# init script for XmlRpcFileManager
+#
+# chkconfig: 345 88 22
+# description: CAS File Manager
+#
+# Copyright (c) 2005 California Institute of Technology.
+# ALL RIGHTS RESERVED. U.S. Government Sponsorship acknowledged.
+#
+# $Id$
+
+[ -f /etc/sysconfig/java ] && . /etc/sysconfig/java
+
+SERVER_PORT=9000
+export SERVER_PORT
+
+if [ -z $JAVA_HOME ] ; then
+	JAVA_HOME=/path/to/java/home
+else
+	JAVA_HOME=${JAVA_HOME}
+fi
+
+export JAVA_HOME
+CAS_FILEMGR_HOME=..
+export CAS_FILEMGR_HOME
+RUN_HOME=${CAS_FILEMGR_HOME}/../run
+export RUN_HOME
+CAS_FILEMGR_PROPS=../etc/filemgr.properties
+export CAS_FILEMGR_PROPS
+
+PATH=${JAVA_HOME}/bin:${CAS_FILEMGR_HOME}/bin:/usr/bin:/bin:/usr/sbin:/sbin
+export PATH
+
+## make sure that casfile manager has a run directory
+## just to be on the safe side
+mkdir -p ${RUN_HOME}
+
+# See how we were called.
+case "$1" in
+  start)
+        echo -n "Starting cas file manager: "
+        $JAVA_HOME/bin/java \
+        	-Djava.ext.dirs=${CAS_FILEMGR_HOME}/lib \
+        	-Djava.util.logging.config.file=${CAS_FILEMGR_HOME}/etc/logging.properties \
+    	    -Dorg.apache.oodt.cas.filemgr.properties=${CAS_FILEMGR_PROPS} \
+        	org.apache.oodt.cas.filemgr.system.XmlRpcFileManager \
+        	--portNum $SERVER_PORT &       
+        echo $! > ${RUN_HOME}/cas.filemgr.pid 
+        echo "OK"
+        sleep 5
+        ;;
+  stop)
+        echo -n "Shutting down cas file manager: "
+        kill `cat ${RUN_HOME}/cas.filemgr.pid`
+        rm -f ${RUN_HOME}/cas.filemgr.pid
+        echo "OK"
+        ;;
+  restart)
+        $0 stop
+        $0 start
+        ;;
+  status)
+        if [ -e ${RUN_HOME}/cas.filemgr.pid ] ; then
+           pid=`cat ${RUN_HOME}/cas.filemgr.pid`
+           echo "cas filemgr is running with pid: $pid" 
+        else
+           echo "cas filemgr is not running"
+        fi
+        ;;
+  *)
+        echo "Usage: $0 {start|stop|restart|status}"
+        exit 1
+esac
+
+exit 0

Added: oodt/branches/wengine-branch/filemgr/src/main/bin/filemgr-client
URL: http://svn.apache.org/viewvc/oodt/branches/wengine-branch/filemgr/src/main/bin/filemgr-client?rev=1052148&view=auto
==============================================================================
--- oodt/branches/wengine-branch/filemgr/src/main/bin/filemgr-client (added)
+++ oodt/branches/wengine-branch/filemgr/src/main/bin/filemgr-client Thu Dec 23 02:48:02 2010
@@ -0,0 +1,19 @@
+#!/bin/sh
+# Copyright (c) 2005 California Institute of Technology.
+# ALL RIGHTS RESERVED. U.S. Government Sponsorship acknowledged.
+#
+# $Id$
+
+if [ -z $JAVA_HOME ] ; then
+	JAVA_HOME=/path/to/java/home
+else
+	JAVA_HOME=${JAVA_HOME}
+fi
+
+export JAVA_HOME
+
+$JAVA_HOME/bin/java \
+	-Djava.ext.dirs=../lib \
+	-Dorg.apache.oodt.cas.filemgr.properties=../etc/filemgr.properties \
+	-Djava.util.logging.config.file=../etc/logging.properties \
+	org.apache.oodt.cas.filemgr.system.XmlRpcFileManagerClient $*

Added: oodt/branches/wengine-branch/filemgr/src/main/bin/query_tool
URL: http://svn.apache.org/viewvc/oodt/branches/wengine-branch/filemgr/src/main/bin/query_tool?rev=1052148&view=auto
==============================================================================
--- oodt/branches/wengine-branch/filemgr/src/main/bin/query_tool (added)
+++ oodt/branches/wengine-branch/filemgr/src/main/bin/query_tool Thu Dec 23 02:48:02 2010
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+$JAVA_HOME/bin/java -Djava.ext.dirs=../lib org.apache.oodt.cas.filemgr.tools.QueryTool $1

Added: oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/catalog/AbstractCatalog.java
URL: http://svn.apache.org/viewvc/oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/catalog/AbstractCatalog.java?rev=1052148&view=auto
==============================================================================
--- oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/catalog/AbstractCatalog.java (added)
+++ oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/catalog/AbstractCatalog.java Thu Dec 23 02:48:02 2010
@@ -0,0 +1,50 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.oodt.cas.filemgr.catalog;
+
+//OODT imports
+import org.apache.oodt.cas.filemgr.structs.ProductType;
+import org.apache.oodt.cas.filemgr.structs.Query;
+import org.apache.oodt.cas.filemgr.structs.exceptions.CatalogException;
+import org.apache.oodt.cas.metadata.Metadata;
+
+//JDK imports
+import java.util.List;
+import java.util.Vector;
+
+/**
+ * 
+ * @author bfoster
+ *
+ */
+public abstract class AbstractCatalog implements Catalog {
+
+	public List<String> query(Query query, List<ProductType> types) throws CatalogException {
+		List<String> productIds = new Vector<String>();
+		for (ProductType type : types)
+			productIds.addAll(this.query(query, type));
+		return productIds;
+	}
+	
+	public List<Metadata> getReducedMetadata(Query query, List<ProductType> types, List<String> elements) throws CatalogException {
+		List<Metadata> metadatas = new Vector<Metadata>();
+		for (ProductType type : types)
+			metadatas.addAll(this.getReducedMetadata(query, type, elements));
+		return metadatas;
+	}
+	
+}

Added: oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/catalog/Catalog.java
URL: http://svn.apache.org/viewvc/oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/catalog/Catalog.java?rev=1052148&view=auto
==============================================================================
--- oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/catalog/Catalog.java (added)
+++ oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/catalog/Catalog.java Thu Dec 23 02:48:02 2010
@@ -0,0 +1,353 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.oodt.cas.filemgr.catalog;
+
+//JDK imports
+import java.util.List;
+
+//OODT imports
+import org.apache.oodt.cas.filemgr.structs.Product;
+import org.apache.oodt.cas.filemgr.structs.ProductPage;
+import org.apache.oodt.cas.filemgr.structs.ProductType;
+import org.apache.oodt.cas.filemgr.structs.Query;
+import org.apache.oodt.cas.filemgr.structs.Reference;
+import org.apache.oodt.cas.filemgr.structs.exceptions.CatalogException;
+import org.apache.oodt.cas.filemgr.structs.query.QueryResult;
+import org.apache.oodt.cas.filemgr.util.Pagination;
+import org.apache.oodt.cas.filemgr.validation.ValidationLayer;
+import org.apache.oodt.cas.metadata.Metadata;
+
+/**
+ * @author mattmann
+ * @author bfoster
+ * @version $Revision$
+ * 
+ * <p>
+ * A Catalog is the front end object interface for a back end peristance layer
+ * for storing product references and metadata. Classes implementing this
+ * interface implement methods to retrieve and store product references and
+ * metadata from a particular backend repository.
+ * </p>
+ * 
+ */
+public interface Catalog extends Pagination {
+
+    public final static String X_POINT_ID = Catalog.class.getName();
+
+    /**
+     * @return Page size for this catalog
+     * @throws CatalogException
+     */
+    public int getPageSize();
+    
+    /**
+     * <p>
+     * Ingests {@link Metadata} into the metadata store, and associates it with
+     * the given <code>productId</code>.
+     * </p>
+     * 
+     * @param m
+     *            The {@link Metadata} to ingest.
+     * @param product
+     *            The product to add the metadata for.
+     * @throws CatalogException
+     *             If any general error occurs.
+     */
+    public void addMetadata(Metadata m, Product product)
+            throws CatalogException;
+
+    /**
+     * <p>
+     * Removes {@link Metadata} from the metadata store, and disassociates it
+     * from the given <code>productId</code>.
+     * </p>
+     * 
+     * @param m
+     *            The {@link Metadata} to remove.
+     * @param product
+     *            The product for which the metadata is to be removed.
+     * @throws CatalogException
+     *             If any general error occurs.
+     */
+    public void removeMetadata(Metadata m, Product product)
+            throws CatalogException;
+
+    /**
+     * <p>
+     * Adds a Product to the Catalog.
+     * </p>
+     * 
+     * @param product
+     *            The {@link Product} to add.
+     * @throws CatalogException
+     *             If any error occurs during the add.
+     */
+    public void addProduct(Product product) throws CatalogException;
+
+    /**
+     * <p>
+     * Modifies an existing Product within the Catalog.
+     * </p>
+     * 
+     * @param product
+     *            The new {@link Product} information to modify the existing
+     *            Product with.
+     * @throws CatalogException
+     *             If any error occurs.
+     */
+    public void modifyProduct(Product product) throws CatalogException;
+
+    /**
+     * <p>
+     * Removes a {@link Product} from the Catalog.
+     * </p>
+     * 
+     * @param product
+     *            The product to remove.
+     * @throws CatalogException
+     *             If any error occurs.
+     */
+    public void removeProduct(Product product) throws CatalogException;
+
+    /**
+     * <p>
+     * Persists the <code>transferStatus</code> attribute of the given
+     * {@link Product} to the Catalog.
+     * 
+     * @param product
+     *            The Product whose transfer status will be persisted. The
+     *            caller should make sure that the product ID field is set.
+     * @throws CatalogException
+     */
+    public void setProductTransferStatus(Product product)
+            throws CatalogException;
+
+    /**
+     * <p>
+     * Adds the specified {@link List} of {@link Reference}s to the
+     * {@link Catalog}, and associates them with this {@link Product} specified
+     * by its <code>productId</code>.
+     * </p>
+     * 
+     * @param product
+     *            The product to add references for. The references are read
+     *            from the Products list of References.
+     * @throws CatalogException
+     *             If anything goes wrong.
+     */
+    public void addProductReferences(Product product) throws CatalogException;
+
+    /**
+     * <p>
+     * Gets a {@link Product}, with the specified <code>productId</code>.
+     * </p>
+     * 
+     * @param productId
+     *            The unique ID of the Product to retrieve.
+     * @return A {@link Product}, with the given ID. The implementer of this
+     *         method should ensure that the product {@link Reference}s are
+     *         populated as well.
+     * @throws CatalogException
+     *             If any error occurs.
+     */
+    public Product getProductById(String productId) throws CatalogException;
+        
+    /**
+     * <p>
+     * Gets a {@link Product} with the specified <code>productName</code>.
+     * </p>
+     * 
+     * @param productName
+     *            The name of the Product to retrieve.
+     * @return A {@link Product} with the given name. The implementer of this
+     *         method should ensure that the product {@link Reference}s are
+     *         populated as well.
+     * @throws CatalogException
+     */
+    public Product getProductByName(String productName) throws CatalogException;
+
+    /**
+     * <p>
+     * Gets the {@link Reference}s associated with this Product.
+     * </p>
+     * 
+     * @param product
+     *            The {@link Product} to obtain the References for.
+     * @return A {@link List} of {@link Reference}s, associated with the
+     *         specified Product.
+     * @throws CatalogException
+     */
+    public List<Reference> getProductReferences(Product product) throws CatalogException;
+
+    /**
+     * <p>
+     * Gets all the {@link Product}s in the {@link Catalog}.
+     * </p>
+     * 
+     * @return A {@link List} of {@link Product}s in the {@link Catalog}.
+     * @throws CatalogException
+     *             If any error occurs.
+     */
+    public List<Product> getProducts() throws CatalogException;
+
+    /**
+     * <p>
+     * Gets the {@link Product}s associated with the specified ProductType in
+     * the {@link Catalog}.
+     * </p>
+     * 
+     * @param type
+     *            The {@link ProductType} to obtain the {@link Product}s for.
+     * @return A {@link List} of {@link Product}s that are associated with the
+     *         specified productType in the {@link Catalog}.
+     * @throws CatalogException
+     *             If any error occurs.
+     */
+    public List<Product> getProductsByProductType(ProductType type)
+            throws CatalogException;
+
+    /**
+     * <p>
+     * Gets the Metadata for a given Product.
+     * </p>
+     * 
+     * @param product
+     *            The {@link Product} to obtain the Metadata for.
+     * @return The {@link Metadata} for the given <code>productId</code>.
+     *         </p>
+     * @throws CatalogException
+     *             If any error occurs.
+     */
+    public Metadata getMetadata(Product product) throws CatalogException;
+
+    /**
+     * <p>
+     * Gets a reduced set of metadata for a give Product.
+     * </p>
+     * 
+     * @param product
+     *            The {@link Product} to obtain the Metadata for.
+     * @param elements
+     *            The set of metadata elements of interest.
+     * @return The reduced {@link Metadata} for the given <code>productId</code>.
+     * @throws CatalogException
+     *             If any error occurs.
+     */
+    public Metadata getReducedMetadata(Product product, List<String> elements)
+            throws CatalogException;
+    
+    public List<Metadata> getReducedMetadata(Query query, ProductType type, List<String> elements)
+    		throws CatalogException;
+
+	public List<Metadata> getReducedMetadata(Query query, List<ProductType> types, List<String> elements) throws CatalogException;
+    	
+    /**
+     * <p>
+     * Queries the Catalog with the specified {@link Query}
+     * </p>.
+     * 
+     * @param query
+     *            The set of criteria by which to query the Catalog.
+     * @param type
+     *            The {@link ProductType} that should be queried.
+     * @return A {@link List} of String product IDs that can be used to retrieve
+     *         products that match the query.
+     * @throws CatalogException
+     *             If any error occurs.
+     */
+    public List<String> query(Query query, ProductType type) throws CatalogException;
+    
+	public List<String> query(Query query, List<ProductType> types) throws CatalogException;
+    
+    /**
+     * <p>
+     * Performs a query against the underlying {@link Catalog}, and then
+     * properly formulates a page of results to send back to the user. This
+     * method is useful when you would like to conserve memory and not send back
+     * the entire list of results, nor load them into memory. Of course, this
+     * method assumes that queries are deterministic, i.e., the same query
+     * issued 2x within a paginating session will produce the same set of
+     * results to paginate.
+     * </p>
+     * 
+     * @param query
+     *            The query to perform against the underlying Catalog.
+     * @param type
+     *            The {@link ProductType} that you are querying for.
+     * @param pageNum
+     *            The number of the {@link ProductPage} to return back to the
+     *            user.
+     * @return The requested {@link ProductPage} of results.
+     * @throws CatalogException
+     *             If any error occurs.
+     */
+    public ProductPage pagedQuery(Query query, ProductType type, int pageNum)
+            throws CatalogException;
+
+    /**
+     * <p>
+     * Gets the top <code>N</code> most recent products that have been
+     * cataloged.
+     * </p>
+     * 
+     * @param n
+     *            The amount of recent products to return.
+     * @return A {@link List} of {@link Product}s that have been cataloged
+     *         recently.
+     * @throws CatalogException
+     *             If any error occurs.
+     */
+    public List<Product> getTopNProducts(int n) throws CatalogException;
+
+    /**
+     * <p>
+     * Gets the top <code>N</code> most recent products that have been
+     * cataloged for the given {@link ProductType}.
+     * </p>
+     * 
+     * @param n
+     *            The amount of recent products to return.
+     * @param type
+     *            The ProductType to limit the query to.
+     * @return A {@link List} of {@link Product}s that have been cataloged
+     *         recently.
+     * @throws CatalogException
+     *             If any error occurs.
+     */
+    public List<Product> getTopNProducts(int n, ProductType type)
+            throws CatalogException;
+
+    /**
+     * 
+     * @return The {@link ValidationLayer} that is used by this Catalog.
+     * @throws CatalogException
+     *             If any error occurs (e.g., the layer isn't initialized).
+     */
+    public ValidationLayer getValidationLayer() throws CatalogException;
+
+    /**
+     * 
+     * @param type
+     *            The ProductType to count the number of products for.
+     * @return An integer count of the number of {@link Product}s for the
+     *         specified {@link ProductType}.
+     * @throws CatalogException
+     *             If any error occurs.
+     */
+    public int getNumProducts(ProductType type) throws CatalogException;
+
+}

Added: oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/catalog/CatalogFactory.java
URL: http://svn.apache.org/viewvc/oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/catalog/CatalogFactory.java?rev=1052148&view=auto
==============================================================================
--- oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/catalog/CatalogFactory.java (added)
+++ oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/catalog/CatalogFactory.java Thu Dec 23 02:48:02 2010
@@ -0,0 +1,43 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.oodt.cas.filemgr.catalog;
+
+//OODT imports
+import org.apache.oodt.cas.filemgr.validation.ValidationLayer;
+
+/**
+ * @author mattmann
+ * @version $Revision$
+ * 
+ * <p>
+ * A Factory interface for creating {@link Catalog}s.
+ * </p>
+ * 
+ */
+public interface CatalogFactory {
+
+	/**
+	 * 
+	 * @param validationLayer
+	 */
+	public void setValidationLayer(ValidationLayer validationLayer);
+	
+	/**
+	 * @return A new {@link Catalog} object implementation.
+	 */
+	public Catalog createCatalog();
+}