org.springframework.data.persistence
Interface ChangeSetSynchronizer<E extends ChangeSetBacked>
- Type Parameters:
E
-
public interface ChangeSetSynchronizer<E extends ChangeSetBacked>
Interface to be implemented by classes that can synchronize
between entities and ChangeSets.
- Author:
- Rod Johnson
persistentFields
Map<String,Class<?>> persistentFields(Class<? extends E> entityClassClass)
populateChangeSet
void populateChangeSet(ChangeSet changeSet,
E entity)
throws DataAccessException
- Take all entity fields into a changeSet.
- Parameters:
entity
-
- Throws:
DataAccessException
populateEntity
void populateEntity(ChangeSet changeSet,
E entity)
throws DataAccessException
- Throws:
DataAccessException
Copyright © 2011. All Rights Reserved.