public class OrganizerCreateChip extends AbstractChip implements NamedChip, EventCheckingChip
| Modifier and Type | Field and Description |
|---|---|
protected Set |
_accepted |
static String |
CREATE |
static String |
TYPECODE |
CHIP_KEY, FALSE, FRAME_KEY, SHOW_JSP_COMMENTS, TRUE, USE_SOCKET_NAMINGDISPLAY_EVENT, FILTERED_PREFIX| Constructor and Description |
|---|
OrganizerCreateChip(DisplayState displayState,
Chip parent,
Map lockedValues) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
create() |
Set |
getAcceptedEvents() |
String |
getCurrentTypeCode() |
String |
getJSPURI()
Returns the URI of the JSP that this chip wants to use.
|
String |
getModalFDQualifier()
Returns the qualifier of the attribute of the modal opener item, if one was set.
|
Language |
getModalLanguage()
Returns the modal opener language, if one was set.
|
ItemChip |
getModalOpener()
Returns the modal opener item chip, if one was set.
|
String |
getName() |
ComposedType |
getSelectedType()
Returns the currently selected type.
|
Collection |
getTypeEntries()
Returns a list of
TypeEntry instances |
void |
processEvents(Map events)
Handles all incoming requests for this chip.
|
void |
setModalReference(ItemChip openerItemChip,
String openerAttributeQualifier)
Sets the ItemChip which opened this creator and the attributequalifier of the item.
|
void |
setModalReference(ItemChip openerItemChip,
String openerAttributeQualifier,
Language openerLanguage)
Sets the ItemChip which opened this creator, the attributequalifier of the item and the language, if it is a
localized attribute.
|
void |
setSelectedType(ComposedType type) |
void |
setTypeEntries(Collection types) |
addEventListener, checkValid, 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, refresh, refreshChild, registerUniqueName, removeEventListener, removeInfoMessage, render, render, setClipboard, setParent, setRequestFocus, setValid, setWindowStatus, translateFormFieldToEventName, translateFormFieldToEventValueequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddEventListener, checkValid, dispose, getCommandID, getDisplayParameters, getDisplayState, getEventID, getEventURL, getEventValue, getID, getJaloSession, getMenuEntries, getParent, getUniqueName, goFullScreen, isValid, leaveFullScreen, registerUniqueName, removeEventListener, render, translateFormFieldToEventName, translateFormFieldToEventValuepublic static final String CREATE
public static final String TYPECODE
protected Set _accepted
public OrganizerCreateChip(DisplayState displayState, Chip parent, Map lockedValues)
public String getJSPURI()
public Set getAcceptedEvents()
getAcceptedEvents in interface EventCheckingChippublic void processEvents(Map events)
processEvents in interface Chipprotected void create()
public Collection getTypeEntries()
TypeEntry instancespublic void setTypeEntries(Collection types)
public String getCurrentTypeCode()
public ComposedType getSelectedType()
public void setSelectedType(ComposedType type)
public void setModalReference(ItemChip openerItemChip, String openerAttributeQualifier)
openerItemChip - the ItemChip from which this create chip has been openedopenerAttributeQualifier - the qualifier of the attribute for which a new item is to be createdpublic void setModalReference(ItemChip openerItemChip, String openerAttributeQualifier, Language openerLanguage)
openerItemChip - the ItemChip from which this create chip has been openedopenerAttributeQualifier - the qualifier of the attribute for which a new item is to be createdopenerLanguage - the Language for which to create the item (if the attribute is localizable, may be null if not)public String getModalFDQualifier()
public ItemChip getModalOpener()
public Language getModalLanguage()
Copyright © 2017 SAP SE. All Rights Reserved.