@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)
ResourceLockManager
unlockStore
in interface ResourceLockManager
session
- HttpSession
that keeps the unlocking informationentity
- entity to be unlockedpublic boolean isUnlocked(HttpSession session, BaseModel entity)
ResourceLockManager
isUnlocked
in interface ResourceLockManager
session
- HttpSession
that keeps the unlocking informationentity
- entity to be checkedtrue
if the entity is unlockedCopyright © 2009–2016. All rights reserved.