Definition at line 130 of file ratedpartytype.h.
typedef std::list<RatedPartyType> OSB_LIB::RatedPartyTypes::Cont |
STL container to store the rated party types.
Definition at line 140 of file ratedpartytype.h.
const RatedPartyType* OSB_LIB::RatedPartyTypes::find | ( | const TypeId< RatedParty > & | type | ) |
Get a specific rated party type.
type | The rated party type to retrieve. |
const RatedPartyType& OSB_LIB::RatedPartyTypes::get | ( | const TypeId< RatedParty > & | type | ) |
Get a specific rated party type.
type | The rated party type to retrieve. |
ObjectNotFound | with the type does not exist. |
void OSB_LIB::RatedPartyTypes::read | ( | const OSB_DB::Session & | session | ) |
Read all rated party types from the database.
session | Database session to use. |
void OSB_LIB::RatedPartyTypes::remove | ( | const OSB_DB::Session & | session, | |
const RatedPartyType & | rpType | |||
) |
Delete a rated party type.
session | Database session to use. | |
rpType | Rated party type to delete. |
OsbException | the rated party type() is used elsewhere (foreign key violation). |
void OSB_LIB::RatedPartyTypes::replace | ( | const OSB_DB::Session & | session, | |
const RatedPartyType & | rpType | |||
) |
Create or update a rated party type.
session | Database session to use. | |
rpType | Rated party type to create or update. |
OsbException | if the same rated party type was created by another user since the list was last read. |
const Cont& OSB_LIB::RatedPartyTypes::rpTypes | ( | ) | const |
Get all rated party types.
void OSB_LIB::RatedPartyTypes::sort | ( | Comp | comp | ) |
void OSB_LIB::RatedPartyTypes::sort | ( | ) |
Sort the rated party types by type.
friend class OSB_DB::RatedPartyTypeGw [friend] |
Cont OSB_LIB::RatedPartyTypes::cont_ [private] |
STL container to store the rated party types.
Definition at line 210 of file ratedpartytype.h.
Referenced by sort().