| Modifier and Type | Method and Description |
|---|---|
List<Change> |
findByGlobalCdoId(GlobalCdoId globalCdoId)
Finds all changes made on single domain object.
|
Diff |
getById(long diffId)
Loads Diff from database, collection of
Diff.getChanges() have to be initialized. |
void |
save(Diff newDiff)
Persists given diff in database.
|
void save(Diff newDiff)
Diff.assignId(long)
save Diff and all its Changes into database,
since Diffs are logically immutable, implementation should use only inserts
newDiff - fresh Diff which hasn't been persisted yetDiff.isNew()Diff getById(long diffId)
Diff.getChanges() have to be initialized.List<Change> findByGlobalCdoId(GlobalCdoId globalCdoId)
Diff.getDiffDate().
Change.getParent()
have to be fully initialized.globalCdoId - Copyright © 2013. All rights reserved.