public class ResourceEditTemplateControl extends WcmResourceControl implements com.sapportals.wdf.event.WdfEventReceiver
WcmResourceControl.ResourceNotFoundException| Modifier and Type | Field and Description |
|---|---|
static String |
MSG_TEMPLATE_USE_CANCELLED |
static String |
MSG_TEMPLATE_USE_FAILED |
static String |
MSG_TEMPLATE_USE_WORKED |
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 |
|---|
ResourceEditTemplateControl() |
ResourceEditTemplateControl(String controlID) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createNestedControls() |
String |
getInfoMessage() |
String |
getProperties() |
ITemplate |
getTemplate() |
String |
getTemplateID() |
boolean |
isIgnoreDefaultValues() |
com.sapportals.wdf.event.WdfEvent |
onCancel(com.sapportals.htmlb.event.Event event) |
com.sapportals.wdf.event.WdfEvent |
onExit(com.sapportals.htmlb.event.Event event) |
com.sapportals.wdf.event.WdfEvent |
onSave(com.sapportals.htmlb.event.Event event) |
void |
receive(com.sapportals.wdf.event.WdfEvent cflEvent)
event reveiver
|
com.sapportals.htmlb.Component |
render() |
com.sapportals.htmlb.Label |
renderLabel(com.sapportals.htmlb.Component comp,
String text,
boolean required)
Creates a label
|
void |
setIgnoreDefaultValues(boolean ignoreDefaultValues) |
void |
setInfoMessage(String infoMessage) |
void |
setProperties(String properties) |
void |
setTemplate(ITemplate t) |
void |
setTemplateID(String id) |
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, readInputData, 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 static final String MSG_TEMPLATE_USE_WORKED
public static final String MSG_TEMPLATE_USE_FAILED
public static final String MSG_TEMPLATE_USE_CANCELLED
public ResourceEditTemplateControl()
public ResourceEditTemplateControl(String controlID)
protected void createNestedControls()
throws com.sapportals.wdf.WdfException
createNestedControls in class com.sapportals.wdf.stack.Controlcom.sapportals.wdf.WdfExceptionpublic com.sapportals.htmlb.Component render()
throws com.sapportals.wdf.WdfException
render in class com.sapportals.wdf.stack.Controlcom.sapportals.wdf.WdfExceptionpublic void receive(com.sapportals.wdf.event.WdfEvent cflEvent)
throws com.sapportals.wdf.WdfException
receive in interface com.sapportals.wdf.event.WdfEventReceiverreceive in class WcmResourceControlcflEvent - the eventcom.sapportals.wdf.WdfException - if an error occurspublic com.sapportals.wdf.event.WdfEvent onSave(com.sapportals.htmlb.event.Event event)
throws WcmException
WcmExceptionpublic com.sapportals.wdf.event.WdfEvent onCancel(com.sapportals.htmlb.event.Event event)
throws WcmException
WcmExceptionpublic com.sapportals.wdf.event.WdfEvent onExit(com.sapportals.htmlb.event.Event event)
throws WcmException
WcmExceptionpublic void setInfoMessage(String infoMessage)
public String getInfoMessage()
public void setProperties(String properties)
public String getProperties()
public void setIgnoreDefaultValues(boolean ignoreDefaultValues)
public boolean isIgnoreDefaultValues()
public com.sapportals.htmlb.Label renderLabel(com.sapportals.htmlb.Component comp,
String text,
boolean required)
throws WcmException,
com.sapportals.wdf.WdfException
comp - The componet to which the label referstext - The text of the labelrequired - booleanWcmException - WcmExceptioncom.sapportals.wdf.WdfException - WdfExceptionpublic void setTemplateID(String id)
public String getTemplateID()
public void setTemplate(ITemplate t)
public ITemplate getTemplate()
| 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