productcatalogue.idl

Go to the documentation of this file.
00001 // OSB library ********************************************* -*- C++ -*-
00009 /*
00010   AUTHOR(S): Zhang Min (zm)
00011              Elangovan Angannan (aen)
00012 
00013   RCS information
00014    $Name: OSB_060808 $
00015    $Revision: 1.16.2.1 $
00016 
00017   License
00018    OSB rating and billing library for communication networks
00019    Copyright (C) 2004, 2005, 2006  OSB systems
00020 
00021    This file may be distributed and/or modify under the terms of the
00022    GNU General Public License (GPL) as published by the Free Software
00023    Foundation which is provided in the file LICENSE.GPL included in the
00024    packaging of this file.
00025 
00026    The file is distributed in the hope that it will be useful, but WITHOUT
00027    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00028    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
00029    for more details.
00030 
00031    Holders of a OSB Commercial License may use this file under the terms
00032    and conditions of this commercial license.
00033  */
00034 
00035 #ifndef PRODUCTCATALOGUE_IDL
00036 #define PRODUCTCATALOGUE_IDL
00037 // *********************************************************************
00038 // included header files
00039 // + local includes
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 

Generated on Sat Sep 2 14:23:01 2006 for OSB Library by  doxygen 1.4.7