Package org.openwms.common.location
Interface LocationRemovalManager
- All Known Implementing Classes:
LocationRemovalManagerImpl
public interface LocationRemovalManager
A LocationRemovalManager.
- Author:
- Heiko Scherrer
-
Method Summary
Modifier and TypeMethodDescriptionbooleanallowedToDelete(@NotNull Collection<String> pKeys) Checks if theLocations with the givenpKeys are allowed to be deleted.voiddeleteAll(@NotNull Collection<Location> locations) DeleteLocations.voidmarkForDeletion(@NotNull Collection<String> pKeys) MarkLocations for upcoming deletion.voidTry to delete aLocation.
-
Method Details
-
tryDelete
Try to delete aLocation.- Parameters:
pKey- The persistent key of the Location to be deleted.
-
deleteAll
DeleteLocations.- Parameters:
locations- The Locations to be deleted.
-
allowedToDelete
Checks if theLocations with the givenpKeys are allowed to be deleted.- Parameters:
pKeys- The persistent keys of the Locations to be checked.- Returns:
- true if the Locations are allowed to be deleted, otherwise false.
-
markForDeletion
MarkLocations for upcoming deletion.- Parameters:
pKeys- The persistent keys of the Locations to be marked for deletion.
-