BEAST
eu.baltrad.beast.db.Catalog Class Reference

Helper API for simplifying certain tasks related to the FileCatalog. More...

Inheritance diagram for eu.baltrad.beast.db.Catalog:

Public Member Functions

void setCatalog (FileCatalog fc)
 
FileCatalog getCatalog ()
 
List< CatalogEntryfetch (ICatalogFilter filter)
 Returns a list of entries by applying the provided filter.
 
String getFileCatalogPath (String uuid)
 Returns the location of the file associated with the uuid.
 
void afterPropertiesSet () throws Exception
 Requires that a file catalog instance has been set, otherwise a BeanInitializationException will be thrown.
 

Detailed Description

Helper API for simplifying certain tasks related to the FileCatalog.

Author
Anders Henja

Member Function Documentation

◆ afterPropertiesSet()

void eu.baltrad.beast.db.Catalog.afterPropertiesSet ( ) throws Exception
inline

Requires that a file catalog instance has been set, otherwise a BeanInitializationException will be thrown.

See also
org.springframework.beans.factory.InitializingBean.afterPropertiesSet()

◆ fetch()

List< CatalogEntry > eu.baltrad.beast.db.Catalog.fetch ( ICatalogFilter filter)
inline

Returns a list of entries by applying the provided filter.

Parameters
filterthe filter to use
Returns
a list of entries

◆ getCatalog()

FileCatalog eu.baltrad.beast.db.Catalog.getCatalog ( )
inline
Returns
the catalog

◆ getFileCatalogPath()

String eu.baltrad.beast.db.Catalog.getFileCatalogPath ( String uuid)
inline

Returns the location of the file associated with the uuid.

Parameters
uuidthe uuid
Returns
the file location

◆ setCatalog()

void eu.baltrad.beast.db.Catalog.setCatalog ( FileCatalog fc)
inline
Parameters
fcthe catalog to set

The documentation for this class was generated from the following file: