00001
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030 #ifndef ASSOCIATE_IDL
00031 #define ASSOCIATE_IDL
00032
00033 #include "address.idl"
00034 #include "contract.idl"
00035
00036 module corba {
00037 module cadmin {
00038 module assoc {
00040 enum AssociateType {
00041 atUnknown,
00042 atCustomer
00043 };
00044
00046 interface AssociateWriter {
00048 readonly attribute AssociateId id;
00049
00051 readonly attribute common::Utf8String name;
00052
00054 readonly attribute AssociateId parentId;
00055
00057 readonly attribute unsigned long levelId;
00058
00060 readonly attribute AssociateType asType;
00061
00063 readonly attribute AssociateIdSeq getChildren;
00064
00066 readonly attribute common::TaxKeyId tkId;
00067
00069 readonly attribute Status effStatus;
00070
00072 readonly attribute Status prefStatus;
00073
00075 readonly attribute common::DateTime effStatusDate;
00076
00081 readonly attribute common::DateTime prefStatusDate;
00082
00084 readonly attribute common::Account salesLedger;
00085
00087 readonly attribute common::Account purchaseLedger;
00088
00090 readonly attribute common::Utf8String accNo;
00091
00103 StatusValue requestedStatus(
00104 in common::DateTime ts
00105 ) raises (common::OsbCorbaException);
00106
00119 StatusHistory statusHistory(
00120 in common::DateTime from,
00121 in common::DateTime to,
00122 in boolean noWait
00123 ) raises (common::OsbCorbaException);
00124
00133 cadmin::addr::AddressWriter getAddress
00134 (in cadmin::addr::AddrTypeId type
00135 ) raises (common::OsbCorbaException);
00136
00138 cadmin::addr::AddressSeq getAddresses()
00139 raises (common::OsbCorbaException);
00140
00158 cadmin::addr::AddressWriter getNewAddress(
00159 in cadmin::addr::AddrTypeIdSeq types
00160 ) raises (common::OsbCorbaException);
00161
00176 boolean removeAddress(
00177 in cadmin::addr::AddrTypeId type,
00178 in boolean noWait,
00179 out common::CfgErrorSeq errors
00180 ) raises (common::OsbCorbaException);
00181
00202 boolean linkAddressType(
00203 in cadmin::addr::AddrTypeId type,
00204 in cadmin::addr::AddrTypeId newType,
00205 in boolean noWait
00206 ) raises (common::OsbCorbaException);
00207
00225 boolean unlinkAddressType(
00226 in cadmin::addr::AddrTypeId type,
00227 in boolean noWait
00228 ) raises (common::OsbCorbaException);
00229
00234 cadmin::contract::ContractIdSeq getContractIds();
00235
00251 boolean addChild(
00252 in AssociateId id,
00253 in boolean noWait
00254 ) raises (common::OsbCorbaException);
00255
00271 boolean removeChild(
00272 in AssociateId id,
00273 in boolean noWait
00274 ) raises (common::OsbCorbaException);
00275
00277 void setTaxKey(in common::TaxKeyId tId);
00278
00280 void setSalesLedger(in common::Account salesLedger);
00281
00283 void setPurchaseLedger(in common::Account purchaseLedger);
00284
00286 void setName(in common::Utf8String name);
00287
00289 void setAccountNo(in common::Utf8String accNo);
00290
00305 AssociateId create(
00306 in boolean noWait
00307 ) raises (common::OsbCorbaException);
00308
00310 boolean commitChanges(
00311 in boolean noWait
00312 ) raises(common::OsbCorbaException);
00313
00315
00316
00329 boolean changeStatus(
00330 inout StatusRequest status,
00331 in boolean noWait,
00332 out common::CfgErrorSeq errors
00333 ) raises (common::OsbCorbaException);
00335 };
00336
00338 interface CustomerWriter : AssociateWriter {};
00339 };
00340 };
00341 };
00342 #endif // #ifndef ASSOCIATE_IDL