Constructor and Description |
---|
MongoChangeSetPersister() |
Modifier and Type | Method and Description |
---|---|
Object |
getPersistentId(org.springframework.data.crossstore.ChangeSetBacked entity,
org.springframework.data.crossstore.ChangeSet cs) |
void |
getPersistentState(Class<? extends org.springframework.data.crossstore.ChangeSetBacked> entityClass,
Object id,
org.springframework.data.crossstore.ChangeSet changeSet) |
Object |
persistState(org.springframework.data.crossstore.ChangeSetBacked entity,
org.springframework.data.crossstore.ChangeSet cs) |
void |
setEntityManagerFactory(javax.persistence.EntityManagerFactory entityManagerFactory) |
void |
setMongoTemplate(MongoTemplate mongoTemplate) |
public void setMongoTemplate(MongoTemplate mongoTemplate)
public void setEntityManagerFactory(javax.persistence.EntityManagerFactory entityManagerFactory)
public void getPersistentState(Class<? extends org.springframework.data.crossstore.ChangeSetBacked> entityClass, Object id, org.springframework.data.crossstore.ChangeSet changeSet) throws org.springframework.dao.DataAccessException, org.springframework.data.crossstore.ChangeSetPersister.NotFoundException
getPersistentState
in interface org.springframework.data.crossstore.ChangeSetPersister<Object>
org.springframework.dao.DataAccessException
org.springframework.data.crossstore.ChangeSetPersister.NotFoundException
public Object getPersistentId(org.springframework.data.crossstore.ChangeSetBacked entity, org.springframework.data.crossstore.ChangeSet cs) throws org.springframework.dao.DataAccessException
getPersistentId
in interface org.springframework.data.crossstore.ChangeSetPersister<Object>
org.springframework.dao.DataAccessException
public Object persistState(org.springframework.data.crossstore.ChangeSetBacked entity, org.springframework.data.crossstore.ChangeSet cs) throws org.springframework.dao.DataAccessException
persistState
in interface org.springframework.data.crossstore.ChangeSetPersister<Object>
org.springframework.dao.DataAccessException
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.