From CollabUtils to SocialUtils to ... ?
Planning upgrade from CQ 5.6.1 to AEM 6.2 and we've got a considerable number of social components that we wrote from scratch heavily utilizing some now extremely deprecated packages/classes. The most common of which, I'm having trouble tracking down a replacement for: prepareUserGeneratedContent(); Found that it still exists in the 6.2 documentation but can't exactly use it how we're using it today in CQ 5.6.1...
In the past we would create/get the UGC node from the path of the resource/page calling the servlet, once we had the UGC node, update the relevant custom properties, save the session, then return the result.
I guess my question is what is the proper way to CRUD UGC in AEM 6.2 from a custom Java servlet?
I'm open to using OOTB components/classes to make this work instead of our custom implementation, but just need to know where to start to learn the right way of using the SRP API in 6.2. Any examples out there?