Class WidgetStorage

java.lang.Object
io.meeds.ide.storage.WidgetStorage

@Component public class WidgetStorage extends Object
  • Constructor Details

    • WidgetStorage

      public WidgetStorage()
  • Method Details

    • getWidget

      @Cacheable("ide.widget") public Widget getWidget(Long id)
    • createWidget

      public Widget createWidget(Widget widget)
    • updateWidget

      @CacheEvict(value="ide.widget", key="#p0.id") public Widget updateWidget(Widget widget)
    • getWidgetByPortletId

      public Widget getWidgetByPortletId(long portletInstanceId)
    • existsByPortletInstanceId

      public boolean existsByPortletInstanceId(Long portletInstanceId)