public class DefaultCatalogUserApi extends Object implements CatalogUserApi
| Constructor and Description |
|---|
DefaultCatalogUserApi(CatalogService catalogService,
TenantUserApi tenantApi,
CatalogCache catalogCache,
org.killbill.clock.Clock clock,
InternalCallContextFactory internalCallContextFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSimplePlan(SimplePlanDescriptor descriptor,
org.joda.time.DateTime effectiveDate,
CallContext callContext) |
void |
createDefaultEmptyCatalog(org.joda.time.DateTime effectiveDate,
CallContext callContext) |
void |
deleteCatalog(CallContext callContext) |
VersionedCatalog |
getCatalog(String catalogName,
TenantContext tenantContext) |
StaticCatalog |
getCurrentCatalog(String catalogName,
TenantContext tenantContext) |
void |
uploadCatalog(String catalogXML,
CallContext callContext) |
@Inject public DefaultCatalogUserApi(CatalogService catalogService, TenantUserApi tenantApi, CatalogCache catalogCache, org.killbill.clock.Clock clock, InternalCallContextFactory internalCallContextFactory)
public VersionedCatalog getCatalog(String catalogName, TenantContext tenantContext) throws CatalogApiException
getCatalog in interface CatalogUserApiCatalogApiExceptionpublic StaticCatalog getCurrentCatalog(String catalogName, TenantContext tenantContext) throws CatalogApiException
getCurrentCatalog in interface CatalogUserApiCatalogApiExceptionpublic void uploadCatalog(String catalogXML, CallContext callContext) throws CatalogApiException
uploadCatalog in interface CatalogUserApiCatalogApiExceptionpublic void createDefaultEmptyCatalog(@Nullable org.joda.time.DateTime effectiveDate, CallContext callContext) throws CatalogApiException
createDefaultEmptyCatalog in interface CatalogUserApiCatalogApiExceptionpublic void addSimplePlan(SimplePlanDescriptor descriptor, @Nullable org.joda.time.DateTime effectiveDate, CallContext callContext) throws CatalogApiException
addSimplePlan in interface CatalogUserApiCatalogApiExceptionpublic void deleteCatalog(CallContext callContext) throws CatalogApiException
deleteCatalog in interface CatalogUserApiCatalogApiExceptionCopyright © 2010–2021. All rights reserved.