A "calling card" which is part of a product does not refer to an individual calling card.
Definition at line 238 of file callingcard.h.
All the database operations on calling card item do not commit or rollback the transactions. This is indicated by taking a const OSB_DB::Session as argument.
typedef std::auto_ptr<CallingCardItem> OSB_LIB::CallingCardItem::AutoPtr |
Short-cut for an auto pointer.
For details see quality manual, implementation patterns: Virtual copy construction.
Reimplemented from OSB_LIB::ResourceItem.
Definition at line 243 of file callingcard.h.
OSB_LIB::CallingCardItem::CallingCardItem | ( | const Oid & | oid, | |
const std::string & | name = "" , |
|||
const std::string & | des = "" | |||
) |
Constructor with object id, name and description.
oid | Product item object id. | |
name | Name of the resource item. | |
des | Description of the resource item. |
ProductItem::CfgType OSB_LIB::CallingCardItem::canConfigure | ( | ) | const [virtual] |
Configuration type.
Implements OSB_LIB::ProductItem.
ProductItem::DefPersType OSB_LIB::CallingCardItem::canDefPers | ( | ) | const [virtual] |
Default personalization type.
Implements OSB_LIB::ProductItem.
CfgPersType OSB_LIB::CallingCardItem::canPersonalize | ( | ) | const [virtual] |
AutoPtr OSB_LIB::CallingCardItem::clone | ( | ) | const |
Virtual copy construction.
For details see quality manual, implementation patterns.
Reimplemented from OSB_LIB::ResourceItem.
ProductItem* OSB_LIB::CallingCardItem::clone_ | ( | ) | const [private, virtual] |
Virtual copy construction.
For details see quality manual, implementation patterns.
Implements OSB_LIB::ResourceItem.
std::auto_ptr<PersProductItem> OSB_LIB::CallingCardItem::crePersProductItem | ( | ) | const [virtual] |
Create a personalized calling card.
Implements OSB_LIB::ProductItem.
const PersProductItem* OSB_LIB::CallingCardItem::defPersItem | ( | ) | const [virtual] |
bool OSB_LIB::CallingCardItem::delSpecific | ( | const OSB_DB::Session & | session | ) | [private, virtual] |
No item specific data to delete.
session | Database session to use. |
Implements OSB_LIB::ProductItem.
bool OSB_LIB::CallingCardItem::insSpecific | ( | const OSB_DB::Session & | session | ) | [private, virtual] |
No item specific data to insert.
session | Database session to use. |
Implements OSB_LIB::ProductItem.
bool OSB_LIB::CallingCardItem::readSpecific | ( | const OSB_DB::Session & | session | ) | [private, virtual] |
No item specific data to read.
session | Database session to use. |
Implements OSB_LIB::ProductItem.
Type OSB_LIB::CallingCardItem::type | ( | ) | const [inline, virtual] |
Get the product item type id.
Implements OSB_LIB::ProductItemBase.
Definition at line 260 of file callingcard.h.
References type_.
bool OSB_LIB::CallingCardItem::updSpecific | ( | const OSB_DB::Session & | session | ) | [private, virtual] |
No item specific data to update.
session | Database session to use. |
Implements OSB_LIB::ProductItem.
const Type OSB_LIB::CallingCardItem::type_ [static] |
The product item type id: PiType::piCallingCard.
Definition at line 241 of file callingcard.h.
Referenced by type().