Package com.composum.sling.nodes.servlet
Class SceneServlet.SceneOperation
- java.lang.Object
-
- com.composum.sling.nodes.servlet.SceneServlet.SceneOperation
-
- All Implemented Interfaces:
ServletOperation
- Direct Known Subclasses:
SceneServlet.PrepareSceneOperation
,SceneServlet.RemoveSceneOperation
,SceneServlet.SceneDataOperation
- Enclosing class:
- SceneServlet
protected abstract class SceneServlet.SceneOperation extends Object implements 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 Status status, @NotNull Scene scene, @NotNull String toolId)
protected abstract void
applyScene(@NotNull Status status, @NotNull 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 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 ResourceHandle resource) throws javax.jcr.RepositoryException, IOException, javax.servlet.ServletException
- Specified by:
doIt
in interfaceServletOperation
- Throws:
javax.jcr.RepositoryException
IOException
javax.servlet.ServletException
-
applyScene
protected abstract void applyScene(@NotNull @NotNull Status status, @NotNull @NotNull BeanContext context, @NotNull @NotNull Scene scene, @NotNull @NotNull String toolId) throws IOException
- Throws:
IOException
-
-