Class WidgetService

java.lang.Object
io.meeds.ide.service.WidgetService

@Service public class WidgetService extends Object
  • Field Details

  • Constructor Details

    • WidgetService

      public WidgetService()
  • Method Details

    • getWidget

      public Widget getWidget(long id) throws org.exoplatform.commons.exception.ObjectNotFoundException
      Throws:
      org.exoplatform.commons.exception.ObjectNotFoundException
    • getWidgetByPortletId

      public Widget getWidgetByPortletId(long portletInstanceId)
    • createWidget

      public Widget createWidget(Widget widget, String username) throws org.exoplatform.commons.ObjectAlreadyExistsException, IllegalAccessException
      Throws:
      org.exoplatform.commons.ObjectAlreadyExistsException
      IllegalAccessException
    • updateWidget

      public Widget updateWidget(Widget widget, String username) throws org.exoplatform.commons.exception.ObjectNotFoundException, IllegalAccessException
      Throws:
      org.exoplatform.commons.exception.ObjectNotFoundException
      IllegalAccessException
    • deleteWidget

      public void deleteWidget(long widgetId, String username) throws org.exoplatform.commons.exception.ObjectNotFoundException, IllegalAccessException
      Throws:
      org.exoplatform.commons.exception.ObjectNotFoundException
      IllegalAccessException