public class TemplateControl extends WcmResourceControl implements com.sapportals.wdf.event.WdfEventReceiver
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 |
|---|
TemplateControl() |
TemplateControl(String controlID) |
| Modifier and Type | Method and Description |
|---|---|
String |
getInfoMessage() |
String |
getProfiles() |
boolean |
getSendOverviewEvent() |
String |
getTemplates() |
boolean |
isAsSubmenu() |
boolean |
isInitial() |
com.sapportals.wdf.event.WdfEvent |
onExit(com.sapportals.htmlb.event.Event event) |
com.sapportals.wdf.event.WdfEvent |
onProfileSelect(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 |
restorePersistentProperties(com.sapportals.htmlb.page.DynPage document) |
void |
setAsSubmenu(boolean asSubmenu) |
void |
setInfoMessage(String infoMessage) |
void |
setInitial(boolean init) |
void |
setProfiles(String profiles) |
void |
setSendOverviewEvent(boolean sendOverviewEvent) |
void |
setTemplates(String templates) |
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, createNestedControls, createUnequivocallyComponentId, dispatchHtmlbEvent, dispatchWdfEvent, getControlContext, getDynPage, getID, getParent, getPersistenceComponentManager, getRootControl, getStackId, initialize, initializeImpl, isInitialized, register, renderPersistentProperties, resetNestedControls, restoreProperties, setID, setInitialized, setParent, setStackId, triggerInputpublic TemplateControl()
public TemplateControl(String controlID)
public 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 onProfileSelect(com.sapportals.htmlb.event.Event event)
throws WcmException
WcmExceptionpublic void restorePersistentProperties(com.sapportals.htmlb.page.DynPage document)
throws com.sapportals.wdf.WdfException
restorePersistentProperties in class com.sapportals.wdf.stack.Controlcom.sapportals.wdf.WdfExceptionpublic com.sapportals.wdf.event.WdfEvent onSave(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 setSendOverviewEvent(boolean sendOverviewEvent)
public boolean getSendOverviewEvent()
public String getProfiles()
public void setProfiles(String profiles)
public String getTemplates()
public void setTemplates(String templates)
public boolean isAsSubmenu()
public void setInitial(boolean init)
public boolean isInitial()
public void setAsSubmenu(boolean asSubmenu)
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 - requiredWcmException - WcmExceptioncom.sapportals.wdf.WdfException - WdfException| 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