com.sapportals.wcm.control.edit

Class ResourceSystemPropertyControl

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.ResourceSystemPropertyControl
All Implemented Interfaces:
com.sapportals.wdf.event.WdfEventReceiver

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

Displays system properties (defined by CM applications).

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
ResourceSystemPropertyControl()
           
 
Method Summary
 boolean canSave()
          Workaround for composite control usage.
 String getDescription()
          Gets the description attribute of the ResourceSystemPropertyControl object
 String getDisplayName()
          Gets the displayName attribute of the ResourceSystemPropertyControl object
 boolean getShowSaveButton()
          Gets the showSaveButton attribute of the ResourceSystemPropertyControl object
 boolean getShowUrlGrabberDetailsEntry()
          Gets the showUrlGrabberDetailsEntry attribute of the ResourceSystemPropertyControl object
 boolean getShowUrlGrabberExplorerEntry()
          Gets the showUrlGrabberExplorerEntry attribute of the ResourceSystemPropertyControl object
 boolean getShowUrlGrabberTargetEntry()
          Gets the showUrlGrabberTargetEntry attribute of the ResourceSystemPropertyControl object
 boolean getUiDetailsHeader()
          Gets the uiDetailsHeader attribute of the ResourceSystemPropertyControl object
 com.sapportals.wdf.event.WdfEvent onSaveAllChanges(com.sapportals.htmlb.event.Event event)
          Description of the Method
protected  void readInputData()
           
 void receive(com.sapportals.wdf.event.WdfEvent wdfEvent)
          Description of the Method
 com.sapportals.htmlb.Component render()
          Return the GridLayout that contains all the controls sub controls.
 void setDescription(String description)
          Sets the description attribute of the ResourceSystemPropertyControl object
 void setDisplayName(String displayName)
          Sets the displayName attribute of the ResourceSystemPropertyControl object
 void setShowSaveButton(boolean showSaveButton)
          Sets the showSaveButton attribute of the ResourceSystemPropertyControl object
 void setShowUrlGrabberDetailsEntry(boolean showUrlGrabberDetailsEntry)
          Sets the showUrlGrabberDetailsEntry attribute of the ResourceSystemPropertyControl object
 void setShowUrlGrabberExplorerEntry(boolean showUrlGrabberExplorerEntry)
          Sets the showUrlGrabberExplorerEntry attribute of the ResourceSystemPropertyControl object
 void setShowUrlGrabberTargetEntry(boolean showUrlGrabberTargetEntry)
          Sets the showUrlGrabberTargetEntry attribute of the ResourceSystemPropertyControl object
 void setUiDetailsHeader(boolean uiDetails)
          Sets the uiDetailsHeader attribute of the ResourceSystemPropertyControl object
 
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, 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, restorePersistentProperties, 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

ResourceSystemPropertyControl

public ResourceSystemPropertyControl()
Method Detail

setDisplayName

public void setDisplayName(String displayName)
Sets the displayName attribute of the ResourceSystemPropertyControl object

Parameters:
displayName - The new displayName value

getDisplayName

public String getDisplayName()
Gets the displayName attribute of the ResourceSystemPropertyControl object

Returns:
The displayName value

setDescription

public void setDescription(String description)
Sets the description attribute of the ResourceSystemPropertyControl object

Parameters:
description - The new description value

getDescription

public String getDescription()
Gets the description attribute of the ResourceSystemPropertyControl object

Returns:
The description value

getShowUrlGrabberTargetEntry

public boolean getShowUrlGrabberTargetEntry()
Gets the showUrlGrabberTargetEntry attribute of the ResourceSystemPropertyControl object

Returns:
The showUrlGrabberTargetEntry value

setShowUrlGrabberTargetEntry

public void setShowUrlGrabberTargetEntry(boolean showUrlGrabberTargetEntry)
Sets the showUrlGrabberTargetEntry attribute of the ResourceSystemPropertyControl object

Parameters:
showUrlGrabberTargetEntry - The new showUrlGrabberTargetEntry value

getShowUrlGrabberExplorerEntry

public boolean getShowUrlGrabberExplorerEntry()
Gets the showUrlGrabberExplorerEntry attribute of the ResourceSystemPropertyControl object

Returns:
The showUrlGrabberExplorerEntry value

setShowUrlGrabberExplorerEntry

public void setShowUrlGrabberExplorerEntry(boolean showUrlGrabberExplorerEntry)
Sets the showUrlGrabberExplorerEntry attribute of the ResourceSystemPropertyControl object

Parameters:
showUrlGrabberExplorerEntry - The new showUrlGrabberExplorerEntry value

getShowUrlGrabberDetailsEntry

public boolean getShowUrlGrabberDetailsEntry()
Gets the showUrlGrabberDetailsEntry attribute of the ResourceSystemPropertyControl object

Returns:
The showUrlGrabberDetailsEntry value

setShowUrlGrabberDetailsEntry

public void setShowUrlGrabberDetailsEntry(boolean showUrlGrabberDetailsEntry)
Sets the showUrlGrabberDetailsEntry attribute of the ResourceSystemPropertyControl object

Parameters:
showUrlGrabberDetailsEntry - The new showUrlGrabberDetailsEntry value

getShowSaveButton

public boolean getShowSaveButton()
Gets the showSaveButton attribute of the ResourceSystemPropertyControl object

Returns:
The showSaveButton value

setShowSaveButton

public void setShowSaveButton(boolean showSaveButton)
Sets the showSaveButton attribute of the ResourceSystemPropertyControl object

Parameters:
showSaveButton - The new showSaveButton value

setUiDetailsHeader

public void setUiDetailsHeader(boolean uiDetails)
Sets the uiDetailsHeader attribute of the ResourceSystemPropertyControl object

Parameters:
uiDetails - The new uiDetailsHeader value

getUiDetailsHeader

public boolean getUiDetailsHeader()
Gets the uiDetailsHeader attribute of the ResourceSystemPropertyControl object

Returns:
The uiDetailsHeader value

canSave

public boolean canSave()
                throws WcmException,
                       com.sapportals.wdf.WdfException
Workaround for composite control usage.

Returns:
Description of the Return Value
Throws:
WcmException - Exception raised in failure situation
com.sapportals.wdf.WdfException - Exception raised in failure situation

render

public com.sapportals.htmlb.Component render()
                                      throws com.sapportals.wdf.WdfException
Return the GridLayout that contains all the controls sub controls. Needs to be implemented by the derivced control class.

Specified by:
render in class com.sapportals.wdf.stack.Control
Returns:
Description of the Return Value
Throws:
com.sapportals.wdf.WdfException - Exception raised in failure situation
<{WcmException}>

receive

public void receive(com.sapportals.wdf.event.WdfEvent wdfEvent)
             throws com.sapportals.wdf.WdfException
Description of the Method

Specified by:
receive in interface com.sapportals.wdf.event.WdfEventReceiver
Overrides:
receive in class WcmResourceControl
Parameters:
wdfEvent - Description of the param
Throws:
com.sapportals.wdf.WdfException - Exception raised in failure situation

onSaveAllChanges

public com.sapportals.wdf.event.WdfEvent onSaveAllChanges(com.sapportals.htmlb.event.Event event)
                                                   throws com.sapportals.wdf.WdfException
Description of the Method

Parameters:
event - Description of the param
Returns:
Description of the Return Value
Throws:
com.sapportals.wdf.WdfException - Exception raised in failure situation

readInputData

protected void readInputData()
                      throws com.sapportals.wdf.WdfException
Overrides:
readInputData in class WcmBaseControl
Throws:
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