Definition at line 69 of file recordstream-gw.h.
long OSB_DB::RecordSourceGw::fetch | ( | const Session & | session, | |
OSB_LIB::RecordSources & | dest, | |||
OSB_LIB::ModuleId | generator = OSB_LIB::mdAll | |||
) |
Read the record sources from the database.
This will fetch all the record source from the database.
session | Database session to use. | |
dest | STL-container to populate, it is not not cleared within this function. | |
generator | If not mdAll: read the record sources generated by this module only. |
bool OSB_DB::RecordSourceGw::fetchByFormat | ( | const Session & | session, | |
OSB_LIB::RecordSource & | rs | |||
) |
Read the record source from the database.
This will fetch the record source from the database. The passed in record source object must have its format_ and generator_ data members set.
session | Database session to use. | |
rs | Record source object to be fetched. |
bool OSB_DB::RecordSourceGw::fetchById | ( | const Session & | session, | |
OSB_LIB::RecordSource & | rs | |||
) |
Read the record source from the database.
This will fetch the record source from the database. Before calling this function the object identifier should be set.
session | Database session to use. | |
rs | Record source object to be fetched. |