jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r467909 - in /jackrabbit/trunk/contrib/spi/spi/src/main/java/org/apache/jackrabbit/spi: LockInfo.java NodeInfo.java RepositoryService.java
Date Thu, 26 Oct 2006 08:23:15 GMT
Author: angela
Date: Thu Oct 26 01:23:14 2006
New Revision: 467909

URL: http://svn.apache.org/viewvc?view=rev&rev=467909
Log:
work in progress

- add 'isSessionScoped' to LockInfo and RepositoryService.lock
- add index to NodeInfo

Modified:
    jackrabbit/trunk/contrib/spi/spi/src/main/java/org/apache/jackrabbit/spi/LockInfo.java
    jackrabbit/trunk/contrib/spi/spi/src/main/java/org/apache/jackrabbit/spi/NodeInfo.java
    jackrabbit/trunk/contrib/spi/spi/src/main/java/org/apache/jackrabbit/spi/RepositoryService.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=467909&r1=467908&r2=467909
==============================================================================
--- 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 Oct 26 01:23:14 2006
@@ -35,4 +35,6 @@
     public String getOwner();
 
     public boolean isDeep();
+
+    public boolean isSessionScoped();
 }

Modified: jackrabbit/trunk/contrib/spi/spi/src/main/java/org/apache/jackrabbit/spi/NodeInfo.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/contrib/spi/spi/src/main/java/org/apache/jackrabbit/spi/NodeInfo.java?view=diff&rev=467909&r1=467908&r2=467909
==============================================================================
--- jackrabbit/trunk/contrib/spi/spi/src/main/java/org/apache/jackrabbit/spi/NodeInfo.java
(original)
+++ jackrabbit/trunk/contrib/spi/spi/src/main/java/org/apache/jackrabbit/spi/NodeInfo.java
Thu Oct 26 01:23:14 2006
@@ -31,6 +31,13 @@
     public NodeId getId();
 
     /**
+     * Index of the node
+     * 
+     * @return
+     */
+    public int getIndex();
+
+    /**
      * @return QName representing the name of the primary nodetype
      */
     public QName getNodetype();

Modified: jackrabbit/trunk/contrib/spi/spi/src/main/java/org/apache/jackrabbit/spi/RepositoryService.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/contrib/spi/spi/src/main/java/org/apache/jackrabbit/spi/RepositoryService.java?view=diff&rev=467909&r1=467908&r2=467909
==============================================================================
--- jackrabbit/trunk/contrib/spi/spi/src/main/java/org/apache/jackrabbit/spi/RepositoryService.java
(original)
+++ jackrabbit/trunk/contrib/spi/spi/src/main/java/org/apache/jackrabbit/spi/RepositoryService.java
Thu Oct 26 01:23:14 2006
@@ -336,6 +336,7 @@
      * @param sessionInfo
      * @param nodeId
      * @param deep
+     * @param sessionScoped
      * @throws javax.jcr.UnsupportedRepositoryOperationException
      * @throws javax.jcr.lock.LockException
      * @throws javax.jcr.AccessDeniedException
@@ -343,7 +344,7 @@
      * @throws javax.jcr.RepositoryException
      * @see javax.jcr.Node#lock(boolean, boolean)
      */
-    public EventIterator lock(SessionInfo sessionInfo, NodeId nodeId, boolean deep) throws
UnsupportedRepositoryOperationException, LockException, AccessDeniedException, InvalidItemStateException,
RepositoryException;
+    public EventIterator lock(SessionInfo sessionInfo, NodeId nodeId, boolean deep, boolean
sessionScoped) throws UnsupportedRepositoryOperationException, LockException, AccessDeniedException,
InvalidItemStateException, RepositoryException;
 
     /**
      * Explicit refresh of an existing lock. Existing locks should be refreshed



Mime
View raw message