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 class
PropertyServlet.BulkOperation.Result
-
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)
-
-
-
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 interfacecom.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
-
-