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
public class NavigationArea extends BaseUICockpitNavigationArea
-
-
Constructor Summary
Constructors Constructor Description NavigationArea()
-
Method Summary
-
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, updateInfoSlotContainer
-
Methods 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
-
-
-
-
Method Detail
-
initialize
public void initialize(java.util.Map<java.lang.String,java.lang.Object> params)
Description copied from class:BaseUICockpitNavigationAreaInitializes this navigation area by callingSectionPanelModel.initialize().- Specified by:
initializein interfaceUICockpitArea- Specified by:
initializein interfaceUIComponent- Overrides:
initializein classBaseUICockpitNavigationArea- See Also:
SectionPanelModel.initialize()
-
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:
AbstractUINavigationArea.update()
-
getCollectionQuery
public UICollectionQuery getCollectionQuery(ObjectCollection coll)
-
getSelectedCatalogVersions
public java.util.Collection<CatalogVersionModel> getSelectedCatalogVersions()
-
getSelectedCategories
public java.util.Collection<CategoryModel> getSelectedCategories()
-
getSectionModel
public SectionPanelModel getSectionModel()
- Specified by:
getSectionModelin interfaceUINavigationArea- Overrides:
getSectionModelin classAbstractUINavigationArea
-
setSelectedCatalogItems
public void setSelectedCatalogItems(java.util.Collection<CatalogVersionModel> versions, java.util.Collection<CategoryModel> categories, boolean doubleClicked)
-
saveQuery
public void saveQuery(SearchBrowserModel searchBrowser)
-
getProductCockpitCatalogService
public CatalogService getProductCockpitCatalogService()
-
setProductCockpitCatalogService
public void setProductCockpitCatalogService(CatalogService productCockpitCatalogService)
-
getSession
public UISession getSession()
-
handlePasteOperation
public void handlePasteOperation(java.lang.String rawContent, UICollectionQuery collection)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, java.util.List<java.lang.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
public UICockpitPerspective 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
public void onCockpitEvent(CockpitEvent event)
- Specified by:
onCockpitEventin interfaceCockpitEventAcceptor- Overrides:
onCockpitEventin classBaseUICockpitNavigationArea
-
-