More specifically, how can I keep track of the update which is handled via ModifiableValueMap ? Quoting from the ModifiableValueMap documentation [1], "*Once ResourceResolver.commit() is called, the changes are finally persisted.*"
Basically I am not sure, how and where can the changes in ModifiableValueMap be translated to the changes to be done on the dynamodb backend. [1] - http://docs.adobe.com/docs/en/cq/current/javadoc/org/apache/sling/api/resource/ModifiableValueMap.html On Thu, Jan 29, 2015 at 6:45 PM, connuser1 connuser1 <connus...@gmail.com> wrote: > Hi > > I am implementing the ModifyingResourceProvider intergace for the dynamodb > resource provider [0] in order to be able to create/edit/delete resources. > > I needed some guidance on implementing the revert/commit/hasChanges > methods. I had a look at JCRResourceProvider and it does that through the > JCR Session. What is the recommended way of keeping track of the transient > changes in custom resource providers like his one? > > Thanks > > [0] - https://github.com/sdmcraft/SlingDynamo >