public class ExternalLinkControl extends WcmResourceControl implements com.sapportals.wdf.event.WdfEventReceiver
WcmResourceControl.ResourceNotFoundException| Modifier and Type | Field and Description |
|---|---|
static int |
OPERATION_MODE_ADD |
static int |
OPERATION_MODE_EDIT |
static int |
OPERATION_MODE_EDIT_BUTTON |
static int |
OPERATION_MODE_NEW |
static int |
OPERATION_MODE_NEW_BUTTON |
START_PAGE_BROWSE, START_PAGE_DETAILS, uriBLANK_LINK_TARGET, CELL_PADDING_STANDARD, CELL_SPACING_STANDARD, CONTROL_HEADER_STANDARD, DETAILS_CONFIG_FILE, NONE, RES_BUTTON_ADD, RES_BUTTON_APPLY, RES_BUTTON_BACK, RES_BUTTON_CANCEL, RES_BUTTON_CLOSE, RES_BUTTON_LOAD, RES_BUTTON_MORE, RES_BUTTON_OK, RES_BUTTON_REMOVE, RES_BUTTON_SAVE, RES_BUTTON_SELECT, RES_BUTTON_UPDATE, resourceContext, SUMMARY| Constructor and Description |
|---|
ExternalLinkControl() |
ExternalLinkControl(String controlID) |
| Modifier and Type | Method and Description |
|---|---|
com.sapportals.wcm.control.event.CflStatusInfoEvent |
checkLinkTarget()
Returns a StatusInfoEvent with an error message in case of the target is
not valid.
|
static boolean |
checkURL(String s) |
LinkType |
getExternalLinkType() |
int |
getLinkType() |
int |
getOperationMode() |
boolean |
getShowCancelButton() |
boolean |
getShowInsert() |
String |
getShowInstructions() |
String |
getStartUri() |
String |
getTargetID() |
String |
getTargetUri() |
boolean |
getUiDetailsHeader() |
boolean |
isStandalone() |
com.sapportals.wdf.event.WdfEvent |
onBrowse(com.sapportals.htmlb.event.Event event) |
com.sapportals.wdf.event.WdfEvent |
onBrowseTargetUri(com.sapportals.htmlb.event.Event event) |
com.sapportals.wdf.event.WdfEvent |
onCancel(com.sapportals.htmlb.event.Event event) |
com.sapportals.wdf.event.WdfEvent |
onInsertLink(com.sapportals.htmlb.event.Event event) |
com.sapportals.wdf.event.WdfEvent |
onLinkTypeClick(com.sapportals.htmlb.event.Event event) |
com.sapportals.wdf.event.WdfEvent |
onSaveLink(com.sapportals.htmlb.event.Event event) |
protected void |
readInputData() |
void |
receive(com.sapportals.wdf.event.WdfEvent cflEvent)
Reacts on CflResourceEvents and resets the present resource of the
control.
|
com.sapportals.htmlb.Component |
render() |
void |
setLinkType(int linkType) |
void |
setOperationMode(int opMode) |
void |
setShowCancelButton(boolean input) |
void |
setShowInsert(boolean mode) |
void |
setShowInstructions(String flag) |
void |
setStandalone(boolean isStandalone) |
void |
setStartUri(String startUri) |
void |
setTargetID(String targetID) |
void |
setTargetUri(String targetUri) |
void |
setUiDetailsHeader(boolean uiDetails) |
checkArchivingStauts, getAOStates, getDetailsPageUri, getResource, getResourceLink, getResourceList, getSafeResource, getUri, setResource, setUrigetBaseBundleString, getBaseBundleString, getBaseBundleString, getBaseBundleString, getBundleString, getBundleString, getBundleString, getBundleString, getBusinessCardLink, getImage, getParameterConfiguration, getResourceContext, getServicePageUri, handleException, isSection508Rendering, isTestMode, isVisible, setControlContext, setResourceContext, setTestMode, setVisiblecreate, create, createNestedControls, createUnequivocallyComponentId, dispatchHtmlbEvent, dispatchWdfEvent, getControlContext, getDynPage, getID, getParent, getPersistenceComponentManager, getRootControl, getStackId, initialize, initializeImpl, isInitialized, register, renderPersistentProperties, resetNestedControls, restorePersistentProperties, restoreProperties, setID, setInitialized, setParent, setStackId, triggerInputpublic static final int OPERATION_MODE_ADD
public static final int OPERATION_MODE_EDIT
public static final int OPERATION_MODE_NEW
public static final int OPERATION_MODE_EDIT_BUTTON
public static final int OPERATION_MODE_NEW_BUTTON
public ExternalLinkControl()
public ExternalLinkControl(String controlID)
public void setUiDetailsHeader(boolean uiDetails)
public boolean getUiDetailsHeader()
public void setShowInsert(boolean mode)
public boolean getShowInsert()
public String getShowInstructions()
public void setShowInstructions(String flag)
public void setOperationMode(int opMode)
public int getOperationMode()
public void setTargetUri(String targetUri)
public String getTargetUri()
public void setTargetID(String targetID)
public String getTargetID()
public void setLinkType(int linkType)
public int getLinkType()
public void setStandalone(boolean isStandalone)
public boolean isStandalone()
public void setShowCancelButton(boolean input)
public boolean getShowCancelButton()
public LinkType getExternalLinkType()
public String getStartUri()
public void setStartUri(String startUri)
public com.sapportals.htmlb.Component render()
throws com.sapportals.wdf.WdfException
render in class com.sapportals.wdf.stack.Controlcom.sapportals.wdf.WdfExceptionpublic com.sapportals.wdf.event.WdfEvent onCancel(com.sapportals.htmlb.event.Event event)
public com.sapportals.wdf.event.WdfEvent onLinkTypeClick(com.sapportals.htmlb.event.Event event)
throws WcmException
WcmExceptionpublic com.sapportals.wdf.event.WdfEvent onBrowse(com.sapportals.htmlb.event.Event event)
throws WcmException
WcmExceptionpublic com.sapportals.wdf.event.WdfEvent onBrowseTargetUri(com.sapportals.htmlb.event.Event event)
throws WcmException
WcmExceptionpublic com.sapportals.wcm.control.event.CflStatusInfoEvent checkLinkTarget()
throws WcmException
WcmException - WcmExceptionpublic com.sapportals.wdf.event.WdfEvent onSaveLink(com.sapportals.htmlb.event.Event event)
throws WcmException
WcmExceptionpublic com.sapportals.wdf.event.WdfEvent onInsertLink(com.sapportals.htmlb.event.Event event)
throws WcmException
WcmExceptionpublic void receive(com.sapportals.wdf.event.WdfEvent cflEvent)
throws com.sapportals.wdf.WdfException
WcmResourceControlreceive in interface com.sapportals.wdf.event.WdfEventReceiverreceive in class WcmResourceControlcflEvent - the eventcom.sapportals.wdf.WdfException - if an error occursprotected void readInputData()
throws com.sapportals.wdf.WdfException
readInputData in class WcmBaseControlcom.sapportals.wdf.WdfExceptionpublic static boolean checkURL(String s)
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com]
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2021 SAP SE Complete Copyright Notice