Definition at line 79 of file persprodnode_i.h.
typedef std::list<Locators::Key> OSB_CORBA::PersProdNodeWriter_i::Servants [private] |
Container to store the generated pers. item servants.
Definition at line 241 of file persprodnode_i.h.
OSB_CORBA::PersProdNodeWriter_i::PersProdNodeWriter_i | ( | ContractAdmin_i & | cadmin, | |
PersProductWriter_i & | ppServant, | |||
const OSB_LIB::ProductNode * | pn, | |||
OSB_LIB::PersProductNode * | ppn | |||
) |
Constructor.
virtual OSB_CORBA::PersProdNodeWriter_i::~PersProdNodeWriter_i | ( | ) | [virtual] |
virtual DateTime* OSB_CORBA::PersProdNodeWriter_i::createdDate | ( | ) | throw (CORBA::SystemException) [virtual] |
Date at which personalised product is created.
virtual PersProdItemWriter_ptr OSB_CORBA::PersProdNodeWriter_i::creNewConfig | ( | ) | throw (CORBA::SystemException, OsbCorbaException) [virtual] |
Create a new temporary personalised item writer.
Operations with the exception of create(), that involves database manipulation are not allowed to be invoked by this corba reference as the underlying library object is temporary without any record in the database, ie. the Oid of this library object is ID_NOT_SET.
OsbCorbaException | if product part is not one of the children of current product node. |
virtual PersProdItemWriter* OSB_CORBA::PersProdNodeWriter_i::currentConfig | ( | ) | throw (CORBA::SystemException, OsbCorbaException) [virtual] |
Brief Return a current coniguration.
virtual Utf8String* OSB_CORBA::PersProdNodeWriter_i::desc | ( | ) | throw (CORBA::SystemException, OsbCorbaException) [virtual] |
Return description of product node used to create persprodnode.
virtual Status OSB_CORBA::PersProdNodeWriter_i::effStatus | ( | ) | throw (CORBA::SystemException) [virtual] |
Return effective status of personalised product.
virtual DateTime* OSB_CORBA::PersProdNodeWriter_i::effStatusDate | ( | ) | throw (CORBA::SystemException) [virtual] |
Date at which effective status is in effect.
virtual PersProdItemWriter* OSB_CORBA::PersProdNodeWriter_i::getConfig | ( | const PersItemId & | id | ) | throw (CORBA::SystemException, OsbCorbaException) [virtual] |
Return a coniguration.
id | Product part id. |
OsbCorbaException | if personalised product type is undefined. |
virtual PersProdItemSeq* OSB_CORBA::PersProdNodeWriter_i::getConfigs | ( | ) | throw (CORBA::SystemException, OsbCorbaException) [virtual] |
Return list of configurations.
virtual PersNodeId OSB_CORBA::PersProdNodeWriter_i::id | ( | ) | throw (CORBA::SystemException) [virtual] |
Return unique personalised product node id.
const Locators::Key& OSB_CORBA::PersProdNodeWriter_i::key | ( | ) | const [inline] |
virtual Utf8String* OSB_CORBA::PersProdNodeWriter_i::name | ( | ) | throw (CORBA::SystemException, OsbCorbaException) [virtual] |
Return name of product node used to create persprodnode.
OSB_LIB::PersProduct* OSB_CORBA::PersProdNodeWriter_i::persProduct | ( | ) | [private] |
virtual Status OSB_CORBA::PersProdNodeWriter_i::prefStatus | ( | ) | throw (CORBA::SystemException) [virtual] |
Return preferred status of associate.
virtual DateTime* OSB_CORBA::PersProdNodeWriter_i::prefStatusDate | ( | ) | throw (CORBA::SystemException) [virtual] |
Date at which preferred status will take effect.
virtual ProductPartId OSB_CORBA::PersProdNodeWriter_i::prodPartId | ( | ) | throw (CORBA::SystemException) [virtual] |
Return product part id of personalised product node.
virtual CORBA::Boolean OSB_CORBA::PersProdNodeWriter_i::removeConfig | ( | const PersItemId & | id, | |
CORBA::Boolean | noWait | |||
) | throw (CORBA::SystemException, OsbCorbaException) [virtual] |
Remove a personalised item.
id | Personalised item unqiue 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. |
virtual StatusValue OSB_CORBA::PersProdNodeWriter_i::requestedStatus | ( | const DateTime & | ts | ) | throw (CORBA::SystemException, OsbCorbaException) [virtual] |
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. |
StatusHistory* OSB_CORBA::PersProdNodeWriter_i::statusHistory | ( | const DateTime & | from, | |
const DateTime & | to, | |||
CORBA::Boolean | noWait | |||
) | throw (CORBA::SystemException, 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. |
virtual PpTypeId OSB_CORBA::PersProdNodeWriter_i::type | ( | ) | throw (CORBA::SystemException, OsbCorbaException) [virtual] |
Return type of underlying product item.
const std::string OSB_CORBA::PersProdNodeWriter_i::IFC [static] |
Definition at line 84 of file persprodnode_i.h.
const OSB_LIB::ProductNode* OSB_CORBA::PersProdNodeWriter_i::pn_ [private] |
Product node is needed when creating personalised item.
Definition at line 249 of file persprodnode_i.h.