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 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 };
00345 };
00346 };
00347 };
00348 #endif // #ifndef PERSPRODUCT_IDL