public final class LockImpl extends Object implements javax.jcr.lock.Lock
Constructor and Description |
---|
LockImpl(@NotNull SessionContext context,
@NotNull NodeDelegate delegate) |
Modifier and Type | Method and Description |
---|---|
String |
getLockOwner() |
String |
getLockToken() |
javax.jcr.Node |
getNode() |
long |
getSecondsRemaining() |
boolean |
isDeep() |
boolean |
isLive() |
boolean |
isLockOwningSession() |
boolean |
isSessionScoped() |
void |
refresh() |
public LockImpl(@NotNull @NotNull SessionContext context, @NotNull @NotNull NodeDelegate delegate)
public javax.jcr.Node getNode()
getNode
in interface javax.jcr.lock.Lock
public String getLockOwner()
getLockOwner
in interface javax.jcr.lock.Lock
public boolean isDeep()
isDeep
in interface javax.jcr.lock.Lock
public boolean isLive()
isLive
in interface javax.jcr.lock.Lock
public String getLockToken()
getLockToken
in interface javax.jcr.lock.Lock
public long getSecondsRemaining()
getSecondsRemaining
in interface javax.jcr.lock.Lock
public boolean isSessionScoped()
isSessionScoped
in interface javax.jcr.lock.Lock
public boolean isLockOwningSession()
isLockOwningSession
in interface javax.jcr.lock.Lock
public void refresh() throws javax.jcr.lock.LockException
refresh
in interface javax.jcr.lock.Lock
javax.jcr.lock.LockException
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.