public class B2BCommerceHMCExtension extends HMCExtension
| Modifier and Type | Field and Description |
|---|---|
static String |
RESOURCE_PATH
Path to the resource bundles.
|
| Constructor and Description |
|---|
B2BCommerceHMCExtension() |
| Modifier and Type | Method and Description |
|---|---|
ActionResult |
beforeSave(Item item,
DisplayState displayState,
Map currentValues,
Map initialValues)
The maps currentValues and initialValues can be used to implement filtering of values, which must not be saved.
|
List<EditorTabChip> |
getEditorTabChips(DisplayState displayState,
AbstractEditorMenuChip parent) |
ResourceBundle |
getLocalizeResourceBundle(Locale locale)
Should return the resource bundle for the extension and the given locale.
|
List<MenuEntrySlotEntry> |
getMenuEntrySlotEntries(DisplayState displayState,
Chip parent) |
String |
getResourcePath()
Should return the path to the resource bundle.
|
List<ClipChip> |
getSectionChips(DisplayState displayState,
ClipChip parent) |
List<ToolbarActionChip> |
getToolbarActionChips(DisplayState displayState,
Chip parent) |
List<AbstractExplorerMenuTreeNodeChip> |
getTreeNodeChips(DisplayState displayState,
Chip parent) |
adjustEditorConfiguration, adjustToolbarActionChips, afterCreate, afterRemove, afterSave, afterSave, beforeCreate, beforeRemove, notifySessionBeginpublic static final String RESOURCE_PATH
public List<AbstractExplorerMenuTreeNodeChip> getTreeNodeChips(DisplayState displayState, Chip parent)
getTreeNodeChips in class HMCExtensiondisplayState - the current DisplayStateparent - the parent AbstractExplorerMenuTreeNodeChipAbstractExplorerMenuTreeNodeChips.HMCExtension.getTreeNodeChips(de.hybris.platform.hmc.webchips.DisplayState,
de.hybris.platform.hmc.webchips.Chip)public List<MenuEntrySlotEntry> getMenuEntrySlotEntries(DisplayState displayState, Chip parent)
getMenuEntrySlotEntries in class HMCExtensiondisplayState - the current DisplayStateparent - the parent ChipMenuEntrySlotEntry.HMCExtension.getMenuEntrySlotEntries(de.hybris.platform.hmc.webchips.DisplayState,
de.hybris.platform.hmc.webchips.Chip)public List<ClipChip> getSectionChips(DisplayState displayState, ClipChip parent)
getSectionChips in class HMCExtensiondisplayState - the current DisplayStateparent - the parent ClipChipClipChips.HMCExtension.getSectionChips(de.hybris.platform.hmc.webchips.DisplayState,
de.hybris.platform.hmc.generic.ClipChip)public List<EditorTabChip> getEditorTabChips(DisplayState displayState, AbstractEditorMenuChip parent)
getEditorTabChips in class HMCExtensiondisplayState - the current DisplayStateparent - the parent AbstractEditorMenuChipEditorTabChippublic List<ToolbarActionChip> getToolbarActionChips(DisplayState displayState, Chip parent)
getToolbarActionChips in class HMCExtensiondisplayState - the current DisplayStateparent - the parent ChipToolbarActionChips.HMCExtension.getToolbarActionChips(de.hybris.platform.hmc.webchips.DisplayState,
de.hybris.platform.hmc.webchips.Chip)public ResourceBundle getLocalizeResourceBundle(Locale locale)
HMCExtensionMissingResourceException.getLocalizeResourceBundle in class HMCExtensionNULL.public String getResourcePath()
HMCExtensiongetResourcePath in class HMCExtensionpublic ActionResult beforeSave(Item item, DisplayState displayState, Map currentValues, Map initialValues)
HMCExtensionbeforeSave in class HMCExtensionitem - Item which attributes should be saved.displayState - DisplayStatecurrentValues - Map containing all current attribute values. (Mapping: AttributeQualifier -> Value) Note:
AttributeQualifier should always be treated caseinsensitive. Use
de.hybris.platform.util.collections.CaseInsensitiveMap or other caseinsensitive
implementations.initialValues - Map containing all initial attribute values. (Mapping: AttributeQualifier -> Value) Note:
AttributeQualifier should always be treated caseinsensitive. Use
de.hybris.platform.util.collections.CaseInsensitiveMap or other caseinsensitive
implementations.Copyright © 2017 SAP SE. All Rights Reserved.