
Definition at line 94 of file persproduct.idl.
| boolean corba::cadmin::persprod::PersProductWriter::addPersProdNode | ( | in pcat::pp::ProductPartId | id, | |
| in boolean | noWait | |||
| ) | raises (common::OsbCorbaException) |
Add a new personalised product node.
This operation is not allowed if parent is deactivated.
| id | Unqiue product part id. | |
| noWait | Set to false if waiting is desired when lock is already acquired by others. If waiting is not desired, set flag to true. |
| OsbCorbaException | if operation fails at the gateway. |
| boolean corba::cadmin::persprod::PersProductWriter::changePartStatus | ( | inout StatusRequest | status, | |
| in pcat::pp::ProductPartId | ppId, | |||
| in boolean | noWait, | |||
| out common::CfgErrorSeq | errors | |||
| ) | raises (common::OsbCorbaException) |
Set the preferred status of a pers. product part.
| status | Preferred status to set, see below. | |
| ppId | Id of the pers. product part to change. | |
| noWait | Don't wait for database locks? | |
| errors | Gets encountered errors. |
| boolean corba::cadmin::persprod::PersProductWriter::changeStatus | ( | inout StatusRequest | status, | |
| in boolean | noWait, | |||
| out common::CfgErrorSeq | errors | |||
| ) | raises (common::OsbCorbaException) |
Set the preferred status of the pers. product.
| status | Preferred status to set, see below. | |
| noWait | Don't wait for database locks? | |
| errors | Gets encountered errors. |
| boolean corba::cadmin::persprod::PersProductWriter::commitChanges | ( | in boolean | noWait | ) | raises (common::OsbCorbaException) |
Update changes permanently into database.
| common::Utf8String corba::cadmin::persprod::PersProductWriter::desc | ( | ) | raises (common::OsbCorbaException) |
Description of product.
| AvailnSubscrPart corba::cadmin::persprod::PersProductWriter::getAvailnSubscrPart | ( | in pcat::pp::ProductPartId | id | ) | raises (common::OsbCorbaException) |
Get a product part that is available or subscribed.
| id | Unique id of product part. |
| OsbCorbaException | if AvailnSubscrPart cannot be found. |
| AvailnSubscrPartSeq corba::cadmin::persprod::PersProductWriter::getAvailnSubscrParts | ( | in pcat::pp::ProductPartId | id | ) | raises (common::OsbCorbaException) |
Get a list of children parts that are available and subscribed.
This function differs from getNextAvailnSubscrPart in that it allows for the retrieval of children of any hierarchy level in the AvailnSubscrPart tree.
| id | Unique id of product part. |
| OsbCorbaException | if AvailnSubscrPart cannot be found. |
| cadmin::persprodnode::PersProdNodeWriter corba::cadmin::persprod::PersProductWriter::getPersProdNode | ( | in pcat::pp::ProductPartId | id | ) | raises (common::OsbCorbaException) |
Retrieve a personalised product node.
| id | Unique personalised product node id. |
| OsbCorbaException | if no personalised product node for such a product part exist. |
| cadmin::persprodnode::PersProdNodeSeq corba::cadmin::persprod::PersProductWriter::getPersProdNodes | ( | ) | raises (common::OsbCorbaException) |
Retreive list of personalised product node.
The list of personalised product node retreived has no hierarchy.
| OsbCorbaException | if any of the personalised product node in the personalised product node list is not found. |
| common::Utf8String corba::cadmin::persprod::PersProductWriter::name | ( | ) | raises (common::OsbCorbaException) |
Name of product.
| boolean corba::cadmin::persprod::PersProductWriter::removePersProdNode | ( | in pcat::pp::ProductPartId | id, | |
| in boolean | noWait | |||
| ) | raises (common::OsbCorbaException) |
Remove a new personalised product node.
This operation is not allowed if parent is dactivated.
| id | Unqiue product part id. | |
| noWait | Set to false if waiting is desired when lock is already acquired by others. If waiting is not desired, set flag to true. |
| OsbCorbaException | if operation at the gateway fails. |
| StatusValue corba::cadmin::persprod::PersProductWriter::requestedStatus | ( | in common::DateTime | ts | ) | raises (common::OsbCorbaException) |
Get the requested status for a given time.
| ts | Date and time to query, if not set system time is used. |
| OsbCorbaException | in case of a database error. |
| void corba::cadmin::persprod::PersProductWriter::setUserId | ( | in AssociateId | id | ) |
brief Change the product user of a personalized product.
| id | Unique associate id. |
| StatusHistory corba::cadmin::persprod::PersProductWriter::statusHistory | ( | in common::DateTime | from, | |
| in common::DateTime | to, | |||
| in boolean | noWait | |||
| ) | raises (common::OsbCorbaException) |
Get status history for a period of time.
| from | Start period of list to be retrieved(inclusive). | |
| to | End period of list to be retrieved(exclusive). | |
| noWait | Wait for database locks: false if yes. |
| OsbCorbaException | if operation to retrieve status changes fails at the database. |
| boolean corba::cadmin::persprod::PersProductWriter::subscribe | ( | in pcat::pp::ProductPartId | id, | |
| in boolean | noWait | |||
| ) | raises (common::OsbCorbaException) |
Subscribe a product part.
This function will result in personalised product nodes and items being created as specified by the rules of each product item . This function is different from addPersProdNode as the addPersProdNode function just create a new personalised product node and does not create new personalised product item.
| id | Unqiue product part id. | |
| noWait | Set to false if waiting is desired when lock is already acquired by others. If waiting is not desired, set flag to true. |
| OsbCorbaException | if operation fails at the gateway. |
| readonly attribute common::DateTime corba::cadmin::persprod::PersProductWriter::createdDate |
| readonly attribute Status corba::cadmin::persprod::PersProductWriter::effStatus |
| readonly attribute common::DateTime corba::cadmin::persprod::PersProductWriter::effStatusDate |
| readonly attribute AvailnSubscrPartSeq corba::cadmin::persprod::PersProductWriter::getNextAvailnSubscrParts |
Get first hierarchy level of subscribed products (both mandatory and personalised product parts ids) and available product parts that has not been subscribed.
Definition at line 135 of file persproduct.idl.
| readonly attribute PersProdId corba::cadmin::persprod::PersProductWriter::id |
| readonly attribute Status corba::cadmin::persprod::PersProductWriter::prefStatus |
| readonly attribute common::DateTime corba::cadmin::persprod::PersProductWriter::prefStatusDate |
| readonly attribute pcat::pd::ProductId corba::cadmin::persprod::PersProductWriter::prodId |
| readonly attribute cadmin::AssociateId corba::cadmin::persprod::PersProductWriter::userId |
Type-safe unique id of a user of personalised product.
Definition at line 104 of file persproduct.idl.
1.4.7