com.sapportals.wcm.control.edit
Class ExternalLinkControl
java.lang.Object
com.sapportals.wdf.stack.Control
com.sapportals.wcm.control.base.WcmBaseControl
com.sapportals.wcm.control.base.WcmResourceControl
com.sapportals.wcm.control.edit.ExternalLinkControl
- All Implemented Interfaces:
- com.sapportals.wdf.event.WdfEventReceiver
public class ExternalLinkControl
- extends WcmResourceControl
- implements com.sapportals.wdf.event.WdfEventReceiver
Copyright 2004 SAP AG
| Fields inherited from class com.sapportals.wcm.control.base.WcmBaseControl |
BLANK_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 |
| Fields inherited from class com.sapportals.wdf.stack.Control |
id |
| Methods inherited from class com.sapportals.wcm.control.base.WcmBaseControl |
getBaseBundleString, getBaseBundleString, getBaseBundleString, getBaseBundleString, getBundleString, getBundleString, getBundleString, getBundleString, getBusinessCardLink, getImage, getParameterConfiguration, getResourceContext, getServicePageUri, handleException, isSection508Rendering, isTestMode, isVisible, setControlContext, setResourceContext, setTestMode, setVisible |
| Methods inherited from class com.sapportals.wdf.stack.Control |
create, create, createNestedControls, createUnequivocallyComponentId, dispatchHtmlbEvent, dispatchWdfEvent, getControlContext, getDynPage, getID, getParent, getPersistenceComponentManager, getRootControl, getStackId, initialize, initializeImpl, isInitialized, register, renderPersistentProperties, resetNestedControls, restorePersistentProperties, restoreProperties, setID, setInitialized, setParent, setStackId, triggerInput |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OPERATION_MODE_ADD
public static final int OPERATION_MODE_ADD
- See Also:
- Constant Field Values
OPERATION_MODE_EDIT
public static final int OPERATION_MODE_EDIT
- See Also:
- Constant Field Values
OPERATION_MODE_NEW
public static final int OPERATION_MODE_NEW
- See Also:
- Constant Field Values
OPERATION_MODE_EDIT_BUTTON
public static final int OPERATION_MODE_EDIT_BUTTON
- See Also:
- Constant Field Values
OPERATION_MODE_NEW_BUTTON
public static final int OPERATION_MODE_NEW_BUTTON
- See Also:
- Constant Field Values
ExternalLinkControl
public ExternalLinkControl()
ExternalLinkControl
public ExternalLinkControl(String controlID)
setUiDetailsHeader
public void setUiDetailsHeader(boolean uiDetails)
getUiDetailsHeader
public boolean getUiDetailsHeader()
setShowInsert
public void setShowInsert(boolean mode)
getShowInsert
public boolean getShowInsert()
getShowInstructions
public String getShowInstructions()
setShowInstructions
public void setShowInstructions(String flag)
setOperationMode
public void setOperationMode(int opMode)
getOperationMode
public int getOperationMode()
setTargetUri
public void setTargetUri(String targetUri)
getTargetUri
public String getTargetUri()
setTargetID
public void setTargetID(String targetID)
getTargetID
public String getTargetID()
setLinkType
public void setLinkType(int linkType)
getLinkType
public int getLinkType()
setStandalone
public void setStandalone(boolean isStandalone)
isStandalone
public boolean isStandalone()
setShowCancelButton
public void setShowCancelButton(boolean input)
getShowCancelButton
public boolean getShowCancelButton()
getExternalLinkType
public LinkType getExternalLinkType()
getStartUri
public String getStartUri()
setStartUri
public void setStartUri(String startUri)
render
public com.sapportals.htmlb.Component render()
throws com.sapportals.wdf.WdfException
- Specified by:
render in class com.sapportals.wdf.stack.Control
- Throws:
com.sapportals.wdf.WdfException
onCancel
public com.sapportals.wdf.event.WdfEvent onCancel(com.sapportals.htmlb.event.Event event)
onLinkTypeClick
public com.sapportals.wdf.event.WdfEvent onLinkTypeClick(com.sapportals.htmlb.event.Event event)
throws WcmException
- Throws:
WcmException
onBrowse
public com.sapportals.wdf.event.WdfEvent onBrowse(com.sapportals.htmlb.event.Event event)
throws WcmException
- Throws:
WcmException
onBrowseTargetUri
public com.sapportals.wdf.event.WdfEvent onBrowseTargetUri(com.sapportals.htmlb.event.Event event)
throws WcmException
- Throws:
WcmException
checkLinkTarget
public com.sapportals.wcm.control.event.CflStatusInfoEvent checkLinkTarget()
throws WcmException
- Returns a StatusInfoEvent with an error message in case of the target is
not valid. If the taget is valid the return parameter is null
- Throws:
WcmException
onSaveLink
public com.sapportals.wdf.event.WdfEvent onSaveLink(com.sapportals.htmlb.event.Event event)
throws WcmException
- Throws:
WcmException
onInsertLink
public com.sapportals.wdf.event.WdfEvent onInsertLink(com.sapportals.htmlb.event.Event event)
throws WcmException
- Throws:
WcmException
receive
public void receive(com.sapportals.wdf.event.WdfEvent cflEvent)
throws com.sapportals.wdf.WdfException
- Description copied from class:
WcmResourceControl
- reacts on CflResourceEvents and resets the present resource of the
control. If controls want to implement a special treatment of these events
they can implement this method themselves.
- Specified by:
receive in interface com.sapportals.wdf.event.WdfEventReceiver- Overrides:
receive in class WcmResourceControl
- Throws:
com.sapportals.wdf.WdfException
readInputData
protected void readInputData()
throws com.sapportals.wdf.WdfException
- Overrides:
readInputData in class WcmBaseControl
- Throws:
com.sapportals.wdf.WdfException
This class can be accessed from:
|
SC
|
DC
|
Public Part
|
ACH
|
[sap.com] KMC-CM
|
[sap.com] tc/km/nonwduideprecated
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2014 SAP AG Complete Copyright Notice