Class DestinationHome
java.lang.Object
ecmwf.web.home.ModelHomeBase
ecmwf.ecpds.master.plugin.http.home.transfer.DestinationHome
public class DestinationHome
extends ecmwf.web.home.ModelHomeBase
The Class DestinationHome.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final Destination
create()
Creates the.static final Collection
find
(ecmwf.web.model.ModelSearch search) Find.static final Collection
<Destination> Find aliased from.static final Collection
<Destination> Find aliases.static final Collection
<Alias> Find alias list.static final Collection
<Destination> findAll()
Find all.static final Collection
<ecmwf.web.util.bean.Pair> Find all names and comments.static final Collection
<Destination> Find all showing in monitor.static final Collection
<Destination> Find associated to incoming policy.static final Collection
<Destination> Find associated to incoming user.static final Collection
<Destination> findByCountry
(Country country) Find by country.static final Collection
<Destination> findByHost
(Host host) Find by host.static final Destination
findByPrimaryKey
(String key) Find by primary key.static final Collection
<Destination> findByUser
(ecmwf.web.model.users.User user, String search, String fromToAliases, boolean asc, String status, String type, String filter) Find by user.static final Collection
<ChangeLog> Find change log list.static final Collection
<Traffic> Find traffic list.static final ecmwf.web.model.ModelSearch
Gets the default search.Methods inherited from class ecmwf.web.home.ModelHomeBase
getDefaultSearch
-
Constructor Details
-
DestinationHome
public DestinationHome()
-
-
Method Details
-
create
Creates the.- Returns:
- the destination
- Throws:
TransferException
- the transfer exception
-
findByPrimaryKey
Find by primary key.- Parameters:
key
- the key- Returns:
- the destination
- Throws:
TransferException
- the transfer exception
-
findAssociatedToIncomingUser
public static final Collection<Destination> findAssociatedToIncomingUser(IncomingUser u) throws TransferException Find associated to incoming user.- Parameters:
u
- the u- Returns:
- the collection
- Throws:
TransferException
- the transfer exception
-
findAssociatedToIncomingPolicy
public static final Collection<Destination> findAssociatedToIncomingPolicy(IncomingPolicy p) throws TransferException Find associated to incoming policy.- Parameters:
p
- the p- Returns:
- the collection
- Throws:
TransferException
- the transfer exception
-
findByCountry
Find by country.- Parameters:
country
- the country- Returns:
- the collection
- Throws:
TransferException
- the transfer exception
-
findByHost
Find by host.- Parameters:
host
- the host- Returns:
- the collection
- Throws:
TransferException
- the transfer exception
-
findByUser
public static final Collection<Destination> findByUser(ecmwf.web.model.users.User user, String search, String fromToAliases, boolean asc, String status, String type, String filter) throws TransferException Find by user.- Parameters:
user
- the usersearch
- the searchfromToAliases
- the from to aliasesasc
- the ascstatus
- the statustype
- the typefilter
- the filter- Returns:
- the collection
- Throws:
TransferException
- the transfer exception
-
findAliasList
Find alias list.- Parameters:
d
- the d- Returns:
- the collection
- Throws:
TransferException
- the transfer exception
-
findAliases
Find aliases.- Parameters:
d
- the d- Returns:
- the collection
- Throws:
TransferException
- the transfer exception
-
findTrafficList
Find traffic list.- Parameters:
d
- the d- Returns:
- the collection
- Throws:
TransferException
- the transfer exception
-
findChangeLogList
Find change log list.- Parameters:
d
- the d- Returns:
- the collection
- Throws:
TransferException
- the transfer exception
-
findAliasedFrom
Find aliased from.- Parameters:
d
- the d- Returns:
- the collection
- Throws:
TransferException
- the transfer exception
-
findAll
Find all.- Returns:
- the collection
- Throws:
TransferException
- the transfer exception
-
findAllNamesAndComments
public static final Collection<ecmwf.web.util.bean.Pair> findAllNamesAndComments() throws TransferExceptionFind all names and comments.- Returns:
- the collection
- Throws:
TransferException
- the transfer exception
-
findAllShowingInMonitor
Find all showing in monitor.- 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
-