Class AbstractSlingPostOperation

    • Constructor Detail

      • AbstractSlingPostOperation

        public AbstractSlingPostOperation()
        Deprecated.
    • Method Detail

      • run

        public void run​(SlingHttpServletRequest request,
                        HtmlResponse response,
                        SlingPostProcessor[] processors)
                 throws org.apache.sling.servlets.post.exceptions.PreconditionViolatedPersistenceException,
                        org.apache.sling.servlets.post.exceptions.TemporaryPersistenceException
        Deprecated.
        Specified by:
        run in interface SlingPostOperation
        Parameters:
        request - The SlingHttpServletRequest object providing the request input for the operation.
        response - The HtmlResponse into which the operation steps should be recorded.
        processors - The SlingPostProcessor services to be called after applying the operation. This may be null if there are none.
        Throws:
        org.apache.sling.servlets.post.exceptions.PreconditionViolatedPersistenceException - May be thrown if an error occurrs during the operation because preconditions are not fulfilled. If the operation should be repeated with the same parameters, it will fail again.
        org.apache.sling.servlets.post.exceptions.TemporaryPersistenceException - May be thrown if an error occurs during the operation, for which it makes sense to retry it with the same parameters