public class DefaultLockRowInTransactionStrategy extends java.lang.Object implements LockRowInTransactionStrategy
| Constructor and Description |
|---|
DefaultLockRowInTransactionStrategy() |
| Modifier and Type | Method and Description |
|---|---|
ModelService |
getModelService() |
boolean |
lock(ItemModel model)
Creates a exclusive lock on the given
ItemModel. |
void |
setModelService(ModelService modelService) |
public boolean lock(ItemModel model)
LockRowInTransactionStrategyItemModel.lock in interface LockRowInTransactionStrategymodel - the container to lock.true if a lock could be established, false otherwise.public ModelService getModelService()
public void setModelService(ModelService modelService)
Copyright © 2018 SAP SE. All Rights Reserved.