You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cz...@apache.org on 2015/05/05 14:47:25 UTC

svn commit: r1677807 - /sling/whiteboard/cziegeler/api-v3/src/main/java/org/apache/sling/api/resource/provider/ResourceProvider.java

Author: cziegeler
Date: Tue May  5 12:47:24 2015
New Revision: 1677807

URL: http://svn.apache.org/r1677807
Log:
Update javadocs

Modified:
    sling/whiteboard/cziegeler/api-v3/src/main/java/org/apache/sling/api/resource/provider/ResourceProvider.java

Modified: sling/whiteboard/cziegeler/api-v3/src/main/java/org/apache/sling/api/resource/provider/ResourceProvider.java
URL: http://svn.apache.org/viewvc/sling/whiteboard/cziegeler/api-v3/src/main/java/org/apache/sling/api/resource/provider/ResourceProvider.java?rev=1677807&r1=1677806&r2=1677807&view=diff
==============================================================================
--- sling/whiteboard/cziegeler/api-v3/src/main/java/org/apache/sling/api/resource/provider/ResourceProvider.java (original)
+++ sling/whiteboard/cziegeler/api-v3/src/main/java/org/apache/sling/api/resource/provider/ResourceProvider.java Tue May  5 12:47:24 2015
@@ -90,6 +90,19 @@ public abstract class ResourceProvider<T
     public static final String PROPERTY_REQUIRED = "provider.required";
 
     /**
+     * A modifiable resource provider is capable of creating, changing and deleting resources.
+     * This means the methods {@link #create(ResolveContext, String, Map)},
+     * {@link #delete(ResolveContext, Resource)} and adapting a resource to a modifiable
+     * value map is supported.
+     * If this flag is set to {@code false}, the resource resolver treats does not take this
+     * provider into account for modifications and modification operations to this provider
+     * always result in an exception.
+     * Boolean service property, default value is <code>false</true>.
+     * (value is "provider.modifiable")
+     */
+    public static final String PROPERTY_MODIFIABLE = "provider.modifiable";
+
+    /**
      * The authentication information property referring to the bundle
      * providing a service for which a resource provider is to be retrieved. If
      * this property is provided, the