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