public interface VdsDAO extends DAO
VdsDAO
defines a type that performs CRUD operations on instances of VDS
.Modifier and Type | Method and Description |
---|---|
VDS |
get(NGuid id)
Retrieves the instance with the given id.
|
List<VDS> |
getAll()
Retrieves all VDS instances.
|
List<VDS> |
getAllForHostname(String hostname)
Finds all instances for the given host.
|
List<VDS> |
getAllForVdsGroup(Guid vdsGroup)
Retrieves all VDS instances by vds group id (cluster ID)
|
List<VDS> |
getAllForVdsGroupWithoutMigrating(Guid vdsGroup)
Retrieves all instances by group id.
|
List<VDS> |
getAllOfType(VDSType vds)
Retrieves all instances for the specified type.
|
List<VDS> |
getAllOfTypes(VDSType[] types)
Retrieves all instances for the given list of types.
|
List<VDS> |
getAllWithIpAddress(String address)
Retrieves all instances with the given address.
|
List<VDS> |
getAllWithName(String name)
Finds all instances with the given name.
|
List<VDS> |
getAllWithQuery(String query)
Retrieves all instances using the supplied SQL query.
|
List<VDS> |
getAllWithUniqueId(String id)
Retrieves all instances with the given unique id.
|
List<VDS> |
getListForSpmSelection(Guid storagePoolId)
Retrieves all VDS instances in the given Storage Pool, that are in status "UP"
ordered by their vds_spm_priority, not including -1
|
VDS get(NGuid id)
id
- the idList<VDS> getAllWithName(String name)
name
- the nameList<VDS> getAllForHostname(String hostname)
hostname
- the hostnameList<VDS> getAllWithIpAddress(String address)
address
- the addressList<VDS> getAllWithUniqueId(String id)
id
- the unique idList<VDS> getAllOfType(VDSType vds)
vds
- the typeList<VDS> getAllOfTypes(VDSType[] types)
types
- the type filterList<VDS> getAllForVdsGroupWithoutMigrating(Guid vdsGroup)
vdsGroup
- the group idList<VDS> getAllWithQuery(String query)
query
- the queryList<VDS> getAllForVdsGroup(Guid vdsGroup)
vdsGroup
- Copyright © 2012. All Rights Reserved.