incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1406777 - in /sling/trunk/bundles/jcr/resource: pom.xml src/main/java/org/apache/sling/jcr/resource/JcrResourceConstants.java
Date Wed, 07 Nov 2012 19:56:30 GMT
Author: cziegeler
Date: Wed Nov  7 19:56:30 2012
New Revision: 1406777

URL: http://svn.apache.org/viewvc?rev=1406777&view=rev
Log:
SLING-2662 : Add sling:Folder to a constants class

Modified:
    sling/trunk/bundles/jcr/resource/pom.xml
    sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/JcrResourceConstants.java

Modified: sling/trunk/bundles/jcr/resource/pom.xml
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/jcr/resource/pom.xml?rev=1406777&r1=1406776&r2=1406777&view=diff
==============================================================================
--- sling/trunk/bundles/jcr/resource/pom.xml (original)
+++ sling/trunk/bundles/jcr/resource/pom.xml Wed Nov  7 19:56:30 2012
@@ -90,7 +90,7 @@
                             org.apache.jackrabbit.api.observation
                         </DynamicImport-Package>
                         <Export-Package>
-                            org.apache.sling.jcr.resource;version=2.1
+                            org.apache.sling.jcr.resource;version=2.2
                         </Export-Package>
                         <Private-Package>
                             org.apache.sling.jcr.resource.internal.*

Modified: sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/JcrResourceConstants.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/JcrResourceConstants.java?rev=1406777&r1=1406776&r2=1406777&view=diff
==============================================================================
--- sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/JcrResourceConstants.java
(original)
+++ sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/JcrResourceConstants.java
Wed Nov  7 19:56:30 2012
@@ -106,4 +106,15 @@ public class JcrResourceConstants {
      */
     public static final String AUTHENTICATION_INFO_SESSION = "user.jcr.session";
 
+    /**
+     * Constant for the sling:Folder node type
+     * @since 2.2
+     */
+    public static final String NT_SLING_FOLDER = "sling:Folder";
+
+    /**
+     * Constant for the sling:OrderedFolder node type
+     * @since 2.2
+     */
+    public static final String NT_SLING_ORDERED_FOLDER = "sling:OrderedFolder";
 }



Mime
View raw message