public class TemplateControl extends WcmResourceControl implements com.sapportals.wdf.event.WdfEventReceiver
WcmResourceControl.ResourceNotFoundException
START_PAGE_BROWSE, START_PAGE_DETAILS, uri
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
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, setUri
getBaseBundleString, getBaseBundleString, getBaseBundleString, getBaseBundleString, getBundleString, getBundleString, getBundleString, getBundleString, getBusinessCardLink, getImage, getParameterConfiguration, getResourceContext, getServicePageUri, handleException, isSection508Rendering, isTestMode, isVisible, readInputData, setControlContext, setResourceContext, setTestMode, setVisible
create, create, createNestedControls, createUnequivocallyComponentId, dispatchHtmlbEvent, dispatchWdfEvent, getControlContext, getDynPage, getID, getParent, getPersistenceComponentManager, getRootControl, getStackId, initialize, initializeImpl, isInitialized, register, renderPersistentProperties, resetNestedControls, restoreProperties, setID, setInitialized, setParent, setStackId, triggerInput
public TemplateControl()
public TemplateControl(String controlID)
public com.sapportals.htmlb.Component render() throws com.sapportals.wdf.WdfException
render
in class com.sapportals.wdf.stack.Control
com.sapportals.wdf.WdfException
public void receive(com.sapportals.wdf.event.WdfEvent cflEvent) throws com.sapportals.wdf.WdfException
receive
in interface com.sapportals.wdf.event.WdfEventReceiver
receive
in class WcmResourceControl
cflEvent
- the eventcom.sapportals.wdf.WdfException
- if an error occurspublic com.sapportals.wdf.event.WdfEvent onProfileSelect(com.sapportals.htmlb.event.Event event) throws WcmException
WcmException
public void restorePersistentProperties(com.sapportals.htmlb.page.DynPage document) throws com.sapportals.wdf.WdfException
restorePersistentProperties
in class com.sapportals.wdf.stack.Control
com.sapportals.wdf.WdfException
public com.sapportals.wdf.event.WdfEvent onSave(com.sapportals.htmlb.event.Event event) throws WcmException
WcmException
public com.sapportals.wdf.event.WdfEvent onExit(com.sapportals.htmlb.event.Event event) throws WcmException
WcmException
public 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
- WdfExceptionAccess 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 2018 SAP AG Complete Copyright Notice