public class CmsScriptBinding extends StaticConfigurableScriptBinding
Modifier and Type | Field and Description |
---|---|
private AmetysObjectResolver |
_resolver |
private ServerCommHelper |
_serverCommHelper |
private static String |
REQUEST_PARAM_SELECTION |
_context, _functions, _functionsDescriptions, _pluginName, _sourceResolver, _workspacePattern
Constructor and Description |
---|
CmsScriptBinding() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getVariables()
Returns the list of variables this ScriptBinding provides, mapped by variable name.
|
Map<String,I18nizableText> |
getVariablesDescriptions()
Returns the list of variables descriptions, mapped by variable name.
|
void |
service(ServiceManager manager) |
cleanVariables, configure, contextualize, getFunctions, getFunctionsDescriptions, getWorkspacePattern, processScriptResult, setPluginInfo
getLogger, setLogger
private static final String REQUEST_PARAM_SELECTION
private ServerCommHelper _serverCommHelper
private AmetysObjectResolver _resolver
public CmsScriptBinding()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
service
in class StaticConfigurableScriptBinding
ServiceException
public Map<String,Object> getVariables()
ScriptBinding
getVariables
in interface ScriptBinding
getVariables
in class StaticConfigurableScriptBinding
public Map<String,I18nizableText> getVariablesDescriptions()
ScriptBinding
getVariablesDescriptions
in interface ScriptBinding
getVariablesDescriptions
in class StaticConfigurableScriptBinding