public class OrganizerChip extends AbstractOrganizerChip implements ExplorerChip.ContentDockingListener, ComposedTypeChangeListener
| Modifier and Type | Field and Description |
|---|---|
static String |
CLOSE |
CHIP_KEY, FALSE, FRAME_KEY, SHOW_JSP_COMMENTS, TRUE, USE_SOCKET_NAMINGDISPLAY_EVENT, FILTERED_PREFIX| Constructor and Description |
|---|
OrganizerChip(DisplayState displayState,
Chip parent,
ComposedType type,
boolean considerSubtypes,
GenericLeafNodeChip leafNodeChip,
Map lockedValues) |
OrganizerChip(DisplayState displayState,
Chip parent,
ComposedType type,
boolean considerSubtypes,
GenericLeafNodeChip leafNodeChip,
Map lockedValues,
Comparator comparator)
OrganizerChips using a comparator will always show all elements (no range) and won't have the search tab
|
OrganizerChip(DisplayState displayState,
Chip parent,
ComposedType type,
GenericLeafNodeChip leafNodeChip,
Map lockedValues) |
OrganizerChip(DisplayState displayState,
Chip parent,
ComposedType type,
GenericLeafNodeChip leafNodeChip,
Map lockedValues,
Comparator comparator)
OrganizerChips using a comparator will always show all elements (no range) and won't have the search tab
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canDetach() |
void |
close() |
void |
composedTypeChanged(ComposedTypeChangeEvent event)
Notifies this chip of a searchtype change.
|
void |
contentHidden(ExplorerChip explorer)
Is called each time when this chip has been showing as explorer content but is replaced by another chip.
|
void |
contentRemoved(ExplorerChip explorer,
boolean external)
Called when this chip is no longer shown ( as explorer content or externally ) and is not re-used.
|
void |
contentShown(ExplorerChip explorer,
boolean external)
Is called each time this chip is either shown as new explorer content or as external window organizer.
|
void |
edit(Item item) |
String |
getJSPURI()
Returns the URI of the JSP that this chip wants to use.
|
GenericItemListChip |
getListChip() |
OrganizerListChip |
getResultListChip() |
OrganizerSearchChip |
getSearchChip() |
AbstractToolbarChip |
getToolbar() |
Collection |
getTypeEntries() |
protected void |
initialize() |
void |
processEvents(Map events)
Handles all incoming requests for this chip.
|
void |
reload() |
void |
search(AbstractSearchContainer searchContainer) |
void |
search(ComposedType type,
SearchContext ctx)
Deprecated.
please use setSearchComponent
|
void |
setToolbar(AbstractToolbarChip chip) |
addComponentChip, canHandleRequest, canHandleRequest, checkValid, containsEditor, createEditor, edit, editNext, editPrevious, getActiveComponentChip, getComparator, getComponentChips, getCreatorComponent, getDisplayParameters, getEditorComponent, getItemType, getLockedValues, getOrCreateEditor, getResultComponent, getSearchComponent, getTitle, handleRequest, handleRequest, hasNext, hasPrevious, isChanged, isChanged, isConsiderSubtypes, isPartOf, isSelected, processDisplayParameters, removeAllEditors, removeEditor, saveAll, setActiveComponentChip, setCreatorComponent, setPartOf, setResultComponent, setSearchComponent, showCreatorHolderaddEventListener, clearInfoMessages, clone, containsDisplayEvent, createMenuEntriesForJS, dispose, errorQueueEmpty, getClipboard, getCommandID, 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, refresh, refreshChild, registerUniqueName, removeEventListener, removeInfoMessage, render, render, setClipboard, setParent, setRequestFocus, setValid, setWindowStatus, translateFormFieldToEventName, translateFormFieldToEventValueequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddEventListener, dispose, getCommandID, getDisplayState, getEventID, getEventURL, getEventValue, getID, getJaloSession, getMenuEntries, getParent, getUniqueName, goFullScreen, isValid, leaveFullScreen, registerUniqueName, removeEventListener, render, translateFormFieldToEventName, translateFormFieldToEventValuepublic static final String CLOSE
public OrganizerChip(DisplayState displayState, Chip parent, ComposedType type, GenericLeafNodeChip leafNodeChip, Map lockedValues)
leafNodeChip - if created by a LeafNodeChip (not in a new window)lockedValues - values which can't be changed in the editor/creatorpublic OrganizerChip(DisplayState displayState, Chip parent, ComposedType type, boolean considerSubtypes, GenericLeafNodeChip leafNodeChip, Map lockedValues)
leafNodeChip - if created by a LeafNodeChip (not in a new window)lockedValues - values which can't be changed in the editor/creatorpublic OrganizerChip(DisplayState displayState, Chip parent, ComposedType type, GenericLeafNodeChip leafNodeChip, Map lockedValues, Comparator comparator)
leafNodeChip - if created by a LeafNodeChip (not in a new window)lockedValues - values which can't be changed in the editor/creatorcomparator - the comparator which will be used to sort the resultspublic OrganizerChip(DisplayState displayState, Chip parent, ComposedType type, boolean considerSubtypes, GenericLeafNodeChip leafNodeChip, Map lockedValues, Comparator comparator)
leafNodeChip - if created by a LeafNodeChip (not in a new window)lockedValues - values which can't be changed in the editor/creatorcomparator - the comparator which will be used to sort the resultsprotected void initialize()
initialize in class AbstractOrganizerChippublic Collection getTypeEntries()
public String getJSPURI()
Chippublic void search(AbstractSearchContainer searchContainer)
@Deprecated public void search(ComposedType type, SearchContext ctx)
type - ctx - public void processEvents(Map events)
processEvents in interface Chippublic void close()
public boolean canDetach()
public OrganizerListChip getResultListChip()
public OrganizerSearchChip getSearchChip()
public void reload()
reload in class AbstractOrganizerChippublic void edit(Item item)
edit in class AbstractOrganizerChippublic GenericItemListChip getListChip()
getListChip in class AbstractOrganizerChippublic final void setToolbar(AbstractToolbarChip chip)
public final AbstractToolbarChip getToolbar()
public void contentShown(ExplorerChip explorer, boolean external)
ExplorerChip.ContentDockingListenercontentShown in interface ExplorerChip.ContentDockingListenerexplorer - the explorer chipexternal - whether or not this chip is shown within a window of its ownpublic void contentHidden(ExplorerChip explorer)
ExplorerChip.ContentDockingListenercontentHidden in interface ExplorerChip.ContentDockingListenerexplorer - the explorer chippublic void contentRemoved(ExplorerChip explorer, boolean external)
ExplorerChip.ContentDockingListenercontentRemoved in interface ExplorerChip.ContentDockingListenerexplorer - the explorer chipexternal - whether or not this chip is shown within a window of its ownpublic void composedTypeChanged(ComposedTypeChangeEvent event)
composedTypeChanged in interface ComposedTypeChangeListenerComposedTypeChangeListener.composedTypeChanged(de.hybris.platform.hmc.generic.ComposedTypeChangeEvent)Copyright © 2017 SAP SE. All Rights Reserved.