public class LockImpl
extends java.lang.Object
implements javax.jcr.lock.Lock
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLockOwner() |
java.lang.String |
getLockToken() |
javax.jcr.Node |
getNode() |
javax.jcr.lock.Lock |
getProxy()
Create proxied JCR Lock
|
boolean |
isDeep() |
boolean |
isLive() |
boolean |
isSessionScoped() |
void |
refresh() |
public LockImpl(NodeImpl node)
node
- node holding lockpublic javax.jcr.lock.Lock getProxy()
public java.lang.String getLockOwner()
getLockOwner
in interface javax.jcr.lock.Lock
public boolean isDeep()
isDeep
in interface javax.jcr.lock.Lock
public javax.jcr.Node getNode()
getNode
in interface javax.jcr.lock.Lock
public java.lang.String getLockToken()
getLockToken
in interface javax.jcr.lock.Lock
public boolean isLive() throws javax.jcr.RepositoryException
isLive
in interface javax.jcr.lock.Lock
javax.jcr.RepositoryException
public boolean isSessionScoped()
isSessionScoped
in interface javax.jcr.lock.Lock
public void refresh() throws javax.jcr.lock.LockException, javax.jcr.RepositoryException
refresh
in interface javax.jcr.lock.Lock
javax.jcr.lock.LockException
javax.jcr.RepositoryException
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.