Definition at line 66 of file inventorypool-gw.h.
| void OSB_DB::InventoryPoolGw::fetch | ( | const Session & | session, | |
| std::list< OSB_LIB::InventoryPool > & | dest | |||
| ) |
Read all inventory pools.
| session | Database session to use. | |
| dest | List to populate, it should be cleared before calling the function. |
| bool OSB_DB::InventoryPoolGw::fetch | ( | const Session & | session, | |
| OSB_LIB::InventoryPool & | pool | |||
| ) |
Read an inventory pool.
| session | Database session to use. | |
| pool | Inventory pool to read, its object id is used as selection criteria. |
| void OSB_DB::InventoryPoolGw::insert | ( | const OSB_DB::Session & | session, | |
| OSB_LIB::InventoryPool & | pool | |||
| ) |
Insert an inventory pool to the database.
| session | Database session to use. | |
| pool | Inventory pool to insert. |
| OsbException | if a pool with the same name already exists. |
| bool OSB_DB::InventoryPoolGw::remove | ( | const OSB_DB::Session & | session, | |
| const OSB_LIB::InventoryPool & | pool | |||
| ) |
Remove an inventory pool from the database.
| session | Database session to use. | |
| pool | Inventory pool to delete. |
| OsbException | if child records exist. |
| void OSB_DB::InventoryPoolGw::update | ( | const OSB_DB::Session & | session, | |
| const OSB_LIB::InventoryPool & | pool | |||
| ) |
Update an inventory pool in the database.
| session | Database session to use. | |
| pool | Inventory pool to update. |
| OsbException | if a pool with the same name already exists. |
1.4.7