Definition at line 59 of file taxkey-gw.h.
OSB_DB::TaxKeyGw::TaxKeyGw | ( | const TaxKeyGw & | rhs | ) | [private] |
Prevent copying: Copy constructor not implemented.
OSB_DB::TaxKeyGw::TaxKeyGw | ( | ) | [inline] |
bool OSB_DB::TaxKeyGw::fetch | ( | const Session & | session, | |
OSB_LIB::TaxKey & | tk | |||
) |
Load a tax key.
This function will load the tax key based on a specific id.
session | Database session to use. | |
tk | Ref of TaxKey which will be fetched. |
long OSB_DB::TaxKeyGw::fetchList | ( | const Session & | session, | |
OSB_LIB::TaxKeyList::List & | tkList, | |||
OSB_LIB::TaxKeyType | tkType | |||
) |
Load a list of tax keys.
This function will load all tax keys of a given type.
session | Database session to use. | |
tkList | Ref of TaxKey which will be fetched. | |
tkType | Type of TaxKey. |
bool OSB_DB::TaxKeyGw::insert | ( | const Session & | session, | |
OSB_LIB::TaxKey & | tk | |||
) |
Insert a tax key.
Insert a tax key. Set generated oid to tk if success.
session | Database session to use. | |
tk | Reference of tax key to be inserted. |
Prevent assignment: Assignment not implemented.
bool OSB_DB::TaxKeyGw::remove | ( | const Session & | session, | |
const OSB_LIB::TaxKey::Oid & | oid | |||
) |
Remove a tax key.
session | Database session to use. | |
oid | Unique id of tax key. |