com.sapportals.wcm.control.edit

Class TemplateControl

java.lang.Object
  extended by com.sapportals.wdf.stack.Control
      extended by com.sapportals.wcm.control.base.WcmBaseControl
          extended by com.sapportals.wcm.control.base.WcmResourceControl
              extended by com.sapportals.wcm.control.edit.TemplateControl
All Implemented Interfaces:
com.sapportals.wdf.event.WdfEventReceiver

public class TemplateControl
extends WcmResourceControl
implements com.sapportals.wdf.event.WdfEventReceiver

Copyright 2004 SAP AG


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sapportals.wcm.control.base.WcmResourceControl
WcmResourceControl.ResourceNotFoundException
 
Field Summary
 
Fields inherited from class com.sapportals.wcm.control.base.WcmResourceControl
START_PAGE_BROWSE, START_PAGE_DETAILS, uri
 
Fields inherited from class com.sapportals.wcm.control.base.WcmBaseControl
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
 
Fields inherited from class com.sapportals.wdf.stack.Control
id
 
Constructor Summary
TemplateControl()
           
TemplateControl(String controlID)
           
 
Method Summary
 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)
           
 
Methods inherited from class com.sapportals.wcm.control.base.WcmResourceControl
checkArchivingStauts, getAOStates, getDetailsPageUri, getResource, getResourceLink, getResourceList, getSafeResource, getUri, setResource, setUri
 
Methods inherited from class com.sapportals.wcm.control.base.WcmBaseControl
getBaseBundleString, getBaseBundleString, getBaseBundleString, getBaseBundleString, getBundleString, getBundleString, getBundleString, getBundleString, getBusinessCardLink, getImage, getParameterConfiguration, getResourceContext, getServicePageUri, handleException, isSection508Rendering, isTestMode, isVisible, readInputData, setControlContext, setResourceContext, setTestMode, setVisible
 
Methods inherited from class com.sapportals.wdf.stack.Control
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateControl

public TemplateControl()

TemplateControl

public TemplateControl(String controlID)
Method Detail

render

public com.sapportals.htmlb.Component render()
                                      throws com.sapportals.wdf.WdfException
Specified by:
render in class com.sapportals.wdf.stack.Control
Throws:
com.sapportals.wdf.WdfException

receive

public void receive(com.sapportals.wdf.event.WdfEvent cflEvent)
             throws com.sapportals.wdf.WdfException
event reveiver

Specified by:
receive in interface com.sapportals.wdf.event.WdfEventReceiver
Overrides:
receive in class WcmResourceControl
Throws:
com.sapportals.wdf.WdfException

onProfileSelect

public com.sapportals.wdf.event.WdfEvent onProfileSelect(com.sapportals.htmlb.event.Event event)
                                                  throws WcmException
Throws:
WcmException

restorePersistentProperties

public void restorePersistentProperties(com.sapportals.htmlb.page.DynPage document)
                                 throws com.sapportals.wdf.WdfException
Overrides:
restorePersistentProperties in class com.sapportals.wdf.stack.Control
Throws:
com.sapportals.wdf.WdfException

onSave

public com.sapportals.wdf.event.WdfEvent onSave(com.sapportals.htmlb.event.Event event)
                                         throws WcmException
Throws:
WcmException

onExit

public com.sapportals.wdf.event.WdfEvent onExit(com.sapportals.htmlb.event.Event event)
                                         throws WcmException
Throws:
WcmException

setInfoMessage

public void setInfoMessage(String infoMessage)

getInfoMessage

public String getInfoMessage()

setSendOverviewEvent

public void setSendOverviewEvent(boolean sendOverviewEvent)

getSendOverviewEvent

public boolean getSendOverviewEvent()

getProfiles

public String getProfiles()

setProfiles

public void setProfiles(String profiles)

getTemplates

public String getTemplates()

setTemplates

public void setTemplates(String templates)

isAsSubmenu

public boolean isAsSubmenu()

setInitial

public void setInitial(boolean init)

isInitial

public boolean isInitial()

setAsSubmenu

public void setAsSubmenu(boolean asSubmenu)

renderLabel

public com.sapportals.htmlb.Label renderLabel(com.sapportals.htmlb.Component comp,
                                              String text,
                                              boolean required)
                                       throws WcmException,
                                              com.sapportals.wdf.WdfException
Creates a label

Parameters:
comp - The componet to which the label refers
text - The text of the label
Returns:
Label for the given component
Throws:
WcmException
com.sapportals.wdf.WdfException
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/nonwduideprecated api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice