Class TouchLastModifiedPostOperation

  • All Implemented Interfaces:
    org.apache.sling.servlets.post.SlingPostProcessor

    public class TouchLastModifiedPostOperation
    extends Object
    implements org.apache.sling.servlets.post.SlingPostProcessor
    The TouchLastModifiedPostOperation class will update the last modified date and user of the parent publishable resource when a child resource is modified
    • Constructor Detail

      • TouchLastModifiedPostOperation

        public TouchLastModifiedPostOperation()
    • Method Detail

      • process

        public void process​(org.apache.sling.api.SlingHttpServletRequest request,
                            List<org.apache.sling.servlets.post.Modification> changes)
                     throws Exception
        Specified by:
        process in interface org.apache.sling.servlets.post.SlingPostProcessor
        Throws:
        Exception