Uses of Class
org.nuxeo.ecm.webengine.scripting.ScriptFile
Package
Description
-
Uses of ScriptFile in org.nuxeo.ecm.webengine.model
Modifier and TypeMethodDescriptionGets a file using the configured directory stack.Resolves the given path into a file.Module.getSkinResource
(String path) Gets a skin resource input stream.Gets a view for this type in the context of the given module.Template.script()
View.script()
Modifier and TypeMethodDescriptionvoid
WebContext.render
(ScriptFile script, Object args, Writer writer) Renders the given template using the rendering engine registered in that web engine.WebContext.runScript
(ScriptFile script, Map<String, Object> args) Runs the script using given argumentsView.script
(ScriptFile script) ModifierConstructorDescriptionTemplate
(Resource resource, ScriptFile script) protected
Template
(WebContext ctx, Resource resource, ScriptFile script) Template
(WebContext ctx, ScriptFile script) -
Uses of ScriptFile in org.nuxeo.ecm.webengine.model.impl
Modifier and TypeFieldDescriptionprotected ConcurrentMap<String,
ScriptFile> ModuleImpl.fileCache
protected ConcurrentMap<String,
ScriptFile> AbstractResourceType.templateCache
Modifier and TypeMethodDescriptionprotected ScriptFile
protected ScriptFile
AbstractResourceType.findSkinTemplate
(Module module, String name) protected ScriptFile
AbstractResourceType.findTypeTemplate
(Module module, String name) template and script resolverModuleImpl.getSkinResource
(String path) Modifier and TypeMethodDescriptionvoid
AbstractWebContext.render
(ScriptFile script, Object ctx, Writer writer) AbstractWebContext.runScript
(ScriptFile script, Map<String, Object> args) -
Uses of ScriptFile in org.nuxeo.ecm.webengine.model.io
Modifier and TypeMethodDescriptionlong
ScriptFileWriter.getSize
(ScriptFile arg0, Class<?> arg1, Type arg2, Annotation[] arg3, javax.ws.rs.core.MediaType arg4) void
ScriptFileWriter.writeTo
(ScriptFile t, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream) -
Uses of ScriptFile in org.nuxeo.ecm.webengine.scripting
Modifier and TypeMethodDescriptionprotected Object
Scripting._runScript
(ScriptFile script, Map<String, Object> args) Scripting.runScript
(ScriptFile script) Scripting.runScript
(ScriptFile script, Map<String, Object> args) -
Uses of ScriptFile in org.nuxeo.ecm.webengine.servlet
Modifier and TypeMethodDescriptionprotected static void
ResourceServlet.sendBinaryContent
(ScriptFile file, javax.servlet.http.HttpServletResponse resp) protected static void
ResourceServlet.sendTextContent
(ScriptFile file, javax.servlet.http.HttpServletResponse resp)