Class NodetypesPlugin.NodetypesRunner
- java.lang.Object
-
- com.composum.sling.nodes.consoleplugin.NodetypesPlugin.NodetypesRunner
-
- Enclosing class:
- NodetypesPlugin
protected class NodetypesPlugin.NodetypesRunner extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected Pattern
nameRegex
protected javax.servlet.http.HttpServletRequest
request
protected PrintWriter
writer
-
Constructor Summary
Constructors Constructor Description NodetypesRunner(PrintWriter writer, javax.servlet.http.HttpServletRequest request)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
print()
protected void
printForm()
protected void
printNodetypes()
protected void
writeNodetypes(javax.jcr.Session session, PrintWriter writer, Pattern nodetypeSelector)
-
-
-
Field Detail
-
writer
protected final PrintWriter writer
-
request
protected final javax.servlet.http.HttpServletRequest request
-
nameRegex
protected Pattern nameRegex
-
-
Constructor Detail
-
NodetypesRunner
public NodetypesRunner(PrintWriter writer, javax.servlet.http.HttpServletRequest request)
-
-
Method Detail
-
print
public void print() throws javax.servlet.ServletException
- Throws:
javax.servlet.ServletException
-
printNodetypes
protected void printNodetypes() throws javax.servlet.ServletException
- Throws:
javax.servlet.ServletException
-
writeNodetypes
protected void writeNodetypes(javax.jcr.Session session, PrintWriter writer, Pattern nodetypeSelector) throws javax.jcr.RepositoryException, IOException
- Throws:
javax.jcr.RepositoryException
IOException
-
printForm
protected void printForm()
-
-