This primarly means to maintain PERS_ITEM.RESOURCE_ID.
Definition at line 70 of file resourceitem-gw.h.
| void OSB_DB::PersResourceGw::checkOverlap | ( | const Session & | session, | |
| const OSB_LIB::PersResource::Oid & | prId, | |||
| const OSB_LIB::DateTime & | from, | |||
| const OSB_LIB::DateTime & | to | |||
| ) | [private] |
Check for overlapping assignment periods.
| session | Database session to use. | |
| prId | Id of the pers. resource to check. | |
| from | Begin of the period to check. | |
| to | End of the period to check. |
| OsbException | if the assignment period of pr to a pers. item overlaps with other assignments. |
| bool OSB_DB::PersResourceGw::fetch | ( | const Session & | session, | |
| const OSB_LIB::PersResource & | pr, | |||
| OSB_LIB::Id< OSB_LIB::Resource > & | rid | |||
| ) | [private] |
Load a personalized resource item.
This function loads the personalized resource based on a specific id which is in PersResource.
| session | Database session to use. | |
| pr | Personalized resource to read. | |
| rid | Gets the id of the assigned resource. |
| bool OSB_DB::PersResourceGw::link | ( | const Session & | session, | |
| const OSB_LIB::PersResource & | pr | |||
| ) | [private] |
Create link resource to pers. item.
Links the resource to the pers. item that currently has the resource assigned.
| session | Database session to use. | |
| pr | Personlized resource to insert. |
friend class OSB_LIB::PersResource [friend] |
Allow PersResource to call its supporting methods.
PersResource needs to call the methods designed to support its I/O operations:
Definition at line 81 of file resourceitem-gw.h.
1.4.7