public class ResourceTextEditorControl 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 |
|---|
ResourceTextEditorControl()
Constructor for the ResourceTextEditorControl object
|
ResourceTextEditorControl(String controlID)
Constructor for the ResourceTextEditorControl object
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
createNestedControls()
Register composite parts
|
boolean |
getCustomPropertyEnabled()
Gets the customPropertyEnabled attribute of the ResourceTextEditorControl object
|
String |
getEncoding()
Gets the encoding attribute of the ResourceTextEditorControl object
|
String |
getExtension()
Get the extension that is used when saving a Resource in the TextEditControl
|
String |
getInfoMessage() |
boolean |
getNameInvalidFlag()
Gets the nameInvalidFlag attribute of the ResourceTextEditorControl object
|
boolean |
getNewResourceFlag()
Gets the newResourceFlag attribute of the ResourceTextEditorControl object
|
String |
getProperties() |
String |
getResourceType() |
boolean |
getSendOverviewEvent() |
boolean |
getShowCustomProperty()
Getter method of showCustomProperty
|
String |
getStartUri()
Gets the startUri attribute of the ResourceTextEditorControl object
|
String |
getTextContent()
Gets the textContent attribute of the ResourceTextEditorControl object
|
boolean |
getUiDetailsHeader()
Gets the uiDetailsHeader attribute of the ResourceTextEditorControl object
|
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 ResourceTextEditorControl object
|
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 |
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 |
onReleaseWithUndoCheckout(com.sapportals.htmlb.event.Event event)
Description of the Method
|
com.sapportals.wdf.event.WdfEvent |
onSave(com.sapportals.htmlb.event.Event event)
Description of the Method
|
com.sapportals.wdf.event.WdfEvent |
onSaveAndLock(com.sapportals.htmlb.event.Event event)
Description of the Method
|
com.sapportals.wdf.event.WdfEvent |
onSaveAndUnlock(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()
Description of the Method
|
void |
setCustomPropertyEnabled(boolean uiDetails)
Sets the customPropertyEnabled attribute of the ResourceTextEditorControl object
|
void |
setEncoding(String encoding)
Sets the encoding attribute of the ResourceTextEditorControl object
|
void |
setExtension(String extension)
Set the extension of the resource that is created in the TextEditControl
|
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 ResourceTextEditorControl object
|
void |
setNewResourceFlag(boolean flag)
Sets the newResourceFlag attribute of the ResourceTextEditorControl object
|
void |
setProperties(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 |
setSendOverviewEvent(boolean sendOverviewEvent) |
void |
setShowCustomProperty(boolean flag)
Sets the showCustomProperty attribute of the ResourceTextEditorControl object
|
void |
setStandalone(boolean isStandalone)
Sets the standalone attribute of the ResourceTextEditorControl object
|
void |
setStartUri(String startUri)
Sets the startUri attribute of the ResourceTextEditorControl object
|
void |
setTextContent(String displayTextContent)
Sets the textContent attribute of the ResourceTextEditorControl object
|
void |
setUiDetailsHeader(boolean uiDetails)
Sets the uiDetailsHeader attribute of the ResourceTextEditorControl object
|
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 ResourceTextEditorControl()
public ResourceTextEditorControl(String controlID)
controlID - Description of the parampublic void setTextContent(String displayTextContent)
displayTextContent - The new textContent valuepublic String getTextContent()
public void setUiDetailsHeader(boolean uiDetails)
uiDetails - The new uiDetailsHeader valuepublic boolean getUiDetailsHeader()
public void setNameInvalidFlag(boolean flag)
flag - The new nameInvalidFlag valuepublic boolean getNameInvalidFlag()
public void setNewResourceFlag(boolean flag)
flag - The new newResourceFlag valuepublic boolean getNewResourceFlag()
public void setCustomPropertyEnabled(boolean uiDetails)
uiDetails - The new customPropertyEnabled valuepublic boolean getCustomPropertyEnabled()
public void setInfoMessage(String infoMessage)
public String getInfoMessage()
protected void createNestedControls()
throws com.sapportals.wdf.WdfException
createNestedControls in class com.sapportals.wdf.stack.Controlcom.sapportals.wdf.WdfException - Exception raised in failure situationpublic void setStandalone(boolean isStandalone)
isStandalone - The new standalone valuepublic boolean isStandalone()
public void setEncoding(String encoding)
encoding - The new encoding valuepublic String getEncoding()
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 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 onReleaseWithUndoCheckout(com.sapportals.htmlb.event.Event event)
throws WcmException
event - Description of the paramWcmException - Exception raised in failure situationpublic 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 onSaveAndUnlock(com.sapportals.htmlb.event.Event event)
throws WcmException
event - Description of the paramWcmException - Exception raised in failure situationpublic com.sapportals.wdf.event.WdfEvent onSaveAndLock(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 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()
| 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