Class PageListSidebarWidget
java.lang.Object
io.goobi.viewer.model.cms.widgets.CustomSidebarWidget
io.goobi.viewer.model.cms.widgets.PageListSidebarWidget
- All Implemented Interfaces:
IPolyglott,Serializable
A subtype of
CustomSidebarWidget to display a list of links to CMS pages.- Author:
- Florian Alpers
- See Also:
-
Field Summary
Fields inherited from class io.goobi.viewer.model.cms.widgets.CustomSidebarWidget
id -
Constructor Summary
ConstructorsConstructorDescriptionEmpty default constructor.Cloning constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetType()Return the type of this custom sidebar widget.voidsetPageIds(List<Long> pageIds) set the list of ids of listedCMSPages.Methods inherited from class io.goobi.viewer.model.cms.widgets.CustomSidebarWidget
clone, getAdminBackendUrl, getDescription, getId, getSelectedLocale, getShortDescription, getStyleClass, getTitle, isCollapsed, isComplete, isEmpty, isHasShortDescription, isValid, setCollapsed, setId, setSelectedLocale, setStyleClass, setTitleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.goobi.viewer.model.translations.IPolyglott
getLocales, isDefaultLocaleSelected, isSelected, setSelectedLocale
-
Constructor Details
-
PageListSidebarWidget
public PageListSidebarWidget()Empty default constructor. -
PageListSidebarWidget
Cloning constructor.- Parameters:
o- the widget to copy from
-
-
Method Details
-
getPageIds
- Returns:
- the ids of the listed
CMSPages
-
setPageIds
set the list of ids of listedCMSPages.- Parameters:
pageIds- list of CMS page IDs to display
-
getPageList
- Returns:
- a listing of the ids of linked
CMSPages
-
getType
Description copied from class:CustomSidebarWidgetReturn the type of this custom sidebar widget. Must be implemented by subclasses ofCustomSidebarWidget- Overrides:
getTypein classCustomSidebarWidget- Returns:
CustomWidgetType
-