@Singleton public class BasePricingService extends Object implements PricingService
| Modifier and Type | Field and Description | 
|---|---|
protected RestContext<AbiquoApi,AbiquoAsyncApi> | 
context  | 
protected ListCurrencies | 
listCurrencies  | 
| Modifier | Constructor and Description | 
|---|---|
protected  | 
BasePricingService(RestContext<AbiquoApi,AbiquoAsyncApi> context,
                  ListCurrencies listCurrencies)  | 
| Modifier and Type | Method and Description | 
|---|---|
Currency | 
findCurrency(com.google.common.base.Predicate<Currency> filter)
Get the first currencies that matches the given filter or  
null if none is found. | 
Iterable<Currency> | 
listCurrencies()
Currency ********************** 
 | 
Iterable<Currency> | 
listCurrencies(com.google.common.base.Predicate<Currency> filter)
Get the list of currencies matching the given filter. 
 | 
protected RestContext<AbiquoApi,AbiquoAsyncApi> context
protected final ListCurrencies listCurrencies
@Inject protected BasePricingService(RestContext<AbiquoApi,AbiquoAsyncApi> context, ListCurrencies listCurrencies)
public Iterable<Currency> listCurrencies()
listCurrencies in interface PricingServicepublic Iterable<Currency> listCurrencies(com.google.common.base.Predicate<Currency> filter)
PricingServicelistCurrencies in interface PricingServicepublic Currency findCurrency(com.google.common.base.Predicate<Currency> filter)
PricingServicenull if none is found.findCurrency in interface PricingServiceCopyright © 2009-2013 jclouds. All Rights Reserved.