00001
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035 #ifndef PRODUCTCATALOGUE_IDL
00036 #define PRODUCTCATALOGUE_IDL
00037
00038
00039
00040 #include "exception.idl"
00041 #include "product.idl"
00042 #include "productpart.idl"
00043 #include "pricelist.idl"
00044 #include "service.idl"
00045 #include "tariffobject.idl"
00046
00047 module corba {
00048 module pcat {
00049
00061 interface ProductCatalogue {
00063 readonly attribute common::ServerInfo getServerInfo;
00064
00066
00067
00081 pd::Product getProduct(in pd::ProductId id)
00082 raises (common::OsbCorbaException);
00083
00091 pd::ProductSeq getProducts();
00092
00112 pd::ProductWriter creProduct()
00113 raises (common::OsbCorbaException);
00114
00125 void delProduct(in pd::ProductId id)
00126 raises (common::OsbCorbaException);
00128
00130 pp::PpTypeSeq getPpTypes();
00131
00140 pp::PpType getPpType(
00141 in pp::PpTypeId id
00142 ) raises (common::OsbCorbaException);
00143
00145
00146
00156 pl::Pricelist getPricelist(in pl::PricelistId id)
00157 raises (common::OsbCorbaException);
00158
00166 pl::PricelistSeq getPricelists()
00167 raises (common::OsbCorbaException);
00168
00178 pl::PricelistWriter crePricelist();
00179
00195 void delPricelist(in pl::PricelistId id, in boolean noWait)
00196 raises (common::OsbCorbaException);
00197
00206 pl::PricelistCfg getPricelistCfg(in pl::PricelistId id)
00207 raises (common::OsbCorbaException);
00209
00211
00212
00228 boolean checkPricelistCfg(
00229 in pl::PricelistId pricelistId,
00230 in boolean noWait
00231 ) raises (common::OsbCorbaException);
00232
00233
00249 boolean releasePricelistCfg(
00250 in pl::PricelistId pricelistId,
00251 in boolean noWait
00252 ) raises (common::OsbCorbaException);
00253
00269 boolean revokePricelistCfg(
00270 in pl::PricelistId pricelistId,
00271 in boolean noWait
00272 ) raises (common::OsbCorbaException);
00273
00289 boolean unfreezePricelistCfg(
00290 in pl::PricelistId pricelistId,
00291 in boolean noWait
00292 ) raises (common::OsbCorbaException);
00294
00296
00297
00305 service::ServiceElement getServiceElement(
00306 in service::ServiceElementId seId
00307 ) raises (common::OsbCorbaException);
00308
00310 service::ServiceElementSeq getServiceElements();
00312
00314
00315
00323 tcat::ts::TariffSystem getTariffSystem(
00324 in tcat::ts::TariffSystemId tsId
00325 ) raises (common::OsbCorbaException);
00326
00328 tcat::ts::TariffSystemSeq getTariffSystems();
00330
00339 common::Accounting getAccounting(in boolean noWait);
00340
00369 boolean creChargeTraits(
00370 in common::CurrencyCode currency,
00371 in common::RoundRuleId rrId,
00372 in common::Utf8String accCode,
00373 in common::Utf8String numFormat,
00374 in common::TaxKeyId tkId,
00375 in common::ChargeType cType,
00376 in boolean noWait,
00377 out common::ChargeTraits chrgTraits
00378 ) raises (common::OsbCorbaException);
00379 };
00380 };
00381 };
00382 #endif // PRODUCTCATALOGUE_IDL
00383