Interface WidgetService

All Known Implementing Classes:
WidgetServiceImpl

public interface WidgetService
  • Method Details

    • resolveRootWidgetConfigEntityList

      EntityList resolveRootWidgetConfigEntityList(Entity widgetConfigEntity) throws PersistException
      Resolve the root widget for widget config entity
      Parameters:
      widgetConfigEntity - a widget config entity
      Returns:
      the provided widget config entity's root config entity
      Throws:
      PersistException
    • setUniqueWidgetKeys

      String setUniqueWidgetKeys(String html, @Nullable @Nullable PrimaryKey sectionKey) throws PersistException
      Set unique attribute "key" on <widget> tags.
      Parameters:
      html - Any html string (containing some widgets)
      Returns:
      the same html string, but every widget tag has a unique key attribute (system-wide)
      Throws:
      PersistException