Class DefaultLockRowInTransactionStrategy
java.lang.Object
de.hybris.platform.mediaconversion.util.DefaultLockRowInTransactionStrategy
- All Implemented Interfaces:
LockRowInTransactionStrategy
public class DefaultLockRowInTransactionStrategy
extends Object
implements LockRowInTransactionStrategy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreates a exclusive lock on the givenItemModel.voidsetModelService(ModelService modelService)
-
Constructor Details
-
DefaultLockRowInTransactionStrategy
public DefaultLockRowInTransactionStrategy()
-
-
Method Details
-
lock
Description copied from interface:LockRowInTransactionStrategyCreates a exclusive lock on the givenItemModel.- Specified by:
lockin interfaceLockRowInTransactionStrategy- Parameters:
model- the container to lock.- Returns:
trueif a lock could be established,falseotherwise.
-
getModelService
-
setModelService
-