public interface BusinessEntitySnapshotDAO extends DAO
Modifier and Type | Method and Description |
---|---|
List<org.apache.commons.collections.KeyValue> |
getAllCommands()
Get all commands awaiting for compensation.
|
List<BusinessEntitySnapshot> |
getAllForCommandId(Guid commandID)
Gets all snapshots kept for a command
|
void |
removeAllForCommandId(Guid commandID)
Removes all snapshots for a given command
|
void |
save(BusinessEntitySnapshot entitySnapshot)
Saves a new snapshot
|
List<BusinessEntitySnapshot> getAllForCommandId(Guid commandID)
commandID
- the command ID to look snapshots forvoid removeAllForCommandId(Guid commandID)
commandID
- the command ID to remove snapshots forvoid save(BusinessEntitySnapshot entitySnapshot)
entitySnapshot
- the snapshot to saveList<org.apache.commons.collections.KeyValue> getAllCommands()
Copyright © 2012. All Rights Reserved.