Class PurgeDeleteService
java.lang.Object
fr.gouv.vitam.worker.core.plugin.purge.PurgeDeleteService
PurgeDeleteService class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteObjectGroups
(Map<String, String> objectGroupsGuidsWithStrategies) void
deleteObjects
(Map<String, String> objectsGuidsWithStrategies) void
deleteUnits
(Map<String, String> unitsGuidsWithStrategies) void
detachObjectGroupFromDeleteParentUnits
(String objectGroupId, Set<String> parentUnitsToRemove)
-
Constructor Details
-
PurgeDeleteService
public PurgeDeleteService()
-
-
Method Details
-
deleteObjects
public void deleteObjects(Map<String, String> objectsGuidsWithStrategies) throws StorageServerClientException- Throws:
StorageServerClientException
-
deleteObjectGroups
public void deleteObjectGroups(Map<String, String> objectGroupsGuidsWithStrategies) throws InvalidParseOperationException, MetaDataExecutionException, MetaDataClientServerException, StorageServerClientException, LogbookClientBadRequestException, LogbookClientServerException -
deleteUnits
public void deleteUnits(Map<String, String> unitsGuidsWithStrategies) throws MetaDataExecutionException, MetaDataClientServerException, StorageServerClientException, LogbookClientBadRequestException, LogbookClientServerException -
detachObjectGroupFromDeleteParentUnits
public void detachObjectGroupFromDeleteParentUnits(String objectGroupId, Set<String> parentUnitsToRemove) throws ProcessingStatusException - Throws:
ProcessingStatusException
-