Uses of Class
org.nuxeo.ecm.webengine.scripting.ScriptFile
Packages that use ScriptFile
Package
Description
-
Uses of ScriptFile in org.nuxeo.ecm.webengine.model
Fields in org.nuxeo.ecm.webengine.model declared as ScriptFileMethods in org.nuxeo.ecm.webengine.model that return ScriptFileModifier 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()
Methods in org.nuxeo.ecm.webengine.model with parameters of type ScriptFileModifier 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) Constructors in org.nuxeo.ecm.webengine.model with parameters of type ScriptFileModifierConstructorDescriptionTemplate
(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
Fields in org.nuxeo.ecm.webengine.model.impl with type parameters of type ScriptFileModifier and TypeFieldDescriptionprotected ConcurrentMap<String,
ScriptFile> ModuleImpl.fileCache
protected ConcurrentMap<String,
ScriptFile> AbstractResourceType.templateCache
Methods in org.nuxeo.ecm.webengine.model.impl that return ScriptFileModifier 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) Methods in org.nuxeo.ecm.webengine.model.impl with parameters of type ScriptFileModifier 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
Methods in org.nuxeo.ecm.webengine.model.io with parameters of type ScriptFileModifier 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
Methods in org.nuxeo.ecm.webengine.scripting with parameters of type ScriptFileModifier 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
Methods in org.nuxeo.ecm.webengine.servlet with parameters of type ScriptFileModifier 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)