@Service public class DeleteHistoryServiceImpl extends Object implements DeleteHistoryService
| Constructor and Description |
|---|
DeleteHistoryServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteOldAndUpdateAsInitial(Long globalId,
List<org.qubership.automation.itf.core.model.jpa.history.JvSnapshotEntity> snapshots) |
void |
deleteOldSnapshots(long maxRevisionCount) |
void |
deleteTerminatedSnapshots(Integer pageSize)
Delete terminated snapshots.
|
@Transactional(rollbackFor=java.lang.Exception.class) public void deleteOldAndUpdateAsInitial(Long globalId, List<org.qubership.automation.itf.core.model.jpa.history.JvSnapshotEntity> snapshots)
@Transactional(rollbackFor=java.lang.Exception.class) public void deleteOldSnapshots(long maxRevisionCount)
deleteOldSnapshots in interface DeleteHistoryService@Transactional(rollbackFor=java.lang.Exception.class) public void deleteTerminatedSnapshots(Integer pageSize)
deleteTerminatedSnapshots in interface DeleteHistoryServicepageSize - number of snapshots deleted in one step.Copyright © 2025. All rights reserved.