Interface ModifyingResourceProvider

All Superinterfaces:
ResourceProvider

@Deprecated @ConsumerType public interface ModifyingResourceProvider extends ResourceProvider
Deprecated.
A modifying resource provider is an extension of a resource provider which is only supported if the resource provider has been created through a ResourceProviderFactory. A modifying resource provider allows to create, update, and delete resources. Update is handled through ModifiableValueMap. All changes should be kept in a transient store until commit(ResourceResolver) is called. revert(ResourceResolver) discards all transient changes. If the modifying resource provider needs to clean up resources when it is discarded like removing objects from the transient state which are not committed etc., it should also implement the DynamicResourceProvider interface.
Since:
2.2 (Sling API Bundle 2.2.0)
See Also: