public class QRCodeDeeplinkChip extends AbstractTabChip
| Modifier and Type | Field and Description |
|---|---|
static String |
DEEPLINK |
static String |
GENERATE |
protected static Logger |
LOG
The Constant log.
|
static String |
REGENERATE |
logCHIP_KEY, FALSE, FRAME_KEY, SHOW_JSP_COMMENTS, TRUE, USE_SOCKET_NAMINGDISPLAY_EVENT, FILTERED_PREFIX| Constructor and Description |
|---|
QRCodeDeeplinkChip(DisplayState displayState,
Chip parent)
Instantiates a new qR code deeplink chip.
|
| Modifier and Type | Method and Description |
|---|---|
String |
barcode(String campaignPk)
Barcode.
|
boolean |
barcodeExists(String campaignPk)
return true if the barcode has already been generated
|
String |
generateBarcode(String campaignPk)
Generates a barcode.
|
Map<String,String> |
getCampaigns()
Gets the campaigns.
|
String |
getJSPURI()
Returns the URI of the JSP that this chip wants to use.
|
String |
localized(String key)
Localized.
|
void |
processEvents(Map events)
Process events.
|
String |
regenerateBarcode(String campaignPk)
Barcode.
|
getItem, getItemChip, getItemType, hideEssentials, initialize, isChanged, isInitialized, reload, saveaddEventListener, 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, translateFormFieldToEventValueprotected static final Logger LOG
public static final String GENERATE
public static final String REGENERATE
public static final String DEEPLINK
public QRCodeDeeplinkChip(DisplayState displayState, Chip parent)
displayState - the display stateparent - the parentpublic String getJSPURI()
Chippublic void processEvents(Map events)
processEvents in interface ChipprocessEvents in class AbstractTabChipevents - the eventsAbstractTabChip.processEvents(java.util.Map)public String localized(String key)
key - the keypublic String barcode(String campaignPk)
campaignPk - the campaign pkpublic String generateBarcode(String campaignPk)
campaignPk - the campaign pkpublic String regenerateBarcode(String campaignPk)
campaignPk - the campaign pkpublic boolean barcodeExists(String campaignPk)
Copyright © 2017 SAP SE. All Rights Reserved.