|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.rmi.client.ClientObject
org.apache.jackrabbit.rmi.client.ClientLock
public class ClientLock
Local adapter for the JCR-RMI
RemoteLock
interface. This class makes a remote lock locally available using
the JCR Lock interface.
Lock,
RemoteLock| Constructor Summary | |
|---|---|
ClientLock(Session session,
RemoteLock remote,
LocalAdapterFactory factory)
Creates a local adapter for the given remote lock. |
|
| Method Summary | |
|---|---|
String |
getLockOwner()
|
String |
getLockToken()
|
Node |
getNode()
|
long |
getSecondsRemaining()
|
boolean |
isDeep()
|
boolean |
isLive()
|
boolean |
isLockOwningSession()
|
boolean |
isSessionScoped()
|
void |
refresh()
|
| Methods inherited from class org.apache.jackrabbit.rmi.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(Session session,
RemoteLock remote,
LocalAdapterFactory factory)
session - current sessionremote - remote lockfactory - local adapter factory| Method Detail |
|---|
public Node getNode()
getNode in interface Lockpublic String getLockOwner()
getLockOwner in interface Lockpublic boolean isDeep()
isDeep in interface Lockpublic String getLockToken()
getLockToken in interface Lock
public boolean isLive()
throws RepositoryException
isLive in interface LockRepositoryException
public void refresh()
throws RepositoryException
refresh in interface LockRepositoryExceptionpublic boolean isSessionScoped()
isSessionScoped in interface Lock
public long getSecondsRemaining()
throws RepositoryException
getSecondsRemaining in interface LockRepositoryExceptionpublic boolean isLockOwningSession()
isLockOwningSession in interface Lock
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||