Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Spring Data Commons
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Method Summary
`Map<String,Class<?>>` | `persistentFields(Class<? extends E> entityClassClass)`
`void` | `populateChangeSet(ChangeSet changeSet, E entity)` Take all entity fields into a changeSet.
`void` | `populateEntity(ChangeSet changeSet, E entity)`

Method Detail

### 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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Spring Data Commons
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2011. All Rights Reserved.