Interface ClientSideElement

    • Method Detail

      • getId

        String getId()
        Get the id of the element.
        Returns:
        the id. Can not be null.
      • getScripts

        List<ClientSideElement.ScriptgetScripts​(Map<String,​Object> contextParameters)
        This method return the scripts that will be used on client side. This class will be parametrized by initial and current parameters.
        Parameters:
        contextParameters - Contextuals parameters transmitted by the environment.
        Returns:
        The list of scripts or an empty list.
      • getScripts

        List<ClientSideElement.ScriptgetScripts​(boolean ignoreRights,
                                                  Map<String,​Object> contextParameters)
        This method return the scripts that will be used on client side. This class will be parametrized by initial and current parameters.
        Parameters:
        ignoreRights - True to ignore the rights verification.
        contextParameters - Contextuals parameters transmitted by the environment.
        Returns:
        The list of scripts or an empty list.
      • getRights

        Map<String,​StringgetRights​(Map<String,​Object> contextParameters)
        This method return the right that will be needed on client side. This class will be parametrized by initial and current parameters.
        Parameters:
        contextParameters - Contextuals parameters transmitted by the environment.
        Returns:
        The rights in a Map of (rightId, context). Can be empty.
      • getPluginName

        String getPluginName()
        Get the plugin name where the control was declared
        Returns:
        The plugin name. Can not be null.
      • getDependencies

        Map<String,​List<String>> getDependencies()
        This method returns the list of dependencies, sorted by extension point.
        Returns:
        a map of dependencies ids by extension point.