Class DataFileHome
java.lang.Object
ecmwf.web.home.ModelHomeBase
ecmwf.ecpds.master.plugin.http.home.datafile.DataFileHome
public class DataFileHome
extends ecmwf.web.home.ModelHomeBase
The Class DataFileHome.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final Collection
<DataFile> find
(ecmwf.web.model.ModelSearch search) Find.static final Collection
<DataFile> findByMetaDataAndDate
(String name, String value, Date date, DataBaseCursor cursor) Find by meta data and date.static final DataFile
findByPrimaryKey
(String key) Find by primary key.Methods inherited from class ecmwf.web.home.ModelHomeBase
getDefaultSearch, getDefaultSearch
-
Constructor Details
-
DataFileHome
public DataFileHome()
-
-
Method Details
-
findByPrimaryKey
Find by primary key.- Parameters:
key
- the key- Returns:
- the data file
- Throws:
DataFileException
- the data file exception
-
findByMetaDataAndDate
public static final Collection<DataFile> findByMetaDataAndDate(String name, String value, Date date, DataBaseCursor cursor) throws DataFileException Find by meta data and date.- Parameters:
name
- the namevalue
- the valuedate
- the datecursor
- the cursor- Returns:
- the collection
- Throws:
DataFileException
- the data file exception
-
find
public static final Collection<DataFile> find(ecmwf.web.model.ModelSearch search) throws DataFileException Find.- Parameters:
search
- the search- Returns:
- the collection
- Throws:
DataFileException
- the data file exception
-