Package com.composum.sling.nodes.servlet
Class SceneServlet.SceneOperation
- java.lang.Object
-
- com.composum.sling.nodes.servlet.SceneServlet.SceneOperation
-
- All Implemented Interfaces:
com.composum.sling.core.servlet.ServletOperation
- Direct Known Subclasses:
SceneServlet.PrepareSceneOperation
,SceneServlet.RemoveSceneOperation
,SceneServlet.SceneDataOperation
- Enclosing class:
- SceneServlet
protected abstract class SceneServlet.SceneOperation extends Object implements com.composum.sling.core.servlet.ServletOperation
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SceneOperation()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
answer(@NotNull com.composum.sling.core.servlet.Status status, @NotNull Scene scene, @NotNull String toolId)
protected abstract void
applyScene(@NotNull com.composum.sling.core.servlet.Status status, @NotNull com.composum.sling.core.BeanContext context, @NotNull Scene scene, @NotNull String toolId)
void
doIt(@NotNull org.apache.sling.api.SlingHttpServletRequest request, @NotNull org.apache.sling.api.SlingHttpServletResponse response, @Nullable com.composum.sling.core.ResourceHandle resource)
-
-
-
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 interfacecom.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
-
-