Class PropertyServlet.BulkOperation

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected BulkOperation()  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected void clearProperty​(@NotNull javax.jcr.Node node, @NotNull String name)  
      protected abstract void doIt​(@NotNull org.apache.sling.api.SlingHttpServletRequest request, @NotNull org.apache.sling.api.SlingHttpServletResponse response, @NotNull com.composum.sling.core.ResourceHandle resource, @Nullable javax.jcr.Node node, @NotNull PropertyServlet.BulkParameters parameters, @NotNull com.google.gson.stream.JsonWriter writer)  
      void doIt​(@NotNull org.apache.sling.api.SlingHttpServletRequest request, @NotNull org.apache.sling.api.SlingHttpServletResponse response, com.composum.sling.core.ResourceHandle resource)  
      protected com.composum.sling.core.ResourceHandle prepare​(@NotNull org.apache.sling.api.SlingHttpServletRequest request, @NotNull org.apache.sling.api.SlingHttpServletResponse response, com.composum.sling.core.ResourceHandle resource)  
    • Constructor Detail

      • BulkOperation

        protected BulkOperation()
    • Method Detail

      • prepare

        protected com.composum.sling.core.ResourceHandle prepare​(@NotNull
                                                                 @NotNull org.apache.sling.api.SlingHttpServletRequest request,
                                                                 @NotNull
                                                                 @NotNull org.apache.sling.api.SlingHttpServletResponse response,
                                                                 com.composum.sling.core.ResourceHandle resource)
                                                          throws javax.jcr.RepositoryException
        Throws:
        javax.jcr.RepositoryException
      • doIt

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

        protected abstract void doIt​(@NotNull
                                     @NotNull org.apache.sling.api.SlingHttpServletRequest request,
                                     @NotNull
                                     @NotNull org.apache.sling.api.SlingHttpServletResponse response,
                                     @NotNull
                                     @NotNull com.composum.sling.core.ResourceHandle resource,
                                     @Nullable
                                     @Nullable javax.jcr.Node node,
                                     @NotNull
                                     @NotNull PropertyServlet.BulkParameters parameters,
                                     @NotNull
                                     @NotNull com.google.gson.stream.JsonWriter writer)
                              throws javax.jcr.RepositoryException,
                                     javax.servlet.ServletException,
                                     IOException
        Throws:
        javax.jcr.RepositoryException
        javax.servlet.ServletException
        IOException
      • clearProperty

        protected void clearProperty​(@NotNull
                                     @NotNull javax.jcr.Node node,
                                     @NotNull
                                     @NotNull String name)
                              throws javax.jcr.RepositoryException
        Throws:
        javax.jcr.RepositoryException