public class SandboxedContext extends Object
Constructor and Description |
---|
SandboxedContext(String pluginFolder,
Sandbox sandbox,
JsPluginSettings pluginSettings) |
Modifier and Type | Method and Description |
---|---|
SandboxedDataAccess |
getDal() |
SandboxedDataAccess |
getDataAccess() |
String |
getPluginFolder() |
JsPluginSettings |
getPluginSettings() |
SandboxedRequest |
getRequest() |
SandboxedResponse |
getResponse() |
Site |
getSite() |
IUser |
getUser() |
String |
renderTemplate(String template,
Map<String,Object> context) |
SandboxedContext |
setPluginFolder(String pluginFolder) |
SandboxedContext |
setSite(Site site) |
public SandboxedContext(String pluginFolder, Sandbox sandbox, JsPluginSettings pluginSettings)
public JsPluginSettings getPluginSettings()
public SandboxedRequest getRequest()
public SandboxedDataAccess getDal()
public SandboxedDataAccess getDataAccess()
public SandboxedResponse getResponse()
public String getPluginFolder()
public SandboxedContext setPluginFolder(String pluginFolder)
public SandboxedContext setSite(Site site)
Copyright © 2016. All rights reserved.