org.apache.jackrabbit.decorator
Class LockDecorator

java.lang.Object
  extended byorg.apache.jackrabbit.decorator.LockDecorator
All Implemented Interfaces:
Lock

public class LockDecorator
extends Object
implements Lock


Constructor Summary
LockDecorator(Node node, Lock lock)
           
 
Method Summary
 String getLockOwner()
           
 String getLockToken()
           
 Node getNode()
           
 boolean isDeep()
           
 boolean isLive()
           
 boolean isSessionScoped()
           
 void refresh()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LockDecorator

public LockDecorator(Node node,
                     Lock lock)
Method Detail

getNode

public Node getNode()
Specified by:
getNode in interface Lock

getLockOwner

public String getLockOwner()
Specified by:
getLockOwner in interface Lock

isDeep

public boolean isDeep()
Specified by:
isDeep in interface Lock

getLockToken

public String getLockToken()
Specified by:
getLockToken in interface Lock

isLive

public boolean isLive()
               throws RepositoryException
Specified by:
isLive in interface Lock
Throws:
RepositoryException

isSessionScoped

public boolean isSessionScoped()
Specified by:
isSessionScoped in interface Lock

refresh

public void refresh()
             throws LockException,
                    RepositoryException
Specified by:
refresh in interface Lock
Throws:
LockException
RepositoryException


Copyright © 2004-2005 . All Rights Reserved.