public class GenericItemChip extends ItemChip
| Modifier and Type | Class and Description |
|---|---|
protected class |
GenericItemChip.GenericItemEditorContext
The editor context implementation for non-wizard items.
|
protected class |
GenericItemChip.GenericWizardEditorContext
The editor context implementation for wizard items.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
OPEN_ORGANIZER |
static String |
REFRESH |
static String |
VALIDATE |
CLOSE, COPY, DELETE_AND_CLOSE, editorNode, REMOVE_FAILEDACCESS, SAVE, SAVE_AND_CLOSE, theItemCHIP_KEY, FALSE, FRAME_KEY, SHOW_JSP_COMMENTS, TRUE, USE_SOCKET_NAMINGDISPLAY_EVENT, FILTERED_PREFIX| Constructor and Description |
|---|
GenericItemChip(EditorNode node,
DisplayState displayState,
Chip parent,
Item item,
boolean asWizard) |
GenericItemChip(EditorNode node,
DisplayState displayState,
ComposedType type,
Item item,
boolean asWizard)
Creates a new item editor chip.
|
checkValid, close, copyItemToClipboard, getChildren, getEditor, getEditorNode, getEssentials, getFooter, getItem, getItemType, getItemTypeCode, getJSPURI, getLockedAttributes, getModalAttribute, getModalLanguage, getModalOpener, getPresetAttributeName, getToolbar, hasEssentials, hasFooter, isLocked, isPartOf, processEvents, readInitialValues, save, setEssentials, setItem, setItemType, setLockedAttributes, setModalReference, setModalReference, setPartOf, setPresetAttributeName, setToolbaraddEventListener, clearInfoMessages, clone, containsDisplayEvent, createMenuEntriesForJS, dispose, errorQueueEmpty, getClipboard, getCommandID, getDisplayParameters, getDisplayState, getEventID, getEventURL, getEventValue, getFrame, getID, getInfoMessages, getJaloSession, getLocalizedString, getLocalizedString, getLogger, getMenuEntries, getNameSpace, getNameSpaceFor, getParent, getProposedUniqueName, getProposedUniqueNameFor, getRequestFocus, getSessionIdentifier, getStringValue, getUniqueName, getWindow, goFullScreen, hasVisibleContextMenuEntries, isButtonPushed, isButtonPushed, isErrorQueueEmpty, isValid, leaveFullScreen, notifyEventListeners, notifyEventListeners, postErrorMessage, postInfoMessage, postWindowEvent, refreshChild, registerUniqueName, removeEventListener, removeInfoMessage, render, render, setClipboard, setParent, setRequestFocus, setValid, setWindowStatus, translateFormFieldToEventName, translateFormFieldToEventValueequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddEventListener, dispose, getCommandID, getDisplayParameters, getDisplayState, getEventID, getEventURL, getEventValue, getID, getJaloSession, getMenuEntries, getParent, getUniqueName, goFullScreen, isValid, leaveFullScreen, registerUniqueName, removeEventListener, render, translateFormFieldToEventName, translateFormFieldToEventValuepublic static final String REFRESH
public static final String OPEN_ORGANIZER
public static final String VALIDATE
public GenericItemChip(EditorNode node, DisplayState displayState, ComposedType type, Item item, boolean asWizard)
public GenericItemChip(EditorNode node, DisplayState displayState, Chip parent, Item item, boolean asWizard)
public void initialize()
initialize in class ItemChipprotected AbstractEditorMenuChip createEditor()
createEditor in class ItemChippublic boolean isWizard()
public WizardBusinessItem getWizardBusinessItem()
public boolean isSingleton()
public ItemEditorContext getEditorContext()
getEditorContext in class ItemChippublic List getActionChips()
public void registerActionChip(ItemActionChip actionChip)
protected void addItemActionToToolbar(ItemActionChip actionChip)
protected void configureSingletonToolbar(AbstractToolbarChip toolBar, DisplayState displayState)
protected void configureItemToolbar(AbstractToolbarChip toolBar, DisplayState displayState)
protected void configureWizardToolbar(AbstractToolbarChip toolBar, DisplayState displayState)
protected RefreshIntervalToolbarActionChip getRefreshChip()
protected boolean isShownExternally()
public AbstractToolbarChip createFooter()
createFooter in class ItemChippublic AbstractToolbarChip createToolbar()
createToolbar in interface ToolbarProvidercreateToolbar in class ItemChippublic void showEditor()
ItemChipItemChip.createToolbar(), ItemChip.createEditor(), {link #setEssentials(SpecialSaveChip)}. Here the window to get
via (@link #getWindow()} has to be configured and opened too.showEditor in class ItemChippublic void showEditor(boolean calledFromMainWindow)
protected Map getAttributeValues() throws JaloBusinessException
de.hybris.platform.util.collections.CaseInsensitiveMap or other
caseinsensitive implementations.JaloBusinessExceptionprotected Map getAllAttributeValues() throws JaloBusinessException
de.hybris.platform.util.collections.CaseInsensitiveMap or other
caseinsensitive implementations.JaloBusinessExceptionpublic void performSave()
performSave in class ItemChipprotected Map getSpecialSaveChips()
SpecialSaveChips and
returns them in a Map [attributequalifier -> chip].protected Collection getChangeIndicatorChips()
ChangeIndicators and returns them..public SpecialEditor getSpecialEditor(String qualifier)
protected Map getAttributeChips()
public AttributeChip getAttributeChip(String qualifier)
public void refresh()
WizardBusinessItem.pollStatus(WizardEditorContext).refresh in class AbstractChipprotected void reload(String attributeName)
protected void reload(Collection attributeNames)
protected void clearAllErrors()
public void openOrganizer()
protected ProgressToolbarActionChip getProgressBar()
protected void setProgressBar(ProgressToolbarActionChip chip)
protected Map getWizardButtons()
protected void addWizardButton(String buttonName, AbstractToolbarActionChip actionChip)
protected AbstractToolbarActionChip getWizardButton(String buttonName)
public String getCloseErrorMessage()
public boolean computeChanges()
Copyright © 2017 SAP SE. All Rights Reserved.