public interface WidgetService
Widget
sModifier and Type | Method and Description |
---|---|
List<Widget> |
findAllActiveWidgets() |
List<Widget> |
findAllCurrentlyUsedWidgets()
Returns a list of widgets such that each widget in the list is used by at least
one
ContentItem . |
List<ContentItem> |
findContentItemsByWidgetId(Long id)
Finds all Content Items which use the Widget by its internal database id
|
Widget |
findWidgetById(Long id)
Finds a Widget instance by its internal database id
|
Widget |
saveWidget(Widget widget)
Persists the given widget to the database.
|
List<Widget> findAllActiveWidgets()
List<Widget> findAllCurrentlyUsedWidgets()
ContentItem
.Widget findWidgetById(Long id)
id
- Widget
List<ContentItem> findContentItemsByWidgetId(Long id)
id
- Item
sCopyright © 2016. All rights reserved.