Uses of Class
org.nuxeo.ecm.webengine.scripting.ScriptFile
-
Packages that use ScriptFile Package Description org.nuxeo.ecm.webengine.model org.nuxeo.ecm.webengine.model.impl org.nuxeo.ecm.webengine.model.io org.nuxeo.ecm.webengine.scripting org.nuxeo.ecm.webengine.servlet -
-
Uses of ScriptFile in org.nuxeo.ecm.webengine.model
Fields in org.nuxeo.ecm.webengine.model declared as ScriptFile Modifier and Type Field Description protected ScriptFile
Template. script
Methods in org.nuxeo.ecm.webengine.model that return ScriptFile Modifier and Type Method Description ScriptFile
Module. getFile(String path)
Gets a file using the configured directory stack.ScriptFile
WebContext. getFile(String path)
Resolves the given path into a file.ScriptFile
Module. getSkinResource(String path)
Gets a skin resource input stream.ScriptFile
ResourceType. getView(Module module, String name)
Gets a view for this type in the context of the given module.ScriptFile
Template. script()
ScriptFile
View. script()
Methods in org.nuxeo.ecm.webengine.model with parameters of type ScriptFile Modifier and Type Method Description void
WebContext. render(ScriptFile script, Object args, Writer writer)
Renders the given template using the rendering engine registered in that web engine.Object
WebContext. runScript(ScriptFile script, Map<String,Object> args)
Runs the script using given argumentsView
View. script(ScriptFile script)
Constructors in org.nuxeo.ecm.webengine.model with parameters of type ScriptFile Constructor Description Template(Resource resource, ScriptFile script)
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 ScriptFile Modifier and Type Field Description protected ConcurrentMap<String,ScriptFile>
ModuleImpl. fileCache
protected ConcurrentMap<String,ScriptFile>
AbstractResourceType. templateCache
Methods in org.nuxeo.ecm.webengine.model.impl that return ScriptFile Modifier and Type Method Description protected ScriptFile
ModuleImpl. findFile(String path)
protected ScriptFile
AbstractResourceType. findSkinTemplate(Module module, String name)
protected ScriptFile
AbstractResourceType. findTypeTemplate(Module module, String name)
ScriptFile
AbstractResourceType. findView(Module module, String name)
ScriptFile
AbstractWebContext. getFile(String path)
template and script resolverScriptFile
ModuleImpl. getFile(String path)
ScriptFile
ModuleImpl. getSkinResource(String path)
ScriptFile
AbstractResourceType. getView(Module module, String name)
Methods in org.nuxeo.ecm.webengine.model.impl with parameters of type ScriptFile Modifier and Type Method Description void
AbstractWebContext. render(ScriptFile script, Object ctx, Writer writer)
Object
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 ScriptFile Modifier and Type Method Description long
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 ScriptFile Modifier and Type Method Description protected Object
Scripting. _runScript(ScriptFile script, Map<String,Object> args)
Object
Scripting. runScript(ScriptFile script)
Object
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 ScriptFile Modifier and Type Method Description protected static void
ResourceServlet. sendBinaryContent(ScriptFile file, javax.servlet.http.HttpServletResponse resp)
protected static void
ResourceServlet. sendTextContent(ScriptFile file, javax.servlet.http.HttpServletResponse resp)
-