jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r906037 - /jackrabbit/trunk/jackrabbit-spi/src/main/java/org/apache/jackrabbit/spi/ItemInfo.java
Date Wed, 03 Feb 2010 13:25:07 GMT
Author: mduerig
Date: Wed Feb  3 13:25:07 2010
New Revision: 906037

URL: http://svn.apache.org/viewvc?rev=906037&view=rev
Log:
JCR-2485: Add method getID to interface ItemInfo

Modified:
    jackrabbit/trunk/jackrabbit-spi/src/main/java/org/apache/jackrabbit/spi/ItemInfo.java

Modified: jackrabbit/trunk/jackrabbit-spi/src/main/java/org/apache/jackrabbit/spi/ItemInfo.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-spi/src/main/java/org/apache/jackrabbit/spi/ItemInfo.java?rev=906037&r1=906036&r2=906037&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-spi/src/main/java/org/apache/jackrabbit/spi/ItemInfo.java
(original)
+++ jackrabbit/trunk/jackrabbit-spi/src/main/java/org/apache/jackrabbit/spi/ItemInfo.java
Wed Feb  3 13:25:07 2010
@@ -23,6 +23,13 @@
 public interface ItemInfo {
 
     /**
+     * @return identifier for the item that is based on this info object. the id
+     * can either be an absolute path or a uniqueID (+ relative path).
+     * @see RepositoryService#getNodeInfo(SessionInfo, NodeId)
+     */
+    public ItemId getId();
+
+    /**
      * Returns true if this <code>ItemInfo</code> denotes a node, false otherwise.
      *
      * @return true if this <code>ItemInfo</code> denotes a node, false otherwise.



Mime
View raw message