Interface ToolsItemService


public interface ToolsItemService
  • Method Details

    • getToolsItems

      List<ToolsItem> getToolsItems(Session userSession)
      Returns the list of ToolsItems that the logged in user (identified by the userSession) is allowed to see.
      Parameters:
      userSession - jcr session of the logged in user
      Returns:
      list of tools items
    • getToolsItem

      Optional<ToolsItem> getToolsItem(Session userSession, String pluginClass)
      Returns the tools item for the given plugin class.
      Parameters:
      userSession - jcr session of the logged in user
      pluginClass - fully qualified name of the plugin class that belongs to the returned item.
      Returns:
      tools item