public interface ILayoutObject
Modifier and Type | Field and Description |
---|---|
static String |
DEF_VALUE
Deprecated.
|
static String |
KEY
Deprecated.
|
static String |
LINE_BREAK
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
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
|
static final String LINE_BREAK
static final String KEY
static final String DEF_VALUE
ILayoutObject getNewInstance()
void setProxy(IProxy proxy)
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
proxy
- the WdfPfoxy that acts as an outer container for the renderingIParameterName[] getSupportedParameters()
setParameters(com.sapportals.wcm.repository.service.layout.customizing.IParameters)
IParameters getParameters()
void setParameters(IParameters parameters)
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 methodparameters
- - 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:
k: "A" v: a
k: "B" v: b
This method is called, with the following hashtable entries:
k: "A" v: aa
k: "C" v: cc
After the method is called, the class holds following key-vlaue pairs:
k: "A" v: aa (overwritten by passed hashtable values)
k: "B" v: b (not overwritten, because the hashtable returned null
for this key
The key-value pair k: "C" v: cc is not used in the class, because the key was not found in its
getSupportedParameters
String setParameter(IParameterName key, String value)
key
- - the key of the parametervalue
- - 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
instanceString getParameter(IParameterName key)
key
- keynull
. Note: a
returned null
does not indicate, that the ILayoutObject
does not support this parameter!String getConfiguration(String format)
format
- formatboolean is508enabled()
void setFlavor(IFlavor flavor)
Control
or ILayoutController
,
asking for special instances of the IResourceRenderer
used by the implementing classflavor
- flavorIFlavor getFlavor()
String getAlias()
void setAlias(String alias)
alias
- aliasAccess Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com]
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice