Package io.meeds.ide.service
Class WidgetService
java.lang.Object
io.meeds.ide.service.WidgetService
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateWidget(Widget widget, String username) voiddeleteWidget(long widgetId, String username) getWidget(long id) getWidgetByPortletId(long portletInstanceId) updateWidget(Widget widget, String username)
-
Field Details
-
IDE_WIDGET_CREATED_EVENT
- See Also:
-
IDE_WIDGET_UPDATED_EVENT
- See Also:
-
NOT_ADMINISTRATOR_USER
- See Also:
-
-
Constructor Details
-
WidgetService
public WidgetService()
-
-
Method Details
-
getWidget
- Throws:
org.exoplatform.commons.exception.ObjectNotFoundException
-
getWidgetByPortletId
-
createWidget
public Widget createWidget(Widget widget, String username) throws org.exoplatform.commons.ObjectAlreadyExistsException, IllegalAccessException - Throws:
org.exoplatform.commons.ObjectAlreadyExistsExceptionIllegalAccessException
-
updateWidget
public Widget updateWidget(Widget widget, String username) throws org.exoplatform.commons.exception.ObjectNotFoundException, IllegalAccessException - Throws:
org.exoplatform.commons.exception.ObjectNotFoundExceptionIllegalAccessException
-
deleteWidget
public void deleteWidget(long widgetId, String username) throws org.exoplatform.commons.exception.ObjectNotFoundException, IllegalAccessException - Throws:
org.exoplatform.commons.exception.ObjectNotFoundExceptionIllegalAccessException
-