Class SceneServlet.SceneOperation

    • Constructor Detail

      • SceneOperation

        protected SceneOperation()
    • Method Detail

      • doIt

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

        protected abstract void applyScene​(@NotNull
                                           @NotNull com.composum.sling.core.servlet.Status status,
                                           @NotNull
                                           @NotNull com.composum.sling.core.BeanContext context,
                                           @NotNull
                                           @NotNull Scene scene,
                                           @NotNull
                                           @NotNull String toolId)
                                    throws IOException
        Throws:
        IOException
      • answer

        protected void answer​(@NotNull
                              @NotNull com.composum.sling.core.servlet.Status status,
                              @NotNull
                              @NotNull Scene scene,
                              @NotNull
                              @NotNull String toolId)