Package org.apache.jackrabbit.rmi.client
Class ClientLockManager
- java.lang.Object
-
- org.apache.jackrabbit.rmi.client.ClientObject
-
- org.apache.jackrabbit.rmi.client.ClientLockManager
-
- All Implemented Interfaces:
LockManager
@Deprecated public class ClientLockManager extends ClientObject implements LockManager
Deprecated.
-
-
Constructor Summary
Constructors Constructor Description ClientLockManager(Session session, RemoteLockManager remote, LocalAdapterFactory factory)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddLockToken(String lockToken)Deprecated.LockgetLock(String absPath)Deprecated.String[]getLockTokens()Deprecated.booleanholdsLock(String absPath)Deprecated.booleanisLocked(String absPath)Deprecated.Locklock(String absPath, boolean isDeep, boolean isSessionScoped, long timeoutHint, String ownerInfo)Deprecated.voidremoveLockToken(String lockToken)Deprecated.voidunlock(String absPath)Deprecated.-
Methods inherited from class org.apache.jackrabbit.rmi.client.ClientObject
getFactory, getItem, getNode, getNodeTypeArray
-
-
-
-
Constructor Detail
-
ClientLockManager
public ClientLockManager(Session session, RemoteLockManager remote, LocalAdapterFactory factory)
Deprecated.
-
-
Method Detail
-
getLockTokens
public String[] getLockTokens() throws RepositoryException
Deprecated.- Specified by:
getLockTokensin interfaceLockManager- Throws:
RepositoryException
-
addLockToken
public void addLockToken(String lockToken) throws RepositoryException
Deprecated.- Specified by:
addLockTokenin interfaceLockManager- Throws:
RepositoryException
-
removeLockToken
public void removeLockToken(String lockToken) throws RepositoryException
Deprecated.- Specified by:
removeLockTokenin interfaceLockManager- Throws:
RepositoryException
-
getLock
public Lock getLock(String absPath) throws RepositoryException
Deprecated.- Specified by:
getLockin interfaceLockManager- Throws:
RepositoryException
-
holdsLock
public boolean holdsLock(String absPath) throws RepositoryException
Deprecated.- Specified by:
holdsLockin interfaceLockManager- Throws:
RepositoryException
-
isLocked
public boolean isLocked(String absPath) throws RepositoryException
Deprecated.- Specified by:
isLockedin interfaceLockManager- Throws:
RepositoryException
-
lock
public Lock lock(String absPath, boolean isDeep, boolean isSessionScoped, long timeoutHint, String ownerInfo) throws RepositoryException
Deprecated.- Specified by:
lockin interfaceLockManager- Throws:
RepositoryException
-
unlock
public void unlock(String absPath) throws RepositoryException
Deprecated.- Specified by:
unlockin interfaceLockManager- Throws:
RepositoryException
-
-