Class HostHome
java.lang.Object
ecmwf.web.home.ModelHomeBase
ecmwf.ecpds.master.plugin.http.home.transfer.HostHome
public class HostHome
extends ecmwf.web.home.ModelHomeBase
The Class HostHome.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final Host
create()
Creates the.static final Collection
find
(ecmwf.web.model.ModelSearch search) Find.static final Collection
<Host> findAll()
Find all.static final Collection
<Host> findByCriteria
(String label, String filter, String network, String type, String search, DataBaseCursor cursor) Find by criteria.static final Collection
<Host> Find by destination.static final Host
findByPrimaryKey
(String key) Find by primary key.static final Collection
<Host> Find by transfer method.static final Collection
<ChangeLog> Find change log list.static final Collection
<ecmwf.web.util.bean.Pair> Find with priority by destination.static final ecmwf.web.model.ModelSearch
Gets the default search.Methods inherited from class ecmwf.web.home.ModelHomeBase
getDefaultSearch
-
Constructor Details
-
HostHome
public HostHome()
-
-
Method Details
-
create
Creates the.- Returns:
- the host
- Throws:
TransferException
- the transfer exception
-
findByPrimaryKey
Find by primary key.- Parameters:
key
- the key- Returns:
- the host
- Throws:
TransferException
- the transfer exception
-
findChangeLogList
Find change log list.- Parameters:
h
- the h- Returns:
- the collection
- Throws:
TransferException
- the transfer exception
-
findAll
Find all.- Returns:
- the collection
- Throws:
TransferException
- the transfer exception
-
findByCriteria
public static final Collection<Host> findByCriteria(String label, String filter, String network, String type, String search, DataBaseCursor cursor) throws TransferException Find by criteria.- Parameters:
label
- the labelfilter
- the filternetwork
- the networktype
- the typesearch
- the searchcursor
- the cursor- Returns:
- the collection
- Throws:
TransferException
- the transfer exception
-
findWithPriorityByDestination
public static final Collection<ecmwf.web.util.bean.Pair> findWithPriorityByDestination(Destination d) throws TransferException Find with priority by destination.- Parameters:
d
- the d- Returns:
- the collection
- Throws:
TransferException
- the transfer exception
-
findByDestination
Find by destination.- Parameters:
d
- the d- Returns:
- the collection
- Throws:
TransferException
- the transfer exception
-
findByTransferMethod
public static final Collection<Host> findByTransferMethod(TransferMethod d) throws TransferException Find by transfer method.- Parameters:
d
- the d- Returns:
- the collection
- Throws:
TransferException
- the transfer exception
-
find
Find.- Parameters:
search
- the search- Returns:
- the collection
- Throws:
TransferException
- the transfer exception
-
getDefaultSearch
Gets the default search.- Parameters:
s
- the s- Returns:
- the default search
-