com.sapportals.wcm.rendering.uicommand

Class AbstractUIGroupCommand

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

Deprecated. As of NetWeaver 7.1

public abstract class AbstractUIGroupCommand
extends Object
implements IUIGroupCommand

Description of the Interface


Field Summary
protected  ResourceBundles bundleFile
          Deprecated.  
protected  UIBaseCommandList commandsList
          Deprecated.  
protected  Properties configproperties
          Deprecated.  
protected  IResourceContext context
          Deprecated.  
protected  String groupID
          Deprecated.  
protected  String groupLabel
          Deprecated.  
protected  String groupLabelBundleKey
          Deprecated.  
protected  String groupTooltip
          Deprecated.  
protected  String groupTooltipBundleKey
          Deprecated.  
protected  List replaceCommand
          Deprecated.  
protected  IResource resource
          Deprecated.  
 
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()
          Deprecated.  
 
Method Summary
protected  boolean checkArchivingStauts(IResource resource)
          Deprecated. Read archiving status for the given resource and check it.
 com.sapportals.htmlb.Component getComponent()
          Deprecated. As of NetWeaver 7.1
 Properties getConfigurationProperties()
          Deprecated. As of NetWeaver 7.1
 UIBaseCommandList getGroupCommandsList()
          Deprecated. As of NetWeaver 7.1
 String getGroupID()
          Deprecated. As of NetWeaver 7.1
 String getLabel()
          Deprecated. As of NetWeaver 7.1
 String getLabelBundleKey()
          Deprecated. As of NetWeaver 7.1
 UIBaseCommandList getListWithReplaceCommands(IResource resource, AbstractProxyControl proxy)
          Deprecated. As of NetWeaver 7.1
 Hashtable getParameters()
          Deprecated. As of NetWeaver 7.1
 List getReplaceCommands()
          Deprecated. As of NetWeaver 7.1
 ResourceBundles getResourceBundle()
          Deprecated. As of NetWeaver 7.1
 UIBaseCommandList getResourceCommands(IResource resource, AbstractProxyControl proxy)
          Deprecated. As of NetWeaver 7.1
 IResourceContext getResourceContext()
          Deprecated. As of NetWeaver 7.1
 String getText(TextKey key)
          Deprecated. As of NetWeaver 7.1
 String getTooltip()
          Deprecated. As of NetWeaver 7.1
 String getTooltipBundleKey()
          Deprecated. As of NetWeaver 7.1
 void setConfigurationProperties(Properties properties)
          Deprecated. As of NetWeaver 7.1
 void setGroupCommandsList(UIBaseCommandList groupCommandsList)
          Deprecated. As of NetWeaver 7.1
 void setGroupID(String groupID)
          Deprecated. As of NetWeaver 7.1
 void setLabel(String label)
          Deprecated. As of NetWeaver 7.1
 void setLabelBundleKey(String groupLabelBundleKey)
          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 groupTooltipBundleKey)
          Deprecated. As of NetWeaver 7.1
 void writePresentConfiguration(List list, int depth, IResourceContext context)
          Deprecated. As of NetWeaver 7.1
 
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
Deprecated. 

groupID

protected String groupID
Deprecated. 

configproperties

protected Properties configproperties
Deprecated. 

replaceCommand

protected List replaceCommand
Deprecated. 

groupLabel

protected String groupLabel
Deprecated. 

groupTooltip

protected String groupTooltip
Deprecated. 

groupLabelBundleKey

protected String groupLabelBundleKey
Deprecated. 

groupTooltipBundleKey

protected String groupTooltipBundleKey
Deprecated. 

bundleFile

protected ResourceBundles bundleFile
Deprecated. 

context

protected IResourceContext context
Deprecated. 

resource

protected IResource resource
Deprecated. 
Constructor Detail

AbstractUIGroupCommand

public AbstractUIGroupCommand()
Deprecated. 
Method Detail

setGroupID

public void setGroupID(String groupID)
Deprecated. As of NetWeaver 7.1

Sets the groupID attribute of the UIGroupCommand object

Parameters:
groupID - The new groupID 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

getGroupID

public String getGroupID()
Deprecated. As of NetWeaver 7.1

Gets the groupID attribute of the UIGroupCommand object

Specified by:
getGroupID in interface IUIGroupCommand
Returns:
The groupID 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

getGroupCommandsList

public UIBaseCommandList getGroupCommandsList()
Deprecated. As of NetWeaver 7.1

Gets the groupCommandsList attribute of the UIGroupCommand object

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

setGroupCommandsList

public void setGroupCommandsList(UIBaseCommandList groupCommandsList)
Deprecated. As of NetWeaver 7.1

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)
Deprecated. As of NetWeaver 7.1

Description copied from interface: IUIGroupCommand
for debug purpose

Specified by:
writePresentConfiguration in interface IUIGroupCommand

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

getListWithReplaceCommands

public UIBaseCommandList getListWithReplaceCommands(IResource resource,
                                                    AbstractProxyControl proxy)
Deprecated. As of NetWeaver 7.1

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)
Deprecated. As of NetWeaver 7.1

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()
Deprecated. As of NetWeaver 7.1

Gets the label attribute of the UICopyCommand object

Returns:
The label value

getComponent

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

Gets the component attribute of the UIStatemanagementGroupCommand object

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

getTooltip

public String getTooltip()
Deprecated. As of NetWeaver 7.1

Gets the tooltip attribute of the IUIGroupCommand object

Returns:
The tooltip value

setLabel

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

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)
Deprecated. As of NetWeaver 7.1

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)
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

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)
Deprecated. As of NetWeaver 7.1

Sets the labelBundleKey attribute of the IUIGroupCommand object

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

getLabelBundleKey

public String getLabelBundleKey()
Deprecated. As of NetWeaver 7.1

Gets the labelBundleKey attribute of the IUIGroupCommand object

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

setTooltipBundleKey

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

Sets the tooltipBundleKey attribute of the IUIGroupCommand object

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

getTooltipBundleKey

public String getTooltipBundleKey()
Deprecated. As of NetWeaver 7.1

Gets the tooltipBundleKey attribute of the IUIGroupCommand object

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

setResourceBundle

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

Sets the bundleFile attribute of the UIGroupCommand object

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

getResourceBundle

public ResourceBundles getResourceBundle()
Deprecated. As of NetWeaver 7.1

Gets the bundleFile attribute of the UIGroupCommand object

Specified by:
getResourceBundle in interface IUIGroupCommand
Returns:
The bundleFile 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

getResourceContext

public IResourceContext getResourceContext()
Deprecated. As of NetWeaver 7.1

Sets the resourceContext attribute of the UIGroupCommand object


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

checkArchivingStauts

protected boolean checkArchivingStauts(IResource resource)
Deprecated. 
Read archiving status for the given resource and check it. Return true if the status is Null (this means ALLOWED),ALLOWED,WAITING_APPROVAL,REJECTED and FORBIDDEN if the status is null(this is A in all other cases it's returns false. This method return true in case when "Archiving service" is deactivated.

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