public interface CatalogUserApi extends KillbillApi
CatalogUserApi to retrieve catalog information| Modifier and Type | Method and Description |
|---|---|
void |
addSimplePlan(SimplePlanDescriptor planDescriptor,
org.joda.time.DateTime requestedDate,
CallContext context)
Allows to add plan definition in existing per-tenant catalog.
|
void |
createDefaultEmptyCatalog(org.joda.time.DateTime effectiveDate,
CallContext callContext)
Creates a per-tenant default template catalog
|
void |
deleteCatalog(CallContext callContext)
Delete a per-tenant catalog (should be used with caution)
|
VersionedCatalog<? extends StaticCatalog> |
getCatalog(java.lang.String catalogName,
org.joda.time.DateTime catalogDateVersion,
TenantContext context)
Retrieves the multi versioned catalog.
|
StaticCatalog |
getCurrentCatalog(java.lang.String catalogName,
TenantContext context)
Retrieves the current catalog
|
void |
uploadCatalog(java.lang.String catalogXML,
CallContext context) |
VersionedCatalog<? extends StaticCatalog> getCatalog(java.lang.String catalogName, org.joda.time.DateTime catalogDateVersion, TenantContext context) throws CatalogApiException
catalogName - the name of the catalogcatalogDateVersion - optional date filter to retrieve a specific versioncontext - the user context that specifies the tenant informationCatalogCatalogApiExceptionStaticCatalog getCurrentCatalog(java.lang.String catalogName, TenantContext context) throws CatalogApiException
catalogName - the name of the catalogcontext - the user context that specifies the tenant informationCatalogCatalogApiExceptionvoid uploadCatalog(java.lang.String catalogXML,
CallContext context)
throws CatalogApiException
catalogXML - the catalog XMLcontext - the user contextCatalogApiExceptionvoid createDefaultEmptyCatalog(org.joda.time.DateTime effectiveDate,
CallContext callContext)
throws CatalogApiException
effectiveDate - the effective date for this catalogcallContext - the user contextCatalogApiExceptionvoid addSimplePlan(SimplePlanDescriptor planDescriptor, org.joda.time.DateTime requestedDate, CallContext context) throws CatalogApiException
planDescriptor - requestedDate - context - CatalogApiExceptionvoid deleteCatalog(CallContext callContext) throws CatalogApiException
callContext - the user contextCatalogApiExceptionCopyright © 2010-2018. All Rights Reserved.