Package io.goobi.viewer.model.cms
Class SelectableNavigationItem
java.lang.Object
io.goobi.viewer.model.cms.CMSNavigationItem
io.goobi.viewer.model.cms.SelectableNavigationItem
- All Implemented Interfaces:
Serializable
,Comparable<CMSNavigationItem>
A
CMSNavigationItem
which can be selected and deselected. Used for selecting available NavigationItems
to be used in the navigation menu- Author:
- Florian Alpers
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.goobi.viewer.model.cms.CMSNavigationItem
CMSNavigationItem.DisplayRule
-
Constructor Summary
ConstructorDescriptionConstructor for SelectableNavigationItem.SelectableNavigationItem
(CMSNavigationItem original) Constructor for SelectableNavigationItem.SelectableNavigationItem
(CMSPage cmsPage) Constructor for SelectableNavigationItem.SelectableNavigationItem
(String targetUrl, String label) Constructor for SelectableNavigationItem. -
Method Summary
Modifier and TypeMethodDescriptionboolean
isSelected.void
setSelected
(boolean selected) Setter for the fieldselected
.Methods inherited from class io.goobi.viewer.model.cms.CMSNavigationItem
addChildItem, compareTo, equals, getActiveChildItems, getAssociatedSubtheme, getAssociatedTheme, getChildItems, getCmsPage, getDisplayRule, getId, getItemLabel, getLevel, getMeWithDescendants, getNavigationUrl, getOrder, getPageUrl, getParentItem, getSortingListId, hasCmsPage, hasDeletedCmsPage, hashCode, hasUnpublishedCmsPage, isAbsoluteLink, isAssociatedWithSubtheme, isDisplayForAdminsOnly, isDisplayForUsersOnly, isEnabled, isOpenInNewWindow, isShouldDisplay, isValid, isVisible, matchesLabel, matchesPage, removeChildItem, setAbsoluteLink, setAssociatedTheme, setChildItems, setCmsPage, setDisplayForAdminsOnly, setDisplayForUsersOnly, setDisplayRule, setId, setItemLabel, setOpenInNewWindow, setOrder, setPageUrl, setParentItem, setSortingListId, toString
-
Constructor Details
-
SelectableNavigationItem
public SelectableNavigationItem()Constructor for SelectableNavigationItem.
-
SelectableNavigationItem
Constructor for SelectableNavigationItem.
- Parameters:
cmsPage
- aCMSPage
object.
-
SelectableNavigationItem
Constructor for SelectableNavigationItem.
-
-
Method Details
-
setSelected
public void setSelected(boolean selected) Setter for the field
selected
.- Parameters:
selected
- the selected to set
-
isSelected
public boolean isSelected()isSelected.
- Returns:
- the selected
-