public interface ClientSideElement
Callable
,
that will be directly called by the kernel upon execution of the JavaScript method serverCall('methodeName', params)
.Map<String, Object>
instances found in this class and its implementations
are directly converted from and to JSON to interact with browser-site JavaScript.Modifier and Type | Interface and Description |
---|---|
static class |
ClientSideElement.Script
This class represents a script
|
static class |
ClientSideElement.ScriptFile
This class represents a script file
|
Modifier and Type | Method and Description |
---|---|
Map<String,List<String>> |
getDependencies()
This method returns the list of dependencies, sorted by extension point.
|
String |
getId()
Get the id of the element.
|
String |
getPluginName()
Get the plugin name where the control was declared
|
Map<String,String> |
getRights(Map<String,Object> contextParameters)
This method return the right that will be needed on client side.
|
List<ClientSideElement.Script> |
getScripts(boolean ignoreRights,
Map<String,Object> contextParameters)
This method return the scripts that will be used on client side.
|
List<ClientSideElement.Script> |
getScripts(Map<String,Object> contextParameters)
This method return the scripts that will be used on client side.
|
List<ClientSideElement.Script> getScripts(Map<String,Object> contextParameters)
contextParameters
- Contextuals parameters transmitted by the environment.List<ClientSideElement.Script> getScripts(boolean ignoreRights, Map<String,Object> contextParameters)
ignoreRights
- True to ignore the rights verification.contextParameters
- Contextuals parameters transmitted by the environment.Map<String,String> getRights(Map<String,Object> contextParameters)
contextParameters
- Contextuals parameters transmitted by the environment.String getPluginName()
Map<String,List<String>> getDependencies()