Package org.openwms.common.location
Interface LocationRemovalManager
- All Known Implementing Classes:
LocationRemovalManagerImpl
public interface LocationRemovalManager
A LocationRemovalManager.
- Author:
- Heiko Scherrer
-
Method Summary
Modifier and TypeMethodDescriptionboolean
allowedToDelete
(@NotNull Collection<String> pKeys) Checks if theLocation
s with the givenpKey
s are allowed to be deleted.void
deleteAll
(@NotNull Collection<Location> locations) DeleteLocation
s.void
markForDeletion
(@NotNull Collection<String> pKeys) MarkLocation
s for upcoming deletion.void
Try to delete aLocation
.
-
Method Details
-
tryDelete
Try to delete aLocation
.- Parameters:
pKey
- The persistent key of the Location to be deleted.
-
deleteAll
DeleteLocation
s.- Parameters:
locations
- The Locations to be deleted.
-
allowedToDelete
Checks if theLocation
s with the givenpKey
s 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
MarkLocation
s for upcoming deletion.- Parameters:
pKeys
- The persistent keys of the Locations to be marked for deletion.
-