public class BusinessEntitySnapshotDAODbFacadeImpl extends BaseDAODbFacade implements BusinessEntitySnapshotDAO
dbFacade, dialect, jdbcTemplate, RETURN_VALUE_PARAMETER
Constructor and Description |
---|
BusinessEntitySnapshotDAODbFacadeImpl() |
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
|
getCallsHandler, getCustomMapSqlParameterSource, setDbFacade, setDialect, setTemplate
public BusinessEntitySnapshotDAODbFacadeImpl()
public List<BusinessEntitySnapshot> getAllForCommandId(Guid commandID)
BusinessEntitySnapshotDAO
getAllForCommandId
in interface BusinessEntitySnapshotDAO
commandID
- the command ID to look snapshots forpublic void removeAllForCommandId(Guid commandID)
BusinessEntitySnapshotDAO
removeAllForCommandId
in interface BusinessEntitySnapshotDAO
commandID
- the command ID to remove snapshots forpublic void save(BusinessEntitySnapshot entitySnapshot)
BusinessEntitySnapshotDAO
save
in interface BusinessEntitySnapshotDAO
entitySnapshot
- the snapshot to savepublic List<org.apache.commons.collections.KeyValue> getAllCommands()
BusinessEntitySnapshotDAO
getAllCommands
in interface BusinessEntitySnapshotDAO
Copyright © 2012. All Rights Reserved.