Author: angela
Date: Thu Mar 22 10:18:01 2007
New Revision: 521352
URL: http://svn.apache.org/viewvc?view=rev&rev=521352
Log:
javadoc
Modified:
jackrabbit/trunk/contrib/spi/spi/src/main/java/org/apache/jackrabbit/spi/LockInfo.java
Modified: jackrabbit/trunk/contrib/spi/spi/src/main/java/org/apache/jackrabbit/spi/LockInfo.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/contrib/spi/spi/src/main/java/org/apache/jackrabbit/spi/LockInfo.java?view=diff&rev=521352&r1=521351&r2=521352
==============================================================================
--- jackrabbit/trunk/contrib/spi/spi/src/main/java/org/apache/jackrabbit/spi/LockInfo.java (original)
+++ jackrabbit/trunk/contrib/spi/spi/src/main/java/org/apache/jackrabbit/spi/LockInfo.java Thu Mar 22 10:18:01 2007
@@ -21,18 +21,43 @@
*/
public interface LockInfo {
+ /**
+ * Returns the lock token for this lock if it is hold by the requesting
+ * session or null otherwise.
+ *
+ * @return lock token or null
+ * @see javax.jcr.lock.Lock#getLockToken();
+ */
public String getLockToken();
+ /**
+ * Returns the user ID of the user who owns this lock.
+ *
+ * @return user ID of the user who owns this lock.
+ * @see javax.jcr.lock.Lock#getLockOwner();
+ */
public String getOwner();
+ /**
+ * Returns true if the Lock is deep. False otherwise.
+ *
+ * @return true if the Lock is deep. False otherwise.
+ * @see javax.jcr.lock.Lock#isDeep();
+ */
public boolean isDeep();
+ /**
+ * Returns true if the Lock is session scoped. False otherwise.
+ *
+ * @return true if the Lock is session scoped. False otherwise.
+ * @see javax.jcr.lock.Lock#isSessionScoped();
+ */
public boolean isSessionScoped();
/**
- * Returns the NodeID of the lock-holding Node.
+ * Returns the NodeId of the lock-holding Node.
*
- * @return the NodeID of the lock-holding Node.
+ * @return the NodeId of the lock-holding Node.
*/
public NodeId getNodeId();
}