public abstract class AbstractOrganizerChip extends AbstractChip implements TypedChip, DisplayRequestHandler, SearchRequestHandler
CHIP_KEY, FALSE, FRAME_KEY, SHOW_JSP_COMMENTS, TRUE, USE_SOCKET_NAMINGDISPLAY_EVENT, FILTERED_PREFIX| Constructor and Description |
|---|
AbstractOrganizerChip(DisplayState displayState,
Chip parent,
ComposedType type,
boolean considerSubtypes,
Map lockedValues,
Comparator comparator) |
AbstractOrganizerChip(DisplayState displayState,
Chip parent,
ComposedType type,
Map lockedValues) |
| Modifier and Type | Method and Description |
|---|---|
void |
addComponentChip(OrganizerComponentChip chip) |
boolean |
canHandleRequest(DisplayRequest request) |
boolean |
canHandleRequest(SearchRequest request)
Implementation of SearchRequestHandler interface.
|
void |
checkValid()
Gives the chip the possibility to check if its objects are still valid.
|
boolean |
containsEditor(Item item) |
protected OrganizerItemChip |
createEditor(Chip parent,
Item item) |
protected void |
edit(Item item) |
protected void |
edit(Item item,
String tabName) |
protected void |
editNext(Item item)
Sets the editor to the next item after the given one.
|
protected void |
editPrevious(Item item)
Sets the editor to the previous item before the given one.
|
OrganizerComponentChip |
getActiveComponentChip() |
protected Comparator |
getComparator() |
List |
getComponentChips() |
OrganizerComponentChip |
getCreatorComponent() |
String |
getDisplayParameters()
The default implementation returns
Null since this feature is not supported by default. |
OrganizerComponentChip |
getEditorComponent() |
ComposedType |
getItemType() |
abstract GenericItemListChip |
getListChip() |
Map |
getLockedValues() |
GenericItemChip |
getOrCreateEditor(Item item) |
OrganizerComponentChip |
getResultComponent() |
OrganizerComponentChip |
getSearchComponent() |
String |
getTitle() |
void |
handleRequest(DisplayRequest request) |
void |
handleRequest(SearchRequest request)
Implementation of SearchRequestHandler interface.
|
protected boolean |
hasNext(Item item) |
protected boolean |
hasPrevious(Item item) |
protected void |
initialize() |
protected boolean |
isChanged() |
protected boolean |
isChanged(Item item) |
protected boolean |
isConsiderSubtypes()
Returns true if subtypes should be considered when creating an item
|
boolean |
isPartOf() |
protected boolean |
isSelected(Item item) |
void |
processDisplayParameters(String parameters) |
abstract void |
reload() |
protected void |
removeAllEditors() |
void |
removeEditor(Item item) |
protected void |
saveAll() |
void |
setActiveComponentChip(OrganizerComponentChip component) |
void |
setCreatorComponent(OrganizerComponentChip creatorHolder) |
void |
setPartOf(boolean partOf) |
void |
setResultComponent(OrganizerComponentChip resultHolder) |
void |
setSearchComponent(OrganizerComponentChip searchHolder) |
void |
showCreatorHolder() |
addEventListener, 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, getJSPURI, getMenuEntries, getParent, getUniqueName, goFullScreen, isValid, leaveFullScreen, processEvents, registerUniqueName, removeEventListener, render, translateFormFieldToEventName, translateFormFieldToEventValuepublic AbstractOrganizerChip(DisplayState displayState, Chip parent, ComposedType type, boolean considerSubtypes, Map lockedValues, Comparator comparator)
public AbstractOrganizerChip(DisplayState displayState, Chip parent, ComposedType type, Map lockedValues)
protected Comparator getComparator()
protected void initialize()
public void checkValid()
AbstractChipcheckValid in interface ChipcheckValid in class AbstractChippublic ComposedType getItemType()
getItemType in interface TypedChippublic Map getLockedValues()
public OrganizerComponentChip getActiveComponentChip()
public void setActiveComponentChip(OrganizerComponentChip component)
public void addComponentChip(OrganizerComponentChip chip)
public String getTitle()
protected void edit(Item item)
public OrganizerComponentChip getEditorComponent()
protected OrganizerItemChip createEditor(Chip parent, Item item)
public abstract GenericItemListChip getListChip()
protected void editNext(Item item)
protected boolean hasNext(Item item)
protected void editPrevious(Item item)
protected boolean hasPrevious(Item item)
protected boolean isChanged(Item item)
protected boolean isChanged()
protected void saveAll()
public void removeEditor(Item item)
public GenericItemChip getOrCreateEditor(Item item)
public boolean containsEditor(Item item)
protected void removeAllEditors()
protected boolean isSelected(Item item)
public abstract void reload()
public void showCreatorHolder()
public OrganizerComponentChip getResultComponent()
public void setResultComponent(OrganizerComponentChip resultHolder)
public OrganizerComponentChip getSearchComponent()
public void setSearchComponent(OrganizerComponentChip searchHolder)
public OrganizerComponentChip getCreatorComponent()
public void setCreatorComponent(OrganizerComponentChip creatorHolder)
public boolean isPartOf()
public void setPartOf(boolean partOf)
partOf - protected boolean isConsiderSubtypes()
public void handleRequest(DisplayRequest request)
handleRequest in interface DisplayRequestHandlerpublic boolean canHandleRequest(DisplayRequest request)
canHandleRequest in interface DisplayRequestHandlerpublic void handleRequest(SearchRequest request)
handleRequest in interface SearchRequestHandlerrequest - the SearchRequest to be handledpublic boolean canHandleRequest(SearchRequest request)
canHandleRequest in interface SearchRequestHandlerrequest - the SearchRequest to be handledpublic String getDisplayParameters()
AbstractChipNull since this feature is not supported by default.getDisplayParameters in interface ChipgetDisplayParameters in class AbstractChipChip.getDisplayParameters()public void processDisplayParameters(String parameters)
Copyright © 2017 SAP SE. All Rights Reserved.