com.sapportals.wcm.rendering.uicommand

Class UIMenuCommand

java.lang.Object
  extended by com.sapportals.wcm.rendering.uicommand.UIMenuCommand
All Implemented Interfaces:
IRenderDataAcceptor, IUIBaseCommand, IUIMenuCommand

Deprecated. As of NetWeaver 7.1

public final class UIMenuCommand
extends Object
implements IUIMenuCommand, IRenderDataAcceptor


Field Summary
 
Fields inherited from interface com.sapportals.wcm.rendering.base.IUIBaseCommand
ERR_MESSAGE_MISSING_CONFIG_ENTRY, ERR_MESSAGE_WRONG_METHOD_CALL, KEY_INPUT_CONTROL_TEXT, KEY_INPUT_CONTROL_TEXT_2, KEY_INPUT_CONTROL_TEXT_2_DEFAULT_TEXT, KEY_INPUT_CONTROL_TEXT_3, KEY_INPUT_CONTROL_TEXT_DEFAULT_TEXT, KEY_LABEL, KEY_MASS_EMBEDDED_COMMAND_TEXT, KEY_MASS_EMBEDDED_COMMANT_TOOLTIP, KEY_SINGLE_EMBEDDED_COMMAND_TEXT, KEY_SINGLE_EMBEDDED_COMMAND_TOOLTIP, KEY_TOOLTIP, LINE_BREAK, TEXT_KEYS, VALUE_EMPTY_STRING
 
Constructor Summary
UIMenuCommand(IUIBaseCommand command)
          Deprecated. As of NetWeaver 7.1
UIMenuCommand(IUIBaseCommand command, boolean mandatory)
          Deprecated. As of NetWeaver 7.1
UIMenuCommand(IUIBaseCommand command, boolean mandatory, boolean defaultCommand)
          Deprecated. As of NetWeaver 7.1
 
Method Summary
 IUIBaseCommand getCommand()
          Deprecated. As of NetWeaver 7.1
 com.sapportals.htmlb.Component getComponent()
          Deprecated. As of NetWeaver 7.1
 Properties getConfigurationProperties()
          Deprecated. As of NetWeaver 7.1
 String getLabel()
          Deprecated. As of NetWeaver 7.1
 Hashtable getParameters()
          Deprecated. As of NetWeaver 7.1
 List getReplaceCommands()
          Deprecated. As of NetWeaver 7.1
 String getText(TextKey key)
          Deprecated. As of NetWeaver 7.1
 String getTooltip()
          Deprecated. As of NetWeaver 7.1
 boolean isDefault()
          Deprecated. As of NetWeaver 7.1
 boolean isEnabled()
          Deprecated. As of NetWeaver 7.1
 boolean isExpanded()
          Deprecated. As of NetWeaver 7.1
 boolean isIncluded()
          Deprecated. As of NetWeaver 7.1
 boolean isMandatory()
          Deprecated. As of NetWeaver 7.1
 void setCommandData(RenderDataContainer data)
          Deprecated. As of NetWeaver 7.1
 void setConfigurationProperties(Properties properties)
          Deprecated. As of NetWeaver 7.1
 void setDefault(boolean flag)
          Deprecated. As of NetWeaver 7.1
 void setEnabled(boolean enabled)
          Deprecated. As of NetWeaver 7.1
 void setExpanded(boolean expanded)
          Deprecated. As of NetWeaver 7.1
 void setIncluded(boolean included)
          Deprecated. As of NetWeaver 7.1
 void setLabel(String label)
          Deprecated. As of NetWeaver 7.1
 void setLabelBundleKey(String groupLabel)
          Deprecated. As of NetWeaver 7.1
 void setMandatory(boolean mandatory)
          Deprecated. As of NetWeaver 7.1
 void setParameters(Hashtable parameters)
          Deprecated. As of NetWeaver 7.1
 void setProxy(AbstractProxyControl proxy)
          Deprecated. As of NetWeaver 7.1
 void setReplaceCommands(List replaceCommandsList)
          Deprecated. As of NetWeaver 7.1
 void setResource(IResource resource)
          Deprecated. As of NetWeaver 7.1
 void setResourceBundle(ResourceBundles bundleFile)
          Deprecated. As of NetWeaver 7.1
 void setResourceContext(IResourceContext context)
          Deprecated. As of NetWeaver 7.1
 void setTooltip(String tooltip)
          Deprecated. As of NetWeaver 7.1
 void setTooltipBundleKey(String groupTooltip)
          Deprecated. As of NetWeaver 7.1
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIMenuCommand

public UIMenuCommand(IUIBaseCommand command)
Deprecated. As of NetWeaver 7.1


UIMenuCommand

public UIMenuCommand(IUIBaseCommand command,
                     boolean mandatory)
Deprecated. As of NetWeaver 7.1


UIMenuCommand

public UIMenuCommand(IUIBaseCommand command,
                     boolean mandatory,
                     boolean defaultCommand)
Deprecated. As of NetWeaver 7.1

Method Detail

setResourceBundle

public void setResourceBundle(ResourceBundles bundleFile)
Deprecated. As of NetWeaver 7.1

Specified by:
setResourceBundle in interface IUIBaseCommand
Parameters:
bundleFile - The new resourceBundle value

setLabelBundleKey

public void setLabelBundleKey(String groupLabel)
Deprecated. As of NetWeaver 7.1

Description copied from interface: IUIBaseCommand
Sets the labelBundleKey attribute of the IUIBaseCommand object

Specified by:
setLabelBundleKey in interface IUIBaseCommand
Parameters:
groupLabel - The new labelBundleKey value

setTooltipBundleKey

public void setTooltipBundleKey(String groupTooltip)
Deprecated. As of NetWeaver 7.1

Description copied from interface: IUIBaseCommand
Sets the tooltipBundleKey attribute of the IUIBaseCommand object

Specified by:
setTooltipBundleKey in interface IUIBaseCommand
Parameters:
groupTooltip - The new tooltipBundleKey value

getLabel

public String getLabel()
Deprecated. As of NetWeaver 7.1

Gets the label attribute of the UICopyCommand object

Returns:
The label value

getText

public String getText(TextKey key)
Deprecated. As of NetWeaver 7.1

Description copied from interface: IUIBaseCommand
Gets the text for a givven text key

Specified by:
getText in interface IUIBaseCommand
Parameters:
key - the input TextKey
Returns:
The text value

getTooltip

public String getTooltip()
Deprecated. As of NetWeaver 7.1

Gets the tooltip attribute of the UICopyCommand object

Returns:
The tooltip value

getComponent

public com.sapportals.htmlb.Component getComponent()
Deprecated. As of NetWeaver 7.1

Specified by:
getComponent in interface IUIBaseCommand
Returns:
a Component to use in a link or a button, e.g. a Trash-Can-Icon for delete

setLabel

public void setLabel(String label)
Deprecated. As of NetWeaver 7.1

Sets the label attribute of the UIGroupCommand object

Parameters:
label - The new label value

setTooltip

public void setTooltip(String tooltip)
Deprecated. As of NetWeaver 7.1

Sets the tooltip attribute of the UIGroupCommand object

Parameters:
tooltip - The new tooltip value

getCommand

public IUIBaseCommand getCommand()
Deprecated. As of NetWeaver 7.1

Gets the newInstance attribute of the UIRatingCommand object

Specified by:
getCommand in interface IUIMenuCommand
Returns:
The newInstance value

setMandatory

public void setMandatory(boolean mandatory)
Deprecated. As of NetWeaver 7.1

Description copied from interface: IUIMenuCommand
Sets the mandatory attribute of the IUIMenuCommand object

Specified by:
setMandatory in interface IUIMenuCommand
Parameters:
mandatory - The new mandatory value

isMandatory

public boolean isMandatory()
Deprecated. As of NetWeaver 7.1

Description copied from interface: IUIMenuCommand
Gets the mandatory attribute of the IUIMenuCommand object

Specified by:
isMandatory in interface IUIMenuCommand
Returns:
The mandatory value

setConfigurationProperties

public void setConfigurationProperties(Properties properties)
Deprecated. As of NetWeaver 7.1

Specified by:
setConfigurationProperties in interface IUIBaseCommand
Parameters:
properties - The new configurationProperties value

getConfigurationProperties

public Properties getConfigurationProperties()
Deprecated. As of NetWeaver 7.1

Description copied from interface: IUIBaseCommand
Gets the configurationProperties attribute of the IUIBaseCommand object

Specified by:
getConfigurationProperties in interface IUIBaseCommand
Returns:
The configurationProperties value

setEnabled

public void setEnabled(boolean enabled)
Deprecated. As of NetWeaver 7.1

Description copied from interface: IUIMenuCommand
Sets the enabled attribute of the IUIMenuCommand object

Specified by:
setEnabled in interface IUIMenuCommand
Parameters:
enabled - The new enabled value

isEnabled

public boolean isEnabled()
Deprecated. As of NetWeaver 7.1

Description copied from interface: IUIMenuCommand
Gets the enabled attribute of the IUIMenuCommand object

Specified by:
isEnabled in interface IUIMenuCommand
Returns:
The enabled value

setResource

public void setResource(IResource resource)
Deprecated. As of NetWeaver 7.1

Specified by:
setResource in interface IUIBaseCommand
Parameters:
resource - sets the resource the command shall operate on

setProxy

public void setProxy(AbstractProxyControl proxy)
Deprecated. As of NetWeaver 7.1

Description copied from interface: IUIBaseCommand
Sets the proxy attribute of the IUIBaseCommand object

Specified by:
setProxy in interface IUIBaseCommand
Parameters:
proxy - The new proxy value

setResourceContext

public void setResourceContext(IResourceContext context)
Deprecated. As of NetWeaver 7.1

Sets the resourceContext attribute of the UIGroupCommand object

Specified by:
setResourceContext in interface IUIBaseCommand
Parameters:
context - The new resourceContext value

setExpanded

public void setExpanded(boolean expanded)
Deprecated. As of NetWeaver 7.1

Sets the expanded attribute of the IUIMenuCommand object

Specified by:
setExpanded in interface IUIMenuCommand
Parameters:
expanded - The new expanded value

isExpanded

public boolean isExpanded()
Deprecated. As of NetWeaver 7.1

Gets the expanded attribute of the IUIMenuCommand object

Specified by:
isExpanded in interface IUIMenuCommand
Returns:
The expanded value

getReplaceCommands

public List getReplaceCommands()
Deprecated. As of NetWeaver 7.1

gets the list of commands which will be ignored when the command is executable

Specified by:
getReplaceCommands in interface IUIBaseCommand
Returns:
The replaceCommands value

setReplaceCommands

public void setReplaceCommands(List replaceCommandsList)
Deprecated. As of NetWeaver 7.1

set the list of commands which will be ignored when the command is executable

Specified by:
setReplaceCommands in interface IUIBaseCommand
Parameters:
replaceCommandsList - The new replaceCommands value

setParameters

public void setParameters(Hashtable parameters)
Deprecated. As of NetWeaver 7.1

Sets parameters for the command. Each parameters should have an unique key and one or more values.

Specified by:
setParameters in interface IUIBaseCommand
Parameters:
parameters - The new parameters value

getParameters

public Hashtable getParameters()
Deprecated. As of NetWeaver 7.1

Gets the command parameters

Specified by:
getParameters in interface IUIBaseCommand
Returns:
The parameters value

setIncluded

public void setIncluded(boolean included)
Deprecated. As of NetWeaver 7.1

Sets the include attribute of the UIMenuCommand object

Specified by:
setIncluded in interface IUIMenuCommand
Parameters:
included - The new expanded value

isIncluded

public boolean isIncluded()
Deprecated. As of NetWeaver 7.1

Gets the include attribute of the IUIMenuCommand object

Specified by:
isIncluded in interface IUIMenuCommand
Returns:
The include value

isDefault

public boolean isDefault()
Deprecated. As of NetWeaver 7.1

Specified by:
isDefault in interface IUIMenuCommand

setDefault

public void setDefault(boolean flag)
Deprecated. As of NetWeaver 7.1

Specified by:
setDefault in interface IUIMenuCommand

setCommandData

public void setCommandData(RenderDataContainer data)
Deprecated. As of NetWeaver 7.1

Specified by:
setCommandData in interface IRenderDataAcceptor
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