Class SiteSectionSelectorSection
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.SiteSectionSelectorSection
- All Implemented Interfaces:
SectionSelectorSection,SelectorSection,Section,CockpitEventAcceptor
Section represents CMSSite selector for WCMS Page Perspective. It is responsible for choosing particular
CMSSite in navigation area.
Note:
This is counterpart of
This is counterpart of
LiveSiteSectionSelectorSection that is used within Live Edit Perspective.
Important thing: sections aren't synchronized between each other (works independently)- See Also:
-
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 Areaprotected CMSAdminSiteServiceprotected CmsCockpitServicegetItems()Returns this selector's items.protected TypeServiceprotected voidInforms CMS about changes made by uservoidonCockpitEvent(CockpitEvent event) voidRefreshes current sectionvoidFires when selection was changedvoidsetCmsAdminSiteService(CMSAdminSiteService siteService) voidsetCmsCockpitService(CmsCockpitService cmsCockpitService) voidMethods 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, setSubSectionsMethods inherited from class de.hybris.platform.cockpit.components.navigationarea.AbstractSelectorSection
getNavigationAreaModel, getRenderer, getSelectedItem, getSelectedItems, isInitiallySelected, isItemActive, isMultiple, setInitiallySelected, setItems, setMultiple, setNavigationAreaModel, setSelectedItem, 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, setSelectedItem, setSelectedItems, setSelectedItemsDirectly
-
Constructor Details
-
SiteSectionSelectorSection
public SiteSectionSelectorSection()
-
-
Method Details
-
selectionChanged
public void selectionChanged()Fires when selection was changed Note:
Informs CMS about current selected objects, and refreshes proper view- 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:
-
updateItems
public void updateItems()- Overrides:
updateItemsin classDefaultSectionSelectorSection
-
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 -
informCmsAboutCurrentSiteChanged
protected void informCmsAboutCurrentSiteChanged()Informs CMS about changes made by user Note:
Informs about chosen CMSSite -
refreshView
public void refreshView()Description copied from interface:SectionSelectorSectionRefreshes current section- Specified by:
refreshViewin interfaceSectionSelectorSection- Overrides:
refreshViewin classDefaultSectionSelectorSection
-
setCmsAdminSiteService
-
getCmsAdminSiteService
-
getTypeService
-
getCmsCockpitService
-
setCmsCockpitService
-