@Singleton public class BaseSearchService extends Object implements SearchService
Modifier and Type | Field and Description |
---|---|
protected RestContext<AbiquoApi,AbiquoAsyncApi> |
context |
Modifier | Constructor and Description |
---|---|
protected |
BaseSearchService(RestContext<AbiquoApi,AbiquoAsyncApi> context) |
Modifier and Type | Method and Description |
---|---|
Iterable<Enterprise> |
searchEnterprises(EnterpriseOptions options)
Enterprise
|
Iterable<Enterprise> |
searchEnterprisesUsingDatacenter(Datacenter datacenter,
EnterpriseOptions options)
Get the list of filtered enterprises for a datacenter.
|
Iterable<PrivateIp> |
searchPrivateIps(PrivateNetwork network,
IpOptions options)
Private Network
|
Iterable<PublicIp> |
searchPublicIpsToPurchase(VirtualDatacenter virtualDatacenter,
IpOptions options)
Get the list of filtered public ips to purchase by a virtual datacenter.
|
Iterable<PublicIp> |
searchPurchasedPublicIps(VirtualDatacenter virtualDatacenter,
IpOptions options)
Get the list of filtered purchased public ips by a virtual datacenter.
|
Iterable<LogicServer> |
searchServiceProfiles(ManagedRack rack,
FilterOptions options)
Get the list of service profiles for managed rack.
|
Iterable<LogicServer> |
searchServiceProfileTemplates(ManagedRack rack,
FilterOptions options)
Get the list of service profile templates for managed rack.
|
List<StoragePool> |
searchStoragePools(StorageDevice device,
StoragePoolOptions options)
Storage Pool
|
Iterable<Volume> |
searchVolumes(VirtualDatacenter virtualDatacenter,
VolumeOptions options)
Volume **********************
|
protected RestContext<AbiquoApi,AbiquoAsyncApi> context
@Inject protected BaseSearchService(RestContext<AbiquoApi,AbiquoAsyncApi> context)
public Iterable<Enterprise> searchEnterprises(EnterpriseOptions options)
searchEnterprises
in interface SearchService
options
- The set of filtering and pagination options of the search.public Iterable<Enterprise> searchEnterprisesUsingDatacenter(Datacenter datacenter, EnterpriseOptions options)
SearchService
searchEnterprisesUsingDatacenter
in interface SearchService
datacenter
- The given datacenter.options
- The set of filtering and pagination options of the search. http://community.abiquo.com/display/ABI20/Datacenter+Resource#DatacenterResource-
Retrievealistofenterprisesusingdatacenter
public Iterable<Volume> searchVolumes(VirtualDatacenter virtualDatacenter, VolumeOptions options)
searchVolumes
in interface SearchService
virtualDatacenter
- The given virtual datacenter.options
- The set of filtering and pagination options of the search.public List<StoragePool> searchStoragePools(StorageDevice device, StoragePoolOptions options)
searchStoragePools
in interface SearchService
device
- The given storage device.options
- The set of filtering and pagination options of the search.public Iterable<PrivateIp> searchPrivateIps(PrivateNetwork network, IpOptions options)
searchPrivateIps
in interface SearchService
network
- The given private network.options
- The set of filtering and pagination options of the search.public Iterable<PublicIp> searchPublicIpsToPurchase(VirtualDatacenter virtualDatacenter, IpOptions options)
SearchService
searchPublicIpsToPurchase
in interface SearchService
virtualDatacenter
- The given virtual datacenter.options
- The set of filtering and pagination options of the search.public Iterable<PublicIp> searchPurchasedPublicIps(VirtualDatacenter virtualDatacenter, IpOptions options)
SearchService
searchPurchasedPublicIps
in interface SearchService
virtualDatacenter
- The given virtual datacenter.options
- The set of filtering and pagination options of the search.public Iterable<LogicServer> searchServiceProfiles(ManagedRack rack, FilterOptions options)
SearchService
searchServiceProfiles
in interface SearchService
options
- The set of filtering and pagination options of the search.public Iterable<LogicServer> searchServiceProfileTemplates(ManagedRack rack, FilterOptions options)
SearchService
searchServiceProfileTemplates
in interface SearchService
options
- The set of filtering and pagination options of the search.Copyright © 2009-2013 jclouds. All Rights Reserved.