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(forRemoval=true) public class ClientLockManager extends ClientObject implements LockManager
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Summary
Constructors Constructor Description ClientLockManager(Session session, RemoteLockManager remote, LocalAdapterFactory factory)
Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addLockToken(String lockToken)
Deprecated, for removal: This API element is subject to removal in a future version.Lock
getLock(String absPath)
Deprecated, for removal: This API element is subject to removal in a future version.String[]
getLockTokens()
Deprecated, for removal: This API element is subject to removal in a future version.boolean
holdsLock(String absPath)
Deprecated, for removal: This API element is subject to removal in a future version.boolean
isLocked(String absPath)
Deprecated, for removal: This API element is subject to removal in a future version.Lock
lock(String absPath, boolean isDeep, boolean isSessionScoped, long timeoutHint, String ownerInfo)
Deprecated, for removal: This API element is subject to removal in a future version.void
removeLockToken(String lockToken)
Deprecated, for removal: This API element is subject to removal in a future version.void
unlock(String absPath)
Deprecated, for removal: This API element is subject to removal in a future version.-
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, for removal: This API element is subject to removal in a future version.
-
-
Method Detail
-
getLockTokens
public String[] getLockTokens() throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getLockTokens
in interfaceLockManager
- Throws:
RepositoryException
-
addLockToken
public void addLockToken(String lockToken) throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
addLockToken
in interfaceLockManager
- Throws:
RepositoryException
-
removeLockToken
public void removeLockToken(String lockToken) throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
removeLockToken
in interfaceLockManager
- Throws:
RepositoryException
-
getLock
public Lock getLock(String absPath) throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getLock
in interfaceLockManager
- Throws:
RepositoryException
-
holdsLock
public boolean holdsLock(String absPath) throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
holdsLock
in interfaceLockManager
- Throws:
RepositoryException
-
isLocked
public boolean isLocked(String absPath) throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
isLocked
in interfaceLockManager
- Throws:
RepositoryException
-
lock
public Lock lock(String absPath, boolean isDeep, boolean isSessionScoped, long timeoutHint, String ownerInfo) throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
lock
in interfaceLockManager
- Throws:
RepositoryException
-
unlock
public void unlock(String absPath) throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
unlock
in interfaceLockManager
- Throws:
RepositoryException
-
-