|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.jcr.rmi.api.client.ClientObject
org.exoplatform.services.jcr.rmi.api.client.ClientLock
public class ClientLock
Local adapter for the JCR-RMI RemoteLock inteface. This class makes a remote lock locally available using the JCR
Lock interface.
Lock,
RemoteLock| Constructor Summary | |
|---|---|
ClientLock(javax.jcr.Node node,
RemoteLock remote,
LocalAdapterFactory factory)
Creates a local adapter for the given remote lock. |
|
| Method Summary | |
|---|---|
java.lang.String |
getLockOwner()
|
java.lang.String |
getLockToken()
|
javax.jcr.Node |
getNode()
|
boolean |
isDeep()
|
boolean |
isLive()
|
boolean |
isSessionScoped()
|
void |
refresh()
|
| Methods inherited from class org.exoplatform.services.jcr.rmi.api.client.ClientObject |
|---|
getFactory, getItem, getNode, getNodeTypeArray |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClientLock(javax.jcr.Node node,
RemoteLock remote,
LocalAdapterFactory factory)
node - current noderemote - remote lock| Method Detail |
|---|
public javax.jcr.Node getNode()
getNode in interface javax.jcr.lock.Lockpublic java.lang.String getLockOwner()
getLockOwner in interface javax.jcr.lock.Lockpublic boolean isDeep()
isDeep in interface javax.jcr.lock.Lockpublic java.lang.String getLockToken()
getLockToken in interface javax.jcr.lock.Lock
public boolean isLive()
throws javax.jcr.RepositoryException
isLive in interface javax.jcr.lock.Lockjavax.jcr.RepositoryException
public void refresh()
throws javax.jcr.RepositoryException
refresh in interface javax.jcr.lock.Lockjavax.jcr.RepositoryExceptionpublic boolean isSessionScoped()
isSessionScoped in interface javax.jcr.lock.Lock
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||