Class WebsiteCatalogVersionSelectorSection
java.lang.Object
de.hybris.platform.cockpit.components.navigationarea.NavigationPanelSection
de.hybris.platform.cockpit.components.navigationarea.AbstractSelectorSection
de.hybris.platform.cockpit.components.navigationarea.DefaultSectionSelectorSection
de.hybris.platform.cmscockpit.components.sectionpanel.WebsiteCatalogVersionSelectorSection
- All Implemented Interfaces:
SectionSelectorSection,SelectorSection,Section,CockpitEventAcceptor
Section represents content catalog version selector for WCMS Navigation Perspective. It is responsible for
choosing particular content catalog version in navigation area.
Note:
Similar sections are used in other perspective like
Similar sections are used in other perspective like
WCMS Page Perspective or
WCMS Live Edit Perspective Important thing: sections aren't synchronized between each other (works
independently)-
Field Summary
Fields inherited from class de.hybris.platform.cockpit.components.navigationarea.DefaultSectionSelectorSection
multiselect, parentSection, relatedObject, relatedObjects, subSectionsFields inherited from class de.hybris.platform.cockpit.components.navigationarea.AbstractSelectorSection
selectedItems -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidChecks whether something is activated within Editor Area if so then we deselect this value and close Editor AreagetItems()Returns this selector's items.protected TypeServiceprotected CatalogVersionModelInforms CMS about changes made by uservoidonCockpitEvent(CockpitEvent event) voidRefreshes current sectionvoidFires when selection was changedprotected voidsetAsVisible(UIBrowserArea browserArea, BrowserModel browserModel) Sets given Browser Model as visible one.voidsetSelectedItem(TypedObject selectedItem) Sets the selector's selected item toselectedItemMethods inherited from class de.hybris.platform.cockpit.components.navigationarea.DefaultSectionSelectorSection
addToRelatedObjects, clear, disable, disableSubSections, enable, enableSubSections, getParentSection, getRelatedObject, getRelatedObjects, getRootSection, getSubSections, isMultiselect, isSubSectionsVisible, removeToRelatedObjects, setMultiselect, setParentSection, setRelatedObject, setRelatedObjects, setSubSections, updateItemsMethods inherited from class de.hybris.platform.cockpit.components.navigationarea.AbstractSelectorSection
getNavigationAreaModel, getRenderer, getSelectedItem, getSelectedItems, isInitiallySelected, isItemActive, isMultiple, setInitiallySelected, setItems, setMultiple, setNavigationAreaModel, setSelectedItems, setSelectedItemsDirectly, wrapItemsMethods inherited from class de.hybris.platform.cockpit.components.navigationarea.NavigationPanelSection
getAttribute, getLabel, getLocalizedLabel, isInitialOpen, isOpen, isTabbed, isVisible, setAttribute, setLabel, setLocalizedLabel, setOpen, setRenderer, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.cockpit.components.sectionpanel.Section
getLabel, getLocalizedLabel, isInitialOpen, isOpen, isTabbed, isVisible, setOpenMethods inherited from interface de.hybris.platform.cockpit.components.navigationarea.SelectorSection
getSelectedItem, getSelectedItems, isInitiallySelected, isItemActive, isMultiple, setInitiallySelected, setItems, setMultiple, setSelectedItems, setSelectedItemsDirectly
-
Constructor Details
-
WebsiteCatalogVersionSelectorSection
public WebsiteCatalogVersionSelectorSection()
-
-
Method Details
-
selectionChanged
public void selectionChanged()Fires when selection was changed Note:
Informs CMS about current selected objects, and refreshes proper area- Specified by:
selectionChangedin interfaceSelectorSection- Overrides:
selectionChangedin classDefaultSectionSelectorSection
-
getItems
Returns this selector's items. Note: Items and selected items are implicitly loaded the first time this method is called.- Specified by:
getItemsin interfaceSelectorSection- Overrides:
getItemsin classAbstractSelectorSection- Returns:
- this selector's items
- See Also:
-
onCockpitEvent
- Specified by:
onCockpitEventin interfaceCockpitEventAcceptor- Overrides:
onCockpitEventin classAbstractSelectorSection
-
closeEditorArea
protected void closeEditorArea()Checks whether something is activated within Editor Area if so then we deselect this value and close Editor Area -
setAsVisible
Sets given Browser Model as visible one.- Parameters:
browserArea- current Browser AreabrowserModel- current Browser Model
-
informBrowserAreaAboutCurrentCatalogVersion
Informs CMS about changes made by user Note:
Informs about chosen catalog version and correct CMSSite -
refreshView
public void refreshView()Description copied from interface:SectionSelectorSectionRefreshes current section- Specified by:
refreshViewin interfaceSectionSelectorSection- Overrides:
refreshViewin classDefaultSectionSelectorSection
-
setSelectedItem
Description copied from interface:SelectorSectionSets the selector's selected item toselectedItem- Specified by:
setSelectedItemin interfaceSelectorSection- Overrides:
setSelectedItemin classAbstractSelectorSection- Parameters:
selectedItem- the selected item
-
getTypeService
-