Class TransferHistoryHome
java.lang.Object
ecmwf.web.home.ModelHomeBase
ecmwf.ecpds.master.plugin.http.home.transfer.TransferHistoryHome
public class TransferHistoryHome
extends ecmwf.web.home.ModelHomeBase
The Class TransferHistoryHome.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final Collection<TransferHistory> find(ecmwf.web.model.ModelSearch search) Find.static final Collection<TransferHistory> Find by data transfer.static final Collection<TransferHistory> findByDataTransfer(DataTransfer data, boolean afterScheduleTime, DataBaseCursor cursor) Find by data transfer.static final Collection<TransferHistory> findByDestinationNameAndHistoryDate(ecmwf.web.model.users.User user, String dest, Date date, DataBaseCursor cursor) Find by destination name and history date.static final Collection<TransferHistory> findByDestinationNameAndProductDate(ecmwf.web.model.users.User user, String dest, Date date, DataBaseCursor cursor) Find by destination name and product date.static final TransferHistoryfindByPrimaryKey(String key) Find by primary key.Methods inherited from class ecmwf.web.home.ModelHomeBase
getDefaultSearch, getDefaultSearch
-
Constructor Details
-
TransferHistoryHome
public TransferHistoryHome()
-
-
Method Details
-
findByPrimaryKey
Find by primary key.- Parameters:
key- the key- Returns:
- the transfer history
- Throws:
TransferException- the transfer exception
-
findByDestinationNameAndProductDate
public static final Collection<TransferHistory> findByDestinationNameAndProductDate(ecmwf.web.model.users.User user, String dest, Date date, DataBaseCursor cursor) throws TransferException Find by destination name and product date.- Parameters:
user- the userdest- the destdate- the datecursor- the cursor- Returns:
- the collection
- Throws:
TransferException- the transfer exception
-
findByDestinationNameAndHistoryDate
public static final Collection<TransferHistory> findByDestinationNameAndHistoryDate(ecmwf.web.model.users.User user, String dest, Date date, DataBaseCursor cursor) throws TransferException Find by destination name and history date.- Parameters:
user- the userdest- the destdate- the datecursor- the cursor- Returns:
- the collection
- Throws:
TransferException- the transfer exception
-
findByDataTransfer
public static final Collection<TransferHistory> findByDataTransfer(DataTransfer data) throws TransferException Find by data transfer.- Parameters:
data- the data- Returns:
- the collection
- Throws:
TransferException- the transfer exception
-
findByDataTransfer
public static final Collection<TransferHistory> findByDataTransfer(DataTransfer data, boolean afterScheduleTime, DataBaseCursor cursor) throws TransferException Find by data transfer.- Parameters:
data- the dataafterScheduleTime- the after schedule timecursor- the cursor- Returns:
- the collection
- Throws:
TransferException- the transfer exception
-
find
public static final Collection<TransferHistory> find(ecmwf.web.model.ModelSearch search) throws TransferException Find.- Parameters:
search- the search- Returns:
- the collection
- Throws:
TransferException- the transfer exception
-