@Component public class ResourceLockManagerImpl extends Object implements ResourceLockManager
ResourceLockManager.| Constructor and Description |
|---|
ResourceLockManagerImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isUnlocked(HttpSession session,
BaseModel entity)
Checks if an entity is unlocked in the given session.
|
void |
unlockStore(HttpSession session,
BaseModel entity)
Unlocks an entity for the given session.
|
public ResourceLockManagerImpl()
public void unlockStore(HttpSession session, BaseModel entity)
ResourceLockManagerunlockStore in interface ResourceLockManagersession - HttpSession that keeps the unlocking informationentity - entity to be unlockedpublic boolean isUnlocked(HttpSession session, BaseModel entity)
ResourceLockManagerisUnlocked in interface ResourceLockManagersession - HttpSession that keeps the unlocking informationentity - entity to be checkedtrue if the entity is unlockedCopyright © 2009–2016. All rights reserved.