org.apache.jackrabbit.rmi.remote
Interface RemoteLockManager

All Superinterfaces:
Remote
All Known Implementing Classes:
ServerLockManager

public interface RemoteLockManager
extends Remote


Method Summary
 void addLockToken(String lockToken)
           
 RemoteLock getLock(String absPath)
           
 String[] getLockTokens()
           
 boolean holdsLock(String absPath)
           
 boolean isLocked(String absPath)
           
 RemoteLock lock(String absPath, boolean isDeep, boolean isSessionScoped, long timeoutHint, String ownerInfo)
           
 void removeLockToken(String lockToken)
           
 void unlock(String absPath)
           
 

Method Detail

getLockTokens

String[] getLockTokens()
                       throws RepositoryException,
                              RemoteException
Throws:
RepositoryException
RemoteException

addLockToken

void addLockToken(String lockToken)
                  throws RepositoryException,
                         RemoteException
Throws:
RepositoryException
RemoteException

removeLockToken

void removeLockToken(String lockToken)
                     throws RepositoryException,
                            RemoteException
Throws:
RepositoryException
RemoteException

getLock

RemoteLock getLock(String absPath)
                   throws RepositoryException,
                          RemoteException
Throws:
RepositoryException
RemoteException

holdsLock

boolean holdsLock(String absPath)
                  throws RepositoryException,
                         RemoteException
Throws:
RepositoryException
RemoteException

isLocked

boolean isLocked(String absPath)
                 throws RepositoryException,
                        RemoteException
Throws:
RepositoryException
RemoteException

lock

RemoteLock lock(String absPath,
                boolean isDeep,
                boolean isSessionScoped,
                long timeoutHint,
                String ownerInfo)
                throws RepositoryException,
                       RemoteException
Throws:
RepositoryException
RemoteException

unlock

void unlock(String absPath)
            throws RepositoryException,
                   RemoteException
Throws:
RepositoryException
RemoteException


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.