public abstract class SimpleMappedMongodbRepository<E,DTO,ID>
extends arp.repository.SimplePersistenceRepository<E,ID>
| 限定符 | 构造器和说明 |
|---|---|
protected |
SimpleMappedMongodbRepository(org.springframework.data.mongodb.core.MongoTemplate mongoTemplate) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected E |
findByIdImpl(ID id) |
protected abstract Class<DTO> |
getDtoClass() |
protected void |
removeImpl(ID id) |
protected void |
saveImpl(ID id,
E entity) |
protected abstract DTO |
toDTO(E entity) |
protected abstract E |
toEntity(DTO dto) |
protected void |
updateImpl(ID id,
E entity) |
findByIdForUpdateImpl, removeBatchImpl, saveBatchImpl, saveIfAbsentImpl, unlockBatchImpl, unlockImpl, updateBatchImplfindByIdForUpdateFromStore, findByIdFromStore, removeAllToStore, saveAllToStore, saveIfAbsentToStore, unlockAllToStore, updateAllToStoreprotected SimpleMappedMongodbRepository(org.springframework.data.mongodb.core.MongoTemplate mongoTemplate)
Copyright © 2021. All rights reserved.