public class CatalogNavigationArea extends BaseUICockpitNavigationArea
| Constructor and Description |
|---|
CatalogNavigationArea() |
| Modifier and Type | Method and Description |
|---|---|
int |
addToCollection(TypedObject item,
UICollectionQuery collection,
boolean multiDrag) |
protected CmsCatalogBrowserModel |
createRequiredBrowserModel() |
protected void |
displayMessage(java.lang.String message)
Displays Message Box with appropriate text.
|
protected java.util.List<PK> |
findMatchedPage(java.util.List<java.lang.String> uids)
Method that searches pages with appropriate codes
|
UISession |
getSession() |
void |
handlePasteOperation(java.lang.String rawContent,
UICollectionQuery collection)
Methods that handles paste requests
|
void |
onCockpitEvent(CockpitEvent event) |
ObjectCollection |
pasteItemToCollection(ObjectCollection collection,
java.util.List<java.lang.String> uids,
UserModel user)
Method that search products with appropriate code, and add them to given collection
|
void |
resetContext() |
void |
setCmsCatalogBrowserModelFactory(CmsCatalogBrowserModelFactory cmsCatalogBrowserModelFactory) |
void |
showAllPages() |
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, initialize, 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, update, updateContentSlotContainer, updateInfoSlotContaineraddAreaListener, addCockpitEventAcceptor, addSection, addSections, getHeaderURI, getListeners, getManagingPerspective, getPerspective, getSectionModel, getSectionRenderer, getViewURI, getWidth, isFocused, removeAllSections, removeAreaListener, removeCockpitEventAcceptor, removeSection, removeSections, setFocus, setHeaderURI, setPerspective, setSectionRenderer, setSections, setViewURI, setWidth, showAllSectionspublic void resetContext()
resetContext in interface UINavigationArearesetContext in class BaseUICockpitNavigationAreapublic void showAllPages()
protected CmsCatalogBrowserModel createRequiredBrowserModel()
public int addToCollection(TypedObject item, UICollectionQuery collection, boolean multiDrag)
addToCollection in class BaseUICockpitNavigationAreapublic void handlePasteOperation(java.lang.String rawContent,
UICollectionQuery collection)
handlePasteOperation in class BaseUICockpitNavigationArearawContent - paste contentcollection - object to which matched products will be addedpublic ObjectCollection pasteItemToCollection(ObjectCollection collection, java.util.List<java.lang.String> uids, UserModel user) throws CmsCockpitBusinessException
collection - given collectionuids - page codesuser - current logged userCmsCockpitBusinessExceptionprotected java.util.List<PK> findMatchedPage(java.util.List<java.lang.String> uids)
uids - given uidsprotected void displayMessage(java.lang.String message)
message - public UISession getSession()
public void onCockpitEvent(CockpitEvent event)
onCockpitEvent in interface CockpitEventAcceptoronCockpitEvent in class BaseUICockpitNavigationAreapublic void setCmsCatalogBrowserModelFactory(CmsCatalogBrowserModelFactory cmsCatalogBrowserModelFactory)
Copyright © 2018 SAP SE. All Rights Reserved.