Package org.ametys.cms.scripts
Interface CmsScriptExecArguments
-
- All Superinterfaces:
ScriptExecArguments
- All Known Implementing Classes:
CmsScriptExecArguments.Impl
public interface CmsScriptExecArguments extends ScriptExecArguments
EnrichesScriptExecArguments
with some arguments needed byCmsScriptHandler
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
CmsScriptExecArguments.Impl
The default implementation forCmsScriptExecArguments
Must be constructed from aMap
containing at least the key "script", and optionally the keys "model" and "selection"
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<String>
searchModelId()
The id of search model for searching contents in CMS ScriptToolOptional<Collection<String>>
selection()
The current selection of contents-
Methods inherited from interface org.ametys.plugins.core.ui.script.ScriptExecArguments
script
-
-
-
-
Method Detail
-
searchModelId
Optional<String> searchModelId()
The id of search model for searching contents in CMS ScriptTool- Returns:
- The id of search model for searching contents in CMS ScriptTool
-
selection
Optional<Collection<String>> selection()
The current selection of contents- Returns:
- The current selection of contents
-
-