
Definition at line 355 of file pricelist.h.
| typedef Id<Pricelist> OSB_LIB::Pricelist::Oid |
| OSB_LIB::Pricelist::Pricelist | ( | ) | [inline] |
| OSB_LIB::Pricelist::Pricelist | ( | const Oid & | id, | |
| const std::string & | name, | |||
| const std::string & | des | |||
| ) | [inline] |
| void OSB_LIB::Pricelist::checkObjVs | ( | const OSB_DB::Session & | session | ) | [private] |
Check that the object has the latest object version.
| const std::string& OSB_LIB::Pricelist::desc | ( | ) | const [inline] |
| bool OSB_LIB::Pricelist::insert | ( | const OSB_DB::Session & | session | ) | [private] |
Insert a pricelist into the database.
| session | Database session. |
| const std::string& OSB_LIB::Pricelist::name | ( | ) | const [inline] |
| long OSB_LIB::Pricelist::objVs | ( | ) | const [inline] |
| const Oid& OSB_LIB::Pricelist::oid | ( | ) | const [inline] |
| bool OSB_LIB::Pricelist::read | ( | const OSB_DB::Session & | session | ) | [private] |
Read a pricelist from the database.
| session | Database session. |
| bool OSB_LIB::Pricelist::remove | ( | const OSB_DB::Session & | session | ) | [private] |
Remove a pricelist into the database.
| session | Database session. |
| void OSB_LIB::Pricelist::setDesc | ( | const std::string & | desc | ) | [inline] |
| void OSB_LIB::Pricelist::setName | ( | const std::string & | name | ) | [inline] |
| bool OSB_LIB::Pricelist::update | ( | const OSB_DB::Session & | session | ) | [private] |
Update a pricelist into the database.
| session | Database session. |
friend class OSB_DB::PricelistGw [friend] |
friend class ProductCatalogue [friend] |
Allow product catalogue to access read and insert function.
Definition at line 357 of file pricelist.h.
std::string OSB_LIB::Pricelist::des_ [private] |
Oid OSB_LIB::Pricelist::id_ [private] |
std::string OSB_LIB::Pricelist::name_ [private] |
long OSB_LIB::Pricelist::objVs_ [private] |
1.4.7