com.sapportals.wcm.rendering.base

Interface ILayoutObject

All Known Subinterfaces:
ICollectionRenderer, IResourceRenderer
All Known Implementing Classes:
AbstractCollectionRenderer, AbstractResourceRenderer, LayoutObject, LightCollectionRenderer, SlimCollectionRenderer

Deprecated. As of NetWeaver 7.1

public interface ILayoutObject


Field Summary
static String DEF_VALUE
          Deprecated.  
static String KEY
          Deprecated.  
static String LINE_BREAK
          Deprecated.  
 
Method Summary
 String getAlias()
          Deprecated. As of NetWeaver 7.1
 String getConfiguration(String format)
          Deprecated. As of NetWeaver 7.1
 IFlavor getFlavor()
          Deprecated. As of NetWeaver 7.1
 ILayoutObject getNewInstance()
          Deprecated. As of NetWeaver 7.1
 String getParameter(IParameterName key)
          Deprecated. As of NetWeaver 7.1
 IParameters getParameters()
          Deprecated. As of NetWeaver 7.1
 IParameterName[] getSupportedParameters()
          Deprecated. As of NetWeaver 7.1
 boolean is508enabled()
          Deprecated. As of NetWeaver 7.1
 void setAlias(String alias)
          Deprecated. As of NetWeaver 7.1
 void setFlavor(IFlavor flavor)
          Deprecated. As of NetWeaver 7.1
 String setParameter(IParameterName key, String value)
          Deprecated. As of NetWeaver 7.1
 void setParameters(IParameters parameters)
          Deprecated. As of NetWeaver 7.1
 void setProxy(IProxy proxy)
          Deprecated. As of NetWeaver 7.1
 

Field Detail

LINE_BREAK

static final String LINE_BREAK
Deprecated. 

KEY

static final String KEY
Deprecated. 
See Also:
Constant Field Values

DEF_VALUE

static final String DEF_VALUE
Deprecated. 
See Also:
Constant Field Values
Method Detail

getNewInstance

ILayoutObject getNewInstance()
Deprecated. As of NetWeaver 7.1

Returns:
a new instance of the implementing class

setProxy

void setProxy(IProxy proxy)
Deprecated. As of NetWeaver 7.1

is called from the factory after instantiating a new layout object to set the proxy which is needed as possible target for actions. ICollectionRenderer can use IResourceRenderer and IUICommand to render the given resource. These classes need the proxy for the rendering of their links. The implementing class needs the proxy to retrieve these classes using the respecting factory-classes ResourceRendererFactory and UICommandFactory

Parameters:
proxy - the WdfPfoxy that acts as an outer container for the rendering

getSupportedParameters

IParameterName[] getSupportedParameters()
Deprecated. As of NetWeaver 7.1

returns all parameters which are used in this layout object. Only parameters listed here will be set from the factory.

Returns:
a collection of all parameters that are used in the instance of the implementing class to modify the rendered output.
See Also:
setParameters(com.sapportals.wcm.repository.service.layout.customizing.IParameters)

getParameters

IParameters getParameters()
Deprecated. As of NetWeaver 7.1

returns all parameters used in this layout object.

Returns:
the hashtable of all parameters that are supported and set by the implementing class

setParameters

void setParameters(IParameters parameters)
Deprecated. As of NetWeaver 7.1

is called from the factory after initializing this layout object. Only parameters listed in the IParameterName[] getSupportedParameters() are set by the factory. With this method the rendering of the implementing class can be influenced. Classes can - but do not have to - react on the parameters supplied in this method

Parameters:
parameters - - the parameters retrieved from different sources (iView, OTH...) that influence the way the implementing class renders its output. If the parameter is not found in the class' getSupportedParameters, the value will not be set as parameter for this class. If for a certain key, no value is found in the given IParameters, the default value set in the class will not be overwritten. Example: The class returns as supported parameters the keys "A", "B". It has set the default parameters, so we find the key-value pairs: "A" -> a "B" -> b This method is called, with the following hashtable entries: "A" -> aa "C" -> cc After the method is called, the class holds following key-vlaue pairs: "A" -> aa (overwritten by passed hashtable values) "B" -> b (not overwritten, because the hashtable returned null for this key The key-value pair "C" -> cc is not used in the class, because the key was not found in its getSupportedParameters

setParameter

String setParameter(IParameterName key,
                    String value)
Deprecated. As of NetWeaver 7.1

Parameters:
key - - the key of the parameter
value - - the value of the parameter Overwrites an existing entry of the parameters or adds it, if it is not set. Note: The Layout Object may not act on this parameter. To retrieve a list of supported parameters from an ILayoutObject instance

getParameter

String getParameter(IParameterName key)
Deprecated. As of NetWeaver 7.1

Returns:
the current entry for the given key or null. Note: a returned null does not indicate, that the ILayoutObject does not support this parameter!

getConfiguration

String getConfiguration(String format)
Deprecated. As of NetWeaver 7.1

returns the supported parameters and the default values the class uses


is508enabled

boolean is508enabled()
Deprecated. As of NetWeaver 7.1

Returns:
flag, if this class renders its output in a way that is suited for blind people of people with viewing disabilities

setFlavor

void setFlavor(IFlavor flavor)
Deprecated. As of NetWeaver 7.1

is called from the factory after instantiating a new layout object to set the flavor information coming from the Control or ILayoutController , asking for special instances of the IResourceRenderer used by the implementing class


getFlavor

IFlavor getFlavor()
Deprecated. As of NetWeaver 7.1

Returns:
the flavor set for the implementing class

getAlias

String getAlias()
Deprecated. As of NetWeaver 7.1


setAlias

void setAlias(String alias)
Deprecated. As of NetWeaver 7.1

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