Interface ItemLockingService
-
- All Known Implementing Classes:
DefaultItemLockingService
public interface ItemLockingService
Provides functionality to lock theItemModel
for processing.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isLocked(ItemModel item)
Checks if theItemModel
is locked for processing .void
lock(ItemModel item)
Locks theItemModel
for processing.void
lockAll(java.util.Collection<ItemModel> items)
Locks theCollection
of theItemModel
for processing.void
unlock(ItemModel item)
Unlocks theItemModel
for processing.void
unlockAll(java.util.Collection<ItemModel> items)
Unlocks theCollection
of theItemModel
for processing.
-
-
-
Method Detail
-
lockAll
void lockAll(java.util.Collection<ItemModel> items)
Locks theCollection
of theItemModel
for processing. If theItemModel
is already locked it has no effect.- Parameters:
items
- TheCollection
of theItemModel
to be locked.
-
unlockAll
void unlockAll(java.util.Collection<ItemModel> items)
Unlocks theCollection
of theItemModel
for processing. If theItemModel
is already unlocked it has no effect.- Parameters:
items
- TheCollection
of theItemModel
to be unlocked.
-
-