| 152 | } |
| 153 | |
| 154 | VersionedJson EntityFactory::storeVersionedJson(EntityType type, Json const& store) const { |
| 155 | RecursiveMutexLocker locker(m_mutex); |
| 156 | |
| 157 | String identifier = EntityStorageIdentifiers.getRight(type); |
| 158 | return m_versioningDatabase->makeCurrentVersionedJson(identifier, store); |
| 159 | } |
| 160 | |
| 161 | EntityPtr EntityFactory::loadVersionedEntity(VersionedJson const& versionedJson) const { |
| 162 | RecursiveMutexLocker locker(m_mutex); |
no test coverage detected