Class PackageServlet.InstallOperation

  • All Implemented Interfaces:
    com.composum.sling.core.servlet.ServletOperation
    Direct Known Subclasses:
    PackageServlet.ServiceOperation
    Enclosing class:
    PackageServlet

    protected class PackageServlet.InstallOperation
    extends Object
    implements com.composum.sling.core.servlet.ServletOperation
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected InstallOperation()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void doIt​(org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.api.SlingHttpServletResponse response, com.composum.sling.core.ResourceHandle resource)  
      protected void installationDone​(org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.api.SlingHttpServletResponse response, org.apache.jackrabbit.vault.packaging.JcrPackageManager manager, org.apache.jackrabbit.vault.packaging.JcrPackage jcrPackage, com.composum.sling.core.concurrent.JobMonitor jobMonitor)  
      protected void installPackage​(org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.api.SlingHttpServletResponse response, org.apache.jackrabbit.vault.packaging.JcrPackageManager manager, org.apache.jackrabbit.vault.packaging.JcrPackage jcrPackage)  
    • Constructor Detail

      • InstallOperation

        protected InstallOperation()
    • Method Detail

      • doIt

        public void doIt​(@Nonnull
                         org.apache.sling.api.SlingHttpServletRequest request,
                         @Nonnull
                         org.apache.sling.api.SlingHttpServletResponse response,
                         com.composum.sling.core.ResourceHandle resource)
                  throws javax.jcr.RepositoryException,
                         IOException
        Specified by:
        doIt in interface com.composum.sling.core.servlet.ServletOperation
        Throws:
        javax.jcr.RepositoryException
        IOException
      • installPackage

        protected void installPackage​(org.apache.sling.api.SlingHttpServletRequest request,
                                      org.apache.sling.api.SlingHttpServletResponse response,
                                      org.apache.jackrabbit.vault.packaging.JcrPackageManager manager,
                                      org.apache.jackrabbit.vault.packaging.JcrPackage jcrPackage)
                               throws javax.jcr.RepositoryException,
                                      IOException
        Throws:
        javax.jcr.RepositoryException
        IOException
      • installationDone

        protected void installationDone​(org.apache.sling.api.SlingHttpServletRequest request,
                                        org.apache.sling.api.SlingHttpServletResponse response,
                                        org.apache.jackrabbit.vault.packaging.JcrPackageManager manager,
                                        org.apache.jackrabbit.vault.packaging.JcrPackage jcrPackage,
                                        com.composum.sling.core.concurrent.JobMonitor jobMonitor)
                                 throws javax.jcr.RepositoryException,
                                        IOException
        Throws:
        javax.jcr.RepositoryException
        IOException