| Modifier and Type | Field and Description |
|---|---|
protected javax.persistence.EntityManager |
em |
| Constructor and Description |
|---|
WidgetDaoImpl() |
| Modifier and Type | Method and Description |
|---|---|
List<Widget> |
readAllActiveWidgets() |
List<Widget> |
readAllCurrentlyUsedWidgets()
Returns a list of widgets such that each widget in the list is used by at least
one
ContentItem. |
List<StructuredContentTypeWidgetXref> |
readAllStructuredContentTypeWidgetXrefs() |
List<ContentItem> |
readContentItemsByWidgetId(Long id)
Finds all Content Items which use the Widget by its internal database id
|
Widget |
readWidgetById(Long id) |
Widget |
saveWidget(Widget widget) |
public Widget readWidgetById(Long id)
readWidgetById in interface WidgetDaopublic Widget saveWidget(Widget widget)
saveWidget in interface WidgetDaopublic List<Widget> readAllActiveWidgets()
readAllActiveWidgets in interface WidgetDaopublic List<StructuredContentTypeWidgetXref> readAllStructuredContentTypeWidgetXrefs()
readAllStructuredContentTypeWidgetXrefs in interface WidgetDaopublic List<Widget> readAllCurrentlyUsedWidgets()
WidgetDaoContentItem.readAllCurrentlyUsedWidgets in interface WidgetDaopublic List<ContentItem> readContentItemsByWidgetId(Long id)
WidgetDaoreadContentItemsByWidgetId in interface WidgetDaoItemsCopyright © 2020. All rights reserved.