@Deprecated public class ClientLockManager extends ClientObject implements LockManager
Constructor and Description |
---|
ClientLockManager(Session session,
RemoteLockManager remote,
LocalAdapterFactory factory)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addLockToken(String lockToken)
Deprecated.
|
Lock |
getLock(String absPath)
Deprecated.
|
String[] |
getLockTokens()
Deprecated.
|
boolean |
holdsLock(String absPath)
Deprecated.
|
boolean |
isLocked(String absPath)
Deprecated.
|
Lock |
lock(String absPath,
boolean isDeep,
boolean isSessionScoped,
long timeoutHint,
String ownerInfo)
Deprecated.
|
void |
removeLockToken(String lockToken)
Deprecated.
|
void |
unlock(String absPath)
Deprecated.
|
getFactory, getItem, getNode, getNodeTypeArray
public ClientLockManager(Session session, RemoteLockManager remote, LocalAdapterFactory factory)
public String[] getLockTokens() throws RepositoryException
getLockTokens
in interface LockManager
RepositoryException
public void addLockToken(String lockToken) throws RepositoryException
addLockToken
in interface LockManager
RepositoryException
public void removeLockToken(String lockToken) throws RepositoryException
removeLockToken
in interface LockManager
RepositoryException
public Lock getLock(String absPath) throws RepositoryException
getLock
in interface LockManager
RepositoryException
public boolean holdsLock(String absPath) throws RepositoryException
holdsLock
in interface LockManager
RepositoryException
public boolean isLocked(String absPath) throws RepositoryException
isLocked
in interface LockManager
RepositoryException
public Lock lock(String absPath, boolean isDeep, boolean isSessionScoped, long timeoutHint, String ownerInfo) throws RepositoryException
lock
in interface LockManager
RepositoryException
public void unlock(String absPath) throws RepositoryException
unlock
in interface LockManager
RepositoryException
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.