Class PropertyServlet.BulkOperation

    • Constructor Detail

      • BulkOperation

        protected BulkOperation()
    • Method Detail

      • prepare

        protected ResourceHandle prepare​(@NotNull
                                         @NotNull org.apache.sling.api.SlingHttpServletRequest request,
                                         @NotNull
                                         @NotNull org.apache.sling.api.SlingHttpServletResponse response,
                                         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,
                         ResourceHandle resource)
                  throws javax.servlet.ServletException,
                         IOException
        Specified by:
        doIt in interface 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 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