Package com.composum.sling.nodes.servlet
Class PropertyServlet.BulkOperation
- java.lang.Object
-
- com.composum.sling.nodes.servlet.PropertyServlet.BulkOperation
-
- All Implemented Interfaces:
com.composum.sling.core.servlet.ServletOperation
- Direct Known Subclasses:
PropertyServlet.CopyOperation,PropertyServlet.RemoveOperation
- Enclosing class:
- PropertyServlet
protected abstract class PropertyServlet.BulkOperation extends Object implements com.composum.sling.core.servlet.ServletOperation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classPropertyServlet.BulkOperation.Result
-
Constructor Summary
Constructors Modifier Constructor Description protectedBulkOperation()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidclearProperty(@NotNull javax.jcr.Node node, @NotNull String name)protected abstract voiddoIt(@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)voiddoIt(@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.ResourceHandleprepare(@NotNull org.apache.sling.api.SlingHttpServletRequest request, @NotNull org.apache.sling.api.SlingHttpServletResponse response, com.composum.sling.core.ResourceHandle resource)
-
-
-
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:
doItin interfacecom.composum.sling.core.servlet.ServletOperation- Throws:
javax.servlet.ServletExceptionIOException
-
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.RepositoryExceptionjavax.servlet.ServletExceptionIOException
-
clearProperty
protected void clearProperty(@NotNull @NotNull javax.jcr.Node node, @NotNull @NotNull String name) throws javax.jcr.RepositoryException- Throws:
javax.jcr.RepositoryException
-
-