Interface ItemLockingService
-
- All Known Implementing Classes:
DefaultItemLockingService
public interface ItemLockingServiceProvides functionality to lock theItemModelfor processing.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisLocked(ItemModel item)Checks if theItemModelis locked for processing .voidlock(ItemModel item)Locks theItemModelfor processing.voidlockAll(java.util.Collection<ItemModel> items)Locks theCollectionof theItemModelfor processing.voidunlock(ItemModel item)Unlocks theItemModelfor processing.voidunlockAll(java.util.Collection<ItemModel> items)Unlocks theCollectionof theItemModelfor processing.
-
-
-
Method Detail
-
lockAll
void lockAll(java.util.Collection<ItemModel> items)
Locks theCollectionof theItemModelfor processing. If theItemModelis already locked it has no effect.- Parameters:
items- TheCollectionof theItemModelto be locked.
-
unlockAll
void unlockAll(java.util.Collection<ItemModel> items)
Unlocks theCollectionof theItemModelfor processing. If theItemModelis already unlocked it has no effect.- Parameters:
items- TheCollectionof theItemModelto be unlocked.
-
-