public interface IRepairCommand
| Modifier and Type | Method and Description |
|---|---|
void |
addElementsToDelete(java.util.Collection<MRef> values)
Add elements to delete from repository.
|
void |
addElementsToLockAndDelete(java.util.Collection<MRef> values)
Add elements to lock then delete from repository.
|
ICommitResult |
execute(java.lang.StringBuilder report,
org.modelio.vbasic.progress.IModelioProgress monitor)
Run the repair.
|
void addElementsToDelete(java.util.Collection<MRef> values)
values - the elements to delete.ICommitResult execute(java.lang.StringBuilder report, org.modelio.vbasic.progress.IModelioProgress monitor) throws CmsException, CmsUnlockException, OutdatedElementsException
report - a string report builder.monitor - a progress monitor.CmsException - in case of failure.CmsUnlockException - if some element could not be unlocked.OutdatedElementsException - if somebody committed into the repository during repair.void addElementsToLockAndDelete(java.util.Collection<MRef> values)
values - the elements to delete.