public class VoucherCodeGeneratorChip extends CustomChip
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
GENERATE |
static java.lang.String |
QUANTITY |
CHIP_KEY, FALSE, FRAME_KEY, SHOW_JSP_COMMENTS, TRUE, USE_SOCKET_NAMINGDISPLAY_EVENT, FILTERED_PREFIX| Constructor and Description |
|---|
VoucherCodeGeneratorChip(DisplayState displayState,
Chip parent)
Creates a new instance of
VoucherCodeGeneratorChip. |
VoucherCodeGeneratorChip(DisplayState displayState,
Chip parent,
java.util.Map parameters,
java.lang.String jspuri)
Creates a new instance of
VoucherCodeGeneratorChip. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getJSPURI()
Returns the URI of the JSP that this chip wants to use.
|
boolean |
isActive() |
protected void |
processButtonPushedEvents(java.util.Map events) |
void |
processEvents(java.util.Map events)
Handles all incoming requests for this chip.
|
protected int |
selectQuantity(java.util.Map events) |
getAttributes, getDefaultJSPURI, getParameter, getParametersaddEventListener, 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, translateFormFieldToEventValuepublic static final java.lang.String QUANTITY
public static final java.lang.String GENERATE
public VoucherCodeGeneratorChip(DisplayState displayState, Chip parent, java.util.Map parameters, java.lang.String jspuri)
VoucherCodeGeneratorChip.displayState - the actual display state.parent - the parent Chip of this VoucherCodeGeneratorChip.public VoucherCodeGeneratorChip(DisplayState displayState, Chip parent)
VoucherCodeGeneratorChip.displayState - the actual display state.parent - the parent Chip of this VoucherCodeGeneratorChip.public java.lang.String getJSPURI()
ChipgetJSPURI in interface ChipgetJSPURI in class CustomChipChip.getJSPURI()public void processEvents(java.util.Map events)
ChipprocessEvents in interface ChipprocessEvents in class CustomChipChip.processEvents(Map)protected void processButtonPushedEvents(java.util.Map events)
protected int selectQuantity(java.util.Map events)
public boolean isActive()
Copyright © 2017 SAP SE. All Rights Reserved.