Class NavigationArea
java.lang.Object
de.hybris.platform.cockpit.session.impl.AbstractUINavigationArea
de.hybris.platform.cockpit.session.impl.BaseUICockpitNavigationArea
de.hybris.platform.productcockpit.session.impl.NavigationArea
- All Implemented Interfaces:
CockpitEventAcceptor,CockpitEventProducer,FocusablePerspectiveArea,UICockpitArea,UIComponent,UINavigationArea
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidfireCatalogItemSelectionChanged(boolean doubleClicked) intvoidhandlePasteOperation(String rawContent, UICollectionQuery collection) Methods that handles paste requestsvoidinitialize(Map<String, Object> params) Initializes this navigation area by callingSectionPanelModel.initialize().booleanvoidonCockpitEvent(CockpitEvent event) pasteProductToCollection(ObjectCollection collection, List<String> codes, UserModel user) Method that search products with appropiate code, and add them to given collectionvoidvoidsaveQuery(SearchBrowserModel searchBrowser) protected voidvoidsetCategoryLevel(int categoryLevel) voidsetProductCockpitCatalogService(CatalogService productCockpitCatalogService) voidsetSelectedCatalogItems(Collection<CatalogVersionModel> versions, Collection<CategoryModel> categories, boolean doubleClicked) voidupdate()Updates this navigation area by callingBaseUICockpitNavigationArea.updateContentSlotContainer(),BaseUICockpitNavigationArea.updateInfoSlotContainer()andSectionPanelModel.update().Methods inherited from class de.hybris.platform.cockpit.session.impl.BaseUICockpitNavigationArea
addToCollection, clearQuerySelection, clearSelectedIndexes, duplicateQuery, fireBrowserTaskSelected, fireCollectionAdded, fireCollectionChanged, fireCollectionDoubleClicked, fireCollectionSelected, fireDynamicQueryDoubleClicked, fireDynamicQuerySelected, fireSavedQueryChanged, fireSavedQueryDoubleClicked, fireSavedQuerySelected, getContentSlotContainer, getContentSlotLabel, getContentSlotRenderer, getDynamicQueryService, getInfoSlotAttachmentTypes, getInfoSlotContainer, getInfoSlotLabel, getInfoSlotRenderer, getLabel, getObjectCollectionService, getPushInfoBoxEventClassName, getSavedQueryService, getSelectedBrowserTask, getSelectedCollection, getSelectedDynamicQuery, getSelectedIndex, getSelectedSavedQuery, getTypeService, isPushInfoBox, publishCollection, publishSavedQuery, removeQuery, renameCollection, renameSavedQuery, setCockpitTypeService, setContentSlotContainer, setContentSlotI3Label, setContentSlotLabel, setContentSlotRenderer, setDynamicQueryService, setInfoSlotAttachmentTypes, setInfoSlotContainer, setInfoSlotI3Label, setInfoSlotLabel, setInfoSlotRenderer, setModelService, setObjectCollectionService, setPushInfoBox, setPushInfoBoxEventClassName, setSavedQueryService, setSectionModel, setSelectedBrowserTask, setSelectedCollection, setSelectedDynamicQuery, setSelectedIndex, setSelectedQuery, setSelectedQuery, setSelectedSavedQuery, setUiComponentCache, setUiConfigurationService, updateContentSlotContainer, updateInfoSlotContainerMethods inherited from class de.hybris.platform.cockpit.session.impl.AbstractUINavigationArea
addAreaListener, addCockpitEventAcceptor, addSection, addSections, getHeaderURI, getListeners, getPerspective, getSectionRenderer, getViewURI, getWidth, removeAllSections, removeAreaListener, removeCockpitEventAcceptor, removeSection, removeSections, setFocus, setHeaderURI, setPerspective, setSectionRenderer, setSections, setViewURI, setWidth, showAllSections
-
Constructor Details
-
NavigationArea
public NavigationArea()
-
-
Method Details
-
initialize
Description copied from class:BaseUICockpitNavigationAreaInitializes this navigation area by callingSectionPanelModel.initialize().- Specified by:
initializein interfaceUICockpitArea- Specified by:
initializein interfaceUIComponent- Overrides:
initializein classBaseUICockpitNavigationArea- See Also:
-
update
public void update()Description copied from class:BaseUICockpitNavigationAreaUpdates this navigation area by callingBaseUICockpitNavigationArea.updateContentSlotContainer(),BaseUICockpitNavigationArea.updateInfoSlotContainer()andSectionPanelModel.update().- Specified by:
updatein interfaceUICockpitArea- Overrides:
updatein classBaseUICockpitNavigationArea- See Also:
-
getCollectionQuery
-
getSelectedCatalogVersions
-
getSelectedCategories
-
getSectionModel
- Specified by:
getSectionModelin interfaceUINavigationArea- Overrides:
getSectionModelin classAbstractUINavigationArea
-
setSelectedCatalogItems
public void setSelectedCatalogItems(Collection<CatalogVersionModel> versions, Collection<CategoryModel> categories, boolean doubleClicked) -
saveQuery
-
getProductCockpitCatalogService
-
setProductCockpitCatalogService
-
getSession
-
handlePasteOperation
Methods that handles paste requests- Overrides:
handlePasteOperationin classBaseUICockpitNavigationArea- Parameters:
rawContent- paste contentcollection- object to which matched products will be added
-
pasteProductToCollection
public ObjectCollection pasteProductToCollection(ObjectCollection collection, List<String> codes, UserModel user) throws ProductCockpitBusinessException Method that search products with appropiate code, and add them to given collection- Parameters:
collection- given collectioncodes- product codesuser- current logged user- Returns:
- collection to which we add a products
- Throws:
ProductCockpitBusinessException
-
fireCatalogItemSelectionChanged
protected void fireCatalogItemSelectionChanged(boolean doubleClicked) -
getCategoryLevel
public int getCategoryLevel() -
setCategoryLevel
public void setCategoryLevel(int categoryLevel) -
getManagingPerspective
- Specified by:
getManagingPerspectivein interfaceFocusablePerspectiveArea- Overrides:
getManagingPerspectivein classAbstractUINavigationArea
-
isFocused
public boolean isFocused()- Specified by:
isFocusedin interfaceFocusablePerspectiveArea- Overrides:
isFocusedin classAbstractUINavigationArea
-
resetContext
public void resetContext()- Specified by:
resetContextin interfaceUINavigationArea- Overrides:
resetContextin classBaseUICockpitNavigationArea
-
setAllProductVisible
protected void setAllProductVisible() -
onCockpitEvent
- Specified by:
onCockpitEventin interfaceCockpitEventAcceptor- Overrides:
onCockpitEventin classBaseUICockpitNavigationArea
-