public class DefaultCatalogService extends Object implements org.killbill.billing.platform.api.KillbillService, CatalogService
| Constructor and Description |
|---|
DefaultCatalogService(CatalogConfig config,
TenantInternalApi tenantInternalApi,
CatalogCache catalogCache,
TenantInternalApi.CacheInvalidationCallback cacheInvalidationCallback) |
| Modifier and Type | Method and Description |
|---|---|
StaticCatalog |
getCurrentCatalog(boolean useDefaultCatalog,
boolean filterTemplateCatalog,
InternalTenantContext context) |
Catalog |
getFullCatalog(boolean useDefaultCatalog,
boolean filterTemplateCatalog,
InternalTenantContext context) |
String |
getName() |
void |
initialize() |
void |
loadCatalog() |
@Inject public DefaultCatalogService(CatalogConfig config, TenantInternalApi tenantInternalApi, CatalogCache catalogCache, @Named(value="CatalogInvalidationCallback") TenantInternalApi.CacheInvalidationCallback cacheInvalidationCallback)
public void loadCatalog()
throws org.killbill.billing.platform.api.KillbillService.ServiceException
org.killbill.billing.platform.api.KillbillService.ServiceExceptionpublic void initialize()
throws org.killbill.billing.platform.api.KillbillService.ServiceException
org.killbill.billing.platform.api.KillbillService.ServiceExceptionpublic String getName()
getName in interface org.killbill.billing.platform.api.KillbillServicepublic Catalog getFullCatalog(boolean useDefaultCatalog, boolean filterTemplateCatalog, InternalTenantContext context) throws CatalogApiException
getFullCatalog in interface CatalogServiceCatalogApiExceptionpublic StaticCatalog getCurrentCatalog(boolean useDefaultCatalog, boolean filterTemplateCatalog, InternalTenantContext context) throws CatalogApiException
getCurrentCatalog in interface CatalogServiceCatalogApiExceptionCopyright © 2010-2016. All Rights Reserved.