Class CMSSidebarElementCustom
java.lang.Object
io.goobi.viewer.model.cms.widgets.embed.CMSSidebarElement
io.goobi.viewer.model.cms.widgets.embed.CMSSidebarElementCustom
- All Implemented Interfaces:
Serializable
Wrapper element for custom (user created) sidebar widgets. Linked to an instance of
CustomSidebarWidget
providing the data to display- Author:
- florian
- See Also:
-
Field Summary
Fields inherited from class io.goobi.viewer.model.cms.widgets.embed.CMSSidebarElement
HASH_MULTIPLIER, WIDGET_TYPE_AUTOMATIC, WIDGET_TYPE_CUSTOM, WIDGET_TYPE_DEFAULT
-
Constructor Summary
ConstructorDescriptionEmpty contructor for the DAOCMSSidebarElementCustom
(CustomSidebarWidget widget, CMSPage owner) Default constructor for aCustomSidebarWidget
providing the data and an owningCMSPage
CMSSidebarElementCustom
(CustomSidebarWidget widget, CMSPageTemplate owner) CMSSidebarElementCustom
(CMSSidebarElementCustom orig, CMSPage owner) Cloning constructor with a CMSPage to set as owner -
Method Summary
Modifier and TypeMethodDescriptiongetTitle()
Get the title of the underlying widgetGet theCustomSidebarWidget
providing the datavoid
setWidget
(CustomSidebarWidget widget) Methods inherited from class io.goobi.viewer.model.cms.widgets.embed.CMSSidebarElement
copy, copy, getContentType, getGenerationType, getId, getOrder, getOwnerPage, getOwnerTemplate, setContentType, setGenerationType, setId, setOrder, setOwnerPage, setOwnerTemplate
-
Constructor Details
-
CMSSidebarElementCustom
public CMSSidebarElementCustom()Empty contructor for the DAO -
CMSSidebarElementCustom
Default constructor for aCustomSidebarWidget
providing the data and an owningCMSPage
- Parameters:
widget
-owner
-
-
CMSSidebarElementCustom
-
CMSSidebarElementCustom
Cloning constructor with a CMSPage to set as owner- Parameters:
orig
-owner
-
-
CMSSidebarElementCustom
-
-
Method Details
-
getWidget
Get theCustomSidebarWidget
providing the data- Returns:
- the widget
-
setWidget
- Parameters:
widget
-
-
getTitle
Get the title of the underlying widget- Overrides:
getTitle
in classCMSSidebarElement
- Returns:
- the title
-