

Definition at line 129 of file product.idl.
| pp::ProductPartWriter corba::pcat::pd::ProductWriter::addPart | ( | in pp::PpTypeId | pptypeid | ) | raises (common::OsbCorbaException) |
Add a product part to the product.
This method creates a new product part writer instance. The writer can be used to change the coresponding product part attributes.
The newly added product part has default values as described for pp::ProductPartWriter::addPart. The parent id is 0 which means the product part is the first generation of root product
| pptypeid | The id of type for the product part. |
| OsbCorbaException |
|
| void corba::pcat::pd::ProductWriter::commitChanges | ( | ) | raises (common::OsbCorbaException) |
Commits all changes to the product.
The changes include adding a product part, removing a product part, changing any product part's attribute and the product attribute.
Any changes to the product and product part tree will be commited.
The product writer is destroyed if the function succeeds or if the product was modified by another user since the product writer was created.
In case of product configuration errors the writer object is not destroyed. This allows to correct the errors and to call the function again.
| OsbCorbaException | if
|
| pp::ProductPartWriter corba::pcat::pd::ProductWriter::getWritablePart | ( | in pp::ProductPartId | id | ) | raises (common::OsbCorbaException) |
Get a product part writer instance by its id.
The product part writer are used to change the coresponding product part attributes.
| id | The id of the product part which should be found, owned to the product's part tree. |
| OsbCorbaException |
|
| void corba::pcat::pd::ProductWriter::removePart | ( | in pp::ProductPartId | id | ) | raises (common::OsbCorbaException) |
Remove a product part from this product.
| id | The id of the product part to be removed from list of product parts for this product. |
| OsbCorbaException |
|
| void corba::pcat::pd::ProductWriter::setDesc | ( | in common::Utf8String | desc | ) | raises (common::OsbCorbaException) |
Set the description of a product.
This method sets the new description of a product.
| desc | The new description of the product. |
| OsbException | if the status is not editable. |
| void corba::pcat::pd::ProductWriter::setEndDate | ( | in common::Date | end | ) | raises (common::OsbCorbaException) |
Set the end release date for the product.
| end | Ending date of release mode. |
| OsbException | if end date is earlier than start date or today. |
| void corba::pcat::pd::ProductWriter::setName | ( | in common::Utf8String | name | ) | raises (common::OsbCorbaException) |
Set the name of a product.
This method sets the new name of a product.
| name | The new name of the product. |
| OsbException | if the status is not editable. |
| void corba::pcat::pd::ProductWriter::setStartDate | ( | in common::Date | start | ) | raises (common::OsbCorbaException) |
Set the start release date for the product.
| start | Starting date of release mode. |
| OsbException |
|
1.4.7