persproduct.idl

Go to the documentation of this file.
00001 // OSB library ********************************************* -*- IDL -*-
00006 /*
00007   AUTHOR(S): Darryl Kang (dk)
00008 
00009   RCS information
00010    $Name: OSB_060808 $
00011    $Revision: 1.30.2.1 $
00012 
00013   License
00014    OSB rating and billing library for communication networks
00015    Copyright (C) 2004, 2005, 2006  OSB systems
00016 
00017    This file may be distributed and/or modify under the terms of the
00018    GNU General Public License (GPL) as published by the Free Software
00019    Foundation which is provided in the file LICENSE.GPL included in the
00020    packaging of this file.
00021 
00022    The file is distributed in the hope that it will be useful, but WITHOUT
00023    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00024    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
00025    for more details.
00026 
00027    Holders of a OSB Commercial License may use this file under the terms
00028    and conditions of this commercial license.
00029  */
00030 #ifndef PERSPRODUCT_IDL
00031 #define PERSPRODUCT_IDL
00032 // *********************************************************************
00033 #include "persprodnode.idl"
00034 #include "product.idl"
00035 
00036 module corba {
00037   module cadmin {
00038     module persprod {
00039 
00049       interface AvailnSubscrPart {
00054           readonly attribute pcat::pp::ProductPartId ppId;
00055 
00060           readonly attribute cadmin::PersNodeId ppnId;
00061 
00063           readonly attribute long mandatory;
00064 
00066           readonly attribute boolean isSubscribed;
00067 
00075           readonly attribute boolean hasDefPersPart;
00076 
00084           cadmin::persproditem::PersProdItemWriter crePersPart()
00085               raises (common::OsbCorbaException);
00086       };
00087 
00088       typedef sequence<AvailnSubscrPart> AvailnSubscrPartSeq;
00089 
00094       interface PersProductWriter {
00096           readonly attribute PersProdId id;
00097 
00099           readonly attribute pcat::pd::ProductId prodId;
00100 
00104           readonly attribute cadmin::AssociateId userId;
00105 
00107           common::Utf8String name()
00108               raises (common::OsbCorbaException);
00109 
00111           common::Utf8String desc()
00112               raises (common::OsbCorbaException);
00113 
00115           readonly attribute common::DateTime createdDate;
00116 
00118           readonly attribute Status prefStatus;
00119 
00121           readonly attribute common::DateTime prefStatusDate;
00122 
00124           readonly attribute Status effStatus;
00125 
00127           readonly attribute common::DateTime effStatusDate;
00128 
00135           readonly attribute AvailnSubscrPartSeq getNextAvailnSubscrParts;
00136 
00150           AvailnSubscrPartSeq getAvailnSubscrParts(
00151               in pcat::pp::ProductPartId id
00152           ) raises (common::OsbCorbaException);
00153 
00164           AvailnSubscrPart getAvailnSubscrPart(
00165               in pcat::pp::ProductPartId id
00166           ) raises (common::OsbCorbaException);
00167 
00178           cadmin::persprodnode::PersProdNodeSeq getPersProdNodes()
00179               raises (common::OsbCorbaException);
00180 
00189           cadmin::persprodnode::PersProdNodeWriter getPersProdNode(
00190               in pcat::pp::ProductPartId id
00191           ) raises (common::OsbCorbaException);
00192 
00204           StatusValue requestedStatus(
00205               in common::DateTime ts
00206           ) raises (common::OsbCorbaException);
00207 
00220           StatusHistory statusHistory(
00221               in common::DateTime from,
00222               in common::DateTime to,
00223               in boolean          noWait
00224           ) raises (common::OsbCorbaException);
00225 
00240           boolean addPersProdNode(
00241               in pcat::pp::ProductPartId id,
00242               in boolean                 noWait
00243           ) raises (common::OsbCorbaException);
00244 
00259           boolean removePersProdNode(
00260               in pcat::pp::ProductPartId id,
00261               in boolean                 noWait
00262           ) raises (common::OsbCorbaException);
00263 
00283           boolean subscribe(
00284               in pcat::pp::ProductPartId id,
00285               in boolean                 noWait
00286           ) raises (common::OsbCorbaException);
00287 
00293           void setUserId(
00294               in AssociateId id
00295           );
00296 
00298           boolean commitChanges(
00299               in boolean noWait
00300           ) raises (common::OsbCorbaException);
00301 
00303 
00304 
00317           boolean changeStatus(
00318               inout StatusRequest       status,
00319               in    boolean             noWait,
00320               out   common::CfgErrorSeq errors
00321           ) raises (common::OsbCorbaException);
00322 
00337           boolean changePartStatus(
00338               inout StatusRequest           status,
00339               in    pcat::pp::ProductPartId ppId,
00340               in    boolean                 noWait,
00341               out   common::CfgErrorSeq     errors
00342           ) raises (common::OsbCorbaException);
00344       };                                // interface PersProductWriter
00345     };                                  // module persprod
00346   };                                    // module cadmin
00347 };
00348 #endif                                  // #ifndef PERSPRODUCT_IDL

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