public class ResourceHtmlEditorControl extends WcmResourceControl implements com.sapportals.wdf.event.WdfEventReceiver
Created 14. Mai 2003
WcmResourceControl.ResourceNotFoundExceptionSTART_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 |
|---|
ResourceHtmlEditorControl()
Constructor for the ResourceHtmlEditorControl object
|
ResourceHtmlEditorControl(String controlID)
Constructor for the ResourceHtmlEditorControl object
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
createNestedControls()
Register composite parts
|
String |
getExtension()
Get the extension that is used when saving a Resource in the HtmlEditControl
|
String |
getInfoMessage() |
boolean |
getNameInvalidFlag()
Gets the nameInvalidFlag attribute of the ResourceHtmlEditorControl object
|
boolean |
getNewResourceFlag()
Gets the newResourceFlag attribute of the ResourceHtmlEditorControl object
|
String |
getProperties() |
String |
getPropertyStructureName() |
String |
getResourceType() |
boolean |
getSendBackEvent()
Gets the sendBackEvent attribute of the ResourceUploadControl object
|
boolean |
getSendOverviewEvent() |
boolean |
getShowCustomProperty()
Getter method of showCustomProperty
|
String |
getStartUri()
Gets the startUri attribute of the ResourceHtmlEditorControl object
|
boolean |
getUiDetailsHeader() |
boolean |
isForceExtension()
Getter method of setForceExtension
|
boolean |
isSaveContentAsDescription()
Set the flag whether the entered content is saved in description property as
well
|
boolean |
isStandalone()
Gets the standalone attribute of the ResourceHtmlEditorControl object
|
boolean |
isUsePortalStyle() |
boolean |
isUseRelativeLinks() |
com.sapportals.wdf.event.WdfEvent |
onCancel(com.sapportals.htmlb.event.Event event)
Description of the Method
|
com.sapportals.wdf.event.WdfEvent |
onCustomProperty(com.sapportals.htmlb.event.Event event)
Description of the Method
|
com.sapportals.wdf.event.WdfEvent |
onEdit(com.sapportals.htmlb.event.Event event) |
com.sapportals.wdf.event.WdfEvent |
onExit(com.sapportals.htmlb.event.Event event) |
com.sapportals.wdf.event.WdfEvent |
onLock(com.sapportals.htmlb.event.Event event)
Description of the Method
|
com.sapportals.wdf.event.WdfEvent |
onSave(com.sapportals.htmlb.event.Event event)
save the resource
|
com.sapportals.wdf.event.WdfEvent |
onSaveAndLock(com.sapportals.htmlb.event.Event event) |
com.sapportals.wdf.event.WdfEvent |
onSaveAndUnlock(com.sapportals.htmlb.event.Event event) |
com.sapportals.wdf.event.WdfEvent |
onUnlockAndDiscardChanges(com.sapportals.htmlb.event.Event event)
Description of the Method
|
protected void |
readInputData() |
void |
receive(com.sapportals.wdf.event.WdfEvent cflEvent)
Description of the Method
|
com.sapportals.htmlb.Component |
render()
Renders the html editor control
|
void |
setExtension(String extension)
Set the extension of the resource that is created in the HtmlEditControl
|
void |
setForceExtension(boolean flag)
The extension (provided by method setExtension or the default extension) is
always set by the control; regardless of the extension the user provides
|
void |
setInfoMessage(String infoMessage) |
void |
setNameInvalidFlag(boolean flag)
Sets the nameInvalidFlag attribute of the ResourceHtmlEditorControl object
|
void |
setNewResourceFlag(boolean flag)
Sets the newResourceFlag attribute of the ResourceHtmlEditorControl object
|
void |
setProperties(String properties) |
void |
setPropertyStructureName(String properties) |
void |
setResourceType(String newResourceTypes) |
void |
setSaveContentAsDescription(boolean flag)
Set the flag that the entered content is saved in description property as well
|
void |
setSendBackEvent(boolean flag)
Sets the sendBackEvent attribute of the ResourceUploadControl object
|
void |
setSendOverviewEvent(boolean sendOverviewEvent) |
void |
setShowCustomProperty(boolean flag)
Sets the showCustomProperty attribute of the ResourceHtmlEditorControl object
|
void |
setStandalone(boolean isStandalone)
Sets the standalone attribute of the ResourceHtmlEditorControl object
|
void |
setStartUri(String startUri)
Sets the startUri attribute of the ResourceHtmlEditorControl object
|
void |
setUiDetailsHeader(boolean uiDetails) |
void |
setUsePortalStyle(boolean usePortalStyle) |
void |
setUseRelativeLinks(boolean useRelativeLinks) |
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, createUnequivocallyComponentId, dispatchHtmlbEvent, dispatchWdfEvent, getControlContext, getDynPage, getID, getParent, getPersistenceComponentManager, getRootControl, getStackId, initialize, initializeImpl, isInitialized, register, renderPersistentProperties, resetNestedControls, restorePersistentProperties, restoreProperties, setID, setInitialized, setParent, setStackId, triggerInputpublic ResourceHtmlEditorControl()
public ResourceHtmlEditorControl(String controlID)
controlID - Description of the paramprotected void createNestedControls()
throws com.sapportals.wdf.WdfException
createNestedControls in class com.sapportals.wdf.stack.Controlcom.sapportals.wdf.WdfException - Exception raised in failure situationpublic void setSendBackEvent(boolean flag)
flag - The new sendBackEvent valuepublic boolean getSendBackEvent()
public void setNewResourceFlag(boolean flag)
flag - The new newResourceFlag valuepublic boolean getNewResourceFlag()
public void setNameInvalidFlag(boolean flag)
flag - The new nameInvalidFlag valuepublic boolean getNameInvalidFlag()
public void setUiDetailsHeader(boolean uiDetails)
public boolean getUiDetailsHeader()
public void setStandalone(boolean isStandalone)
isStandalone - The new standalone valuepublic boolean isStandalone()
public void setExtension(String extension)
extension - The new extension valuepublic String getExtension()
public void setForceExtension(boolean flag)
flag - The new forceExtension valuepublic boolean isForceExtension()
public void setSaveContentAsDescription(boolean flag)
flag - The new saveContentAsDescription valuepublic boolean isSaveContentAsDescription()
public String getStartUri()
public void setStartUri(String startUri)
startUri - The new startUri valuepublic void setShowCustomProperty(boolean flag)
flag - The new showCustomProperty valuepublic boolean getShowCustomProperty()
public void setSendOverviewEvent(boolean sendOverviewEvent)
public boolean getSendOverviewEvent()
public void setInfoMessage(String infoMessage)
public String getInfoMessage()
public void setUsePortalStyle(boolean usePortalStyle)
public boolean isUsePortalStyle()
public void setUseRelativeLinks(boolean useRelativeLinks)
public boolean isUseRelativeLinks()
public com.sapportals.htmlb.Component render()
throws com.sapportals.wdf.WdfException
render in class com.sapportals.wdf.stack.Controlcom.sapportals.wdf.WdfException - Exception raised in failure situationpublic com.sapportals.wdf.event.WdfEvent onLock(com.sapportals.htmlb.event.Event event)
throws WcmException
event - Description of the paramWcmException - Exception raised in failure situationpublic com.sapportals.wdf.event.WdfEvent onSaveAndUnlock(com.sapportals.htmlb.event.Event event)
throws WcmException
WcmExceptionpublic com.sapportals.wdf.event.WdfEvent onSaveAndLock(com.sapportals.htmlb.event.Event event)
throws WcmException
WcmExceptionpublic com.sapportals.wdf.event.WdfEvent onEdit(com.sapportals.htmlb.event.Event event)
throws WcmException
WcmExceptionpublic com.sapportals.wdf.event.WdfEvent onCustomProperty(com.sapportals.htmlb.event.Event event)
throws WcmException
event - Description of the paramWcmException - Exception raised in failure situationpublic com.sapportals.wdf.event.WdfEvent onSave(com.sapportals.htmlb.event.Event event)
throws WcmException
event - Description of the paramWcmException - Exception raised in failure situationpublic com.sapportals.wdf.event.WdfEvent onCancel(com.sapportals.htmlb.event.Event event)
throws ResourceException
event - Description of the paramResourceException - Exception raised in failure situationpublic com.sapportals.wdf.event.WdfEvent onUnlockAndDiscardChanges(com.sapportals.htmlb.event.Event event)
throws WcmException
event - Description of the paramWcmException - Exception raised in failure situationpublic com.sapportals.wdf.event.WdfEvent onExit(com.sapportals.htmlb.event.Event event)
throws WcmException
WcmExceptionpublic void receive(com.sapportals.wdf.event.WdfEvent cflEvent)
throws com.sapportals.wdf.WdfException
receive in interface com.sapportals.wdf.event.WdfEventReceiverreceive in class WcmResourceControlcflEvent - Description of the paramcom.sapportals.wdf.WdfException - Exception raised in failure situationprotected void readInputData()
throws com.sapportals.wdf.WdfException
readInputData in class WcmBaseControlcom.sapportals.wdf.WdfExceptionpublic void setResourceType(String newResourceTypes)
public String getResourceType()
public void setProperties(String properties)
public String getProperties()
public void setPropertyStructureName(String properties)
public String getPropertyStructureName()
| 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