| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
log |
| 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 DataAccessException, org.springframework.data.crossstore.ChangeSetPersister.NotFoundException
getPersistentState in interface org.springframework.data.crossstore.ChangeSetPersister<Object>DataAccessExceptionorg.springframework.data.crossstore.ChangeSetPersister.NotFoundExceptionpublic Object getPersistentId(org.springframework.data.crossstore.ChangeSetBacked entity, org.springframework.data.crossstore.ChangeSet cs) throws DataAccessException
getPersistentId in interface org.springframework.data.crossstore.ChangeSetPersister<Object>DataAccessExceptionpublic Object persistState(org.springframework.data.crossstore.ChangeSetBacked entity, org.springframework.data.crossstore.ChangeSet cs) throws DataAccessException
persistState in interface org.springframework.data.crossstore.ChangeSetPersister<Object>DataAccessExceptionCopyright © 2012. All Rights Reserved.