com.sapportals.wcm.rendering.uicommand

Class AbstractUIGroupCommand

java.lang.Object
  extended bycom.sapportals.wcm.rendering.uicommand.AbstractUIGroupCommand
All Implemented Interfaces:
IUIBaseCommand, IUIGroupCommand
Direct Known Subclasses:
UIGroupCommand

public abstract class AbstractUIGroupCommand
extends Object
implements IUIGroupCommand

Description of the Interface


Field Summary
protected  ResourceBundles bundleFile
           
protected  UIBaseCommandList commandsList
           
protected  Properties configproperties
           
protected  IResourceContext context
           
protected  String groupID
           
protected  String groupLabel
           
protected  String groupLabelBundleKey
           
protected  String groupTooltip
           
protected  String groupTooltipBundleKey
           
protected  List replaceCommand
           
protected  IResource resource
           
 
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
AbstractUIGroupCommand()
           
 
Method Summary
 Component getComponent()
          Gets the component attribute of the UIStatemanagementGroupCommand object
 Properties getConfigurationProperties()
          Gets the configurationProperties attribute of the IUIBaseCommand object
 UIBaseCommandList getGroupCommandsList()
          Gets the groupCommandsList attribute of the UIGroupCommand object
 String getGroupID()
          Gets the groupID attribute of the UIGroupCommand object
 String getLabel()
          Gets the label attribute of the UICopyCommand object
 String getLabelBundleKey()
          Gets the labelBundleKey attribute of the IUIGroupCommand object
 UIBaseCommandList getListWithReplaceCommands(IResource resource, AbstractProxyControl proxy)
          Parses the commans list and
 Hashtable getParameters()
          Gets the command parameters
 List getReplaceCommands()
          gets the list of commands which will be ignored when the command is executable
 ResourceBundles getResourceBundle()
          Gets the bundleFile attribute of the UIGroupCommand object
 UIBaseCommandList getResourceCommands(IResource resource, AbstractProxyControl proxy)
          Gets the IUIBaseCommands list for the givven resource
 IResourceContext getResourceContext()
          Sets the resourceContext attribute of the UIGroupCommand object
 String getText(TextKey key)
          Gets the text for a givven text key
 String getTooltip()
          Gets the tooltip attribute of the IUIGroupCommand object
 String getTooltipBundleKey()
          Gets the tooltipBundleKey attribute of the IUIGroupCommand object
 void setConfigurationProperties(Properties properties)
           
 void setGroupCommandsList(UIBaseCommandList groupCommandsList)
          Sets the groupCommandsList attribute of the UIGroupCommand object
 void setGroupID(String groupID)
          Sets the groupID attribute of the UIGroupCommand object
 void setLabel(String label)
          Sets the label attribute of the UIGroupCommand object
 void setLabelBundleKey(String groupLabelBundleKey)
          Sets the labelBundleKey attribute of the IUIGroupCommand object
 void setParameters(Hashtable parameters)
          Sets parameters for the command.
 void setProxy(AbstractProxyControl proxy)
          Sets the proxy attribute of the UIStatemanagementGroupCommand object
 void setReplaceCommands(List replaceCommandsList)
          set the list of commands which will be ignored when the command is executable
 void setResource(IResource resource)
           
 void setResourceBundle(ResourceBundles bundleFile)
          Sets the bundleFile attribute of the UIGroupCommand object
 void setResourceContext(IResourceContext context)
          Sets the resourceContext attribute of the UIGroupCommand object
 void setTooltip(String tooltip)
          Sets the tooltip attribute of the UIGroupCommand object
 void setTooltipBundleKey(String groupTooltipBundleKey)
          Sets the tooltipBundleKey attribute of the IUIGroupCommand object
 void writePresentConfiguration(List list, int depth, IResourceContext context)
          for debug purpose
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sapportals.wcm.rendering.uicommand.IUIGroupCommand
getNewInstance, getNewInstance
 

Field Detail

commandsList

protected UIBaseCommandList commandsList

groupID

protected String groupID

configproperties

protected Properties configproperties

replaceCommand

protected List replaceCommand

groupLabel

protected String groupLabel

groupTooltip

protected String groupTooltip

groupLabelBundleKey

protected String groupLabelBundleKey

groupTooltipBundleKey

protected String groupTooltipBundleKey

bundleFile

protected ResourceBundles bundleFile

context

protected IResourceContext context

resource

protected IResource resource
Constructor Detail

AbstractUIGroupCommand

public AbstractUIGroupCommand()
Method Detail

setGroupID

public void setGroupID(String groupID)
Sets the groupID attribute of the UIGroupCommand object

Parameters:
groupID - The new groupID value

setConfigurationProperties

public void setConfigurationProperties(Properties properties)
Specified by:
setConfigurationProperties in interface IUIBaseCommand
Parameters:
properties - The new configurationProperties value

getConfigurationProperties

public Properties getConfigurationProperties()
Description copied from interface: IUIBaseCommand
Gets the configurationProperties attribute of the IUIBaseCommand object

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

getGroupID

public String getGroupID()
Gets the groupID attribute of the UIGroupCommand object

Specified by:
getGroupID in interface IUIGroupCommand
Returns:
The groupID value

getText

public String getText(TextKey key)
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

getGroupCommandsList

public UIBaseCommandList getGroupCommandsList()
Gets the groupCommandsList attribute of the UIGroupCommand object

Specified by:
getGroupCommandsList in interface IUIGroupCommand
Returns:
The groupCommandsList value

setGroupCommandsList

public void setGroupCommandsList(UIBaseCommandList groupCommandsList)
Sets the groupCommandsList attribute of the UIGroupCommand object

Specified by:
setGroupCommandsList in interface IUIGroupCommand
Parameters:
groupCommandsList - The new groupCommandsList value

writePresentConfiguration

public void writePresentConfiguration(List list,
                                      int depth,
                                      IResourceContext context)
Description copied from interface: IUIGroupCommand
for debug purpose

Specified by:
writePresentConfiguration in interface IUIGroupCommand
Parameters:
list -
depth -
context -

getReplaceCommands

public List getReplaceCommands()
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)
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

getListWithReplaceCommands

public UIBaseCommandList getListWithReplaceCommands(IResource resource,
                                                    AbstractProxyControl proxy)
Description copied from interface: IUIGroupCommand
Parses the commans list and

Specified by:
getListWithReplaceCommands in interface IUIGroupCommand
Parameters:
resource - the IResource for which the command list is requiered
proxy - the proxy where the group is rendered
Returns:
The UIBaseCommandList resulted

getResourceCommands

public UIBaseCommandList getResourceCommands(IResource resource,
                                             AbstractProxyControl proxy)
Description copied from interface: IUIGroupCommand
Gets the IUIBaseCommands list for the givven resource

Specified by:
getResourceCommands in interface IUIGroupCommand
Parameters:
resource - the IResource for which the command list is requiered
proxy - the proxy where the group is rendered
Returns:
The UIBaseCommandList resulted

getLabel

public String getLabel()
Gets the label attribute of the UICopyCommand object

Returns:
The label value

getComponent

public Component getComponent()
Gets the component attribute of the UIStatemanagementGroupCommand object

Specified by:
getComponent in interface IUIBaseCommand
Returns:
The component value

getTooltip

public String getTooltip()
Gets the tooltip attribute of the IUIGroupCommand object

Returns:
The tooltip value

setLabel

public void setLabel(String label)
Sets the label attribute of the UIGroupCommand object

Specified by:
setLabel in interface IUIGroupCommand
Parameters:
label - The new label value

setTooltip

public void setTooltip(String tooltip)
Sets the tooltip attribute of the UIGroupCommand object

Specified by:
setTooltip in interface IUIGroupCommand
Parameters:
tooltip - The new tooltip value

setResource

public void setResource(IResource resource)
Specified by:
setResource in interface IUIBaseCommand
Parameters:
resource - sets the resource the command shall operate on

setProxy

public void setProxy(AbstractProxyControl proxy)
Sets the proxy attribute of the UIStatemanagementGroupCommand object

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

setLabelBundleKey

public void setLabelBundleKey(String groupLabelBundleKey)
Sets the labelBundleKey attribute of the IUIGroupCommand object

Specified by:
setLabelBundleKey in interface IUIGroupCommand
Parameters:
groupLabelBundleKey - The new labelBundleKey value

getLabelBundleKey

public String getLabelBundleKey()
Gets the labelBundleKey attribute of the IUIGroupCommand object

Specified by:
getLabelBundleKey in interface IUIGroupCommand
Returns:
The labelBundleKey value

setTooltipBundleKey

public void setTooltipBundleKey(String groupTooltipBundleKey)
Sets the tooltipBundleKey attribute of the IUIGroupCommand object

Specified by:
setTooltipBundleKey in interface IUIGroupCommand
Parameters:
groupTooltipBundleKey - The new tooltipBundleKey value

getTooltipBundleKey

public String getTooltipBundleKey()
Gets the tooltipBundleKey attribute of the IUIGroupCommand object

Specified by:
getTooltipBundleKey in interface IUIGroupCommand
Returns:
The tooltipBundleKey value

setResourceBundle

public void setResourceBundle(ResourceBundles bundleFile)
Sets the bundleFile attribute of the UIGroupCommand object

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

getResourceBundle

public ResourceBundles getResourceBundle()
Gets the bundleFile attribute of the UIGroupCommand object

Specified by:
getResourceBundle in interface IUIGroupCommand
Returns:
The bundleFile value

setResourceContext

public void setResourceContext(IResourceContext context)
Sets the resourceContext attribute of the UIGroupCommand object

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

getResourceContext

public IResourceContext getResourceContext()
Sets the resourceContext attribute of the UIGroupCommand object


setParameters

public void setParameters(Hashtable parameters)
Sets parameters for the command. Each parameters should have an unique key and one or more values.

Specified by:
setParameters in interface IUIBaseCommand

getParameters

public Hashtable getParameters()
Gets the command parameters

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


Copyright 2006 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Microsoft, Windows, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. MaxDB is a trademark of MySQL AB, Sweden. SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.