| 145 | } |
| 146 | |
| 147 | Json EntityFactory::loadVersionedJson(VersionedJson const& versionedJson, EntityType expectedType) const { |
| 148 | RecursiveMutexLocker locker(m_mutex); |
| 149 | |
| 150 | String identifier = EntityStorageIdentifiers.getRight(expectedType); |
| 151 | return m_versioningDatabase->loadVersionedJson(versionedJson, identifier); |
| 152 | } |
| 153 | |
| 154 | VersionedJson EntityFactory::storeVersionedJson(EntityType type, Json const& store) const { |
| 155 | RecursiveMutexLocker locker(m_mutex); |
no outgoing calls
no test coverage detected