|
SAP NetWeaver 7.40 SP 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wcm.rendering.base.LayoutObject
public class LayoutObject
| Field Summary | |
|---|---|
protected IParameterName[] |
supportedParameterKeys
Deprecated. |
| Fields inherited from interface com.sapportals.wcm.rendering.base.ILayoutObject |
|---|
DEF_VALUE, KEY, LINE_BREAK |
| Constructor Summary | |
|---|---|
LayoutObject()
Deprecated. As of NetWeaver 7.1 |
|
| Method Summary | |
|---|---|
Object |
get(String key)
Deprecated. As of NetWeaver 7.1 |
String |
getAlias()
Deprecated. As of NetWeaver 7.1 |
boolean |
getBooleanValue(IParameterName key,
boolean defaultValue)
Deprecated. As of NetWeaver 7.1 |
boolean |
getBooleanValue(String key,
boolean defaultValue)
Deprecated. As of NetWeaver 7.1 |
String |
getConfiguration(String format)
Deprecated. As of NetWeaver 7.1 |
IFlavor |
getFlavor()
Deprecated. As of NetWeaver 7.1 |
int |
getIntValue(IParameterName key,
int defValue)
Deprecated. As of NetWeaver 7.1 |
int |
getIntValue(String key,
int defValue)
Deprecated. As of NetWeaver 7.1 |
List |
getMultiValueParameter(IParameterName key)
Deprecated. As of NetWeaver 7.1 |
ILayoutObject |
getNewInstance()
Deprecated. As of NetWeaver 7.1 |
String |
getParameter(IParameterName key)
Deprecated. As of NetWeaver 7.1 |
boolean |
getParameter(IParameterName key,
boolean defaultValue)
Deprecated. As of NetWeaver 7.1 |
int |
getParameter(IParameterName key,
int defaultValue)
Deprecated. As of NetWeaver 7.1 |
String |
getParameter(IParameterName key,
String defaultValue)
Deprecated. As of NetWeaver 7.1 |
com.sapportals.htmlb.enums.TextViewDesign |
getParameter(IParameterName key,
com.sapportals.htmlb.enums.TextViewDesign defaultValue)
Deprecated. As of NetWeaver 7.1 |
IParameters |
getParameters()
Deprecated. As of NetWeaver 7.1 |
IParameters |
getParameters(IParameterName[] keys)
Deprecated. As of NetWeaver 7.1 |
IProxy |
getProxy()
Deprecated. As of NetWeaver 7.1 |
IParameterName[] |
getSupportedParameters()
Deprecated. As of NetWeaver 7.1 |
boolean |
is508enabled()
Deprecated. As of NetWeaver 7.1 |
boolean |
isExactlyValue(IParameterName key,
Object checkValue)
Deprecated. As of NetWeaver 7.1 |
boolean |
isNoOtherValue(IParameterName key,
Object checkValue)
Deprecated. As of NetWeaver 7.1 |
IParameterNameSet |
parameterNames()
Deprecated. As of NetWeaver 7.1 |
Set |
parameters()
Deprecated. As of NetWeaver 7.1 |
void |
removeParameter(IParameterName key)
Deprecated. As of NetWeaver 7.1 |
void |
set508enabled(boolean imp508)
Deprecated. As of NetWeaver 7.1 |
void |
setAlias(String alias)
Deprecated. As of NetWeaver 7.1 |
void |
setFlavor(IFlavor impFlavor)
Deprecated. As of NetWeaver 7.1 |
Boolean |
setParameter(IParameterName key,
boolean value)
Deprecated. As of NetWeaver 7.1 |
Integer |
setParameter(IParameterName key,
int value)
Deprecated. As of NetWeaver 7.1 |
Object |
setParameter(IParameterName key,
Object value)
Deprecated. As of NetWeaver 7.1 |
String |
setParameter(IParameterName key,
String value)
Deprecated. As of NetWeaver 7.1 |
com.sapportals.htmlb.enums.TextViewDesign |
setParameter(IParameterName key,
com.sapportals.htmlb.enums.TextViewDesign value)
Deprecated. As of NetWeaver 7.1 |
void |
setParameters(IParameters impParameters)
Deprecated. As of NetWeaver 7.1 |
void |
setProxy(IProxy proxy)
Deprecated. As of NetWeaver 7.1 |
void |
setSupportedParameters(IParameterName[] impKeys)
Deprecated. As of NetWeaver 7.1 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected IParameterName[] supportedParameterKeys
| Constructor Detail |
|---|
public LayoutObject()
| Method Detail |
|---|
public ILayoutObject getNewInstance()
getNewInstance in interface ILayoutObjectpublic final void setProxy(IProxy proxy)
IResourceRenderer. ResourceRenderes are designed
to use IUICommands to offer actions to be carried out on the displayed resource.
These IUICommands will raise Exceptions or malfunction, if no proxy is set.
setProxy in interface ILayoutObjectproxy - the outermost control, which acts as a target for the IUICommands that
can be rendered within the instance of an IResourceRenderer.public final IProxy getProxy()
public final IParameterName[] getSupportedParameters()
ILayoutObject
getSupportedParameters in interface ILayoutObjectILayoutObject.setParameters(com.sapportals.wcm.repository.service.layout.customizing.IParameters)public final void setSupportedParameters(IParameterName[] impKeys)
public final IParameters getParameters()
ILayoutObject
getParameters in interface ILayoutObjectpublic final void setParameters(IParameters impParameters)
ILayoutObject 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
setParameters in interface ILayoutObjectimpParameters - - 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
public final boolean getBooleanValue(String key,
boolean defaultValue)
public final boolean getBooleanValue(IParameterName key,
boolean defaultValue)
public final int getIntValue(String key,
int defValue)
public final int getIntValue(IParameterName key,
int defValue)
public final boolean is508enabled()
is508enabled in interface ILayoutObjectpublic final void set508enabled(boolean imp508)
public final IFlavor getFlavor()
getFlavor in interface ILayoutObjectpublic final void setFlavor(IFlavor impFlavor)
ILayoutObjectControl or ILayoutController ,
asking for special instances of the IResourceRenderer used by the implementing class
setFlavor in interface ILayoutObjectpublic final String getConfiguration(String format)
ILayoutObject
getConfiguration in interface ILayoutObject
public final Object setParameter(IParameterName key,
Object value)
setParameter in interface IParameterspublic final List getMultiValueParameter(IParameterName key)
IParametersnull if the
parameter is not found.
The parameter is returned as java.util.List , even if it is
a single Value Parameter. The class of the returned objects in the list
can be asked via
key.getMetaDate().getParameterClass()
getMultiValueParameter in interface IParameterskey - the parameters key.
public final String setParameter(IParameterName key,
String value)
IParameters map.put(key, value) method. This method is parrallel to the String
getParameter(IParameterName key) method.
setParameter in interface ILayoutObjectsetParameter in interface IParameterskey - - 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 instance
public final Integer setParameter(IParameterName key,
int value)
IParameters map.put(key, value) method. This method is parrallel to the String
getParameter(IParameterName key) method. Here an int can be provided. The value will be
stored as String .
setParameter in interface IParameterskey - The key for the new Parametervalue - The value for the new Parameter
public final com.sapportals.htmlb.enums.TextViewDesign setParameter(IParameterName key,
com.sapportals.htmlb.enums.TextViewDesign value)
IParameters map.put(key, value) method. This method is parrallel to the String
getParameter(IParameterName key) method. Here an TextViewDesign can be provided. The value
will be stored as String .
setParameter in interface IParameterskey - The key for the new Parametervalue - The value for the new Parameter
public final Boolean setParameter(IParameterName key,
boolean value)
IParameters map.put(key, value) method. This method is parrallel to the String
getParameter(IParameterName key) method. Here an int can be provided. The value will be
stored as String .
setParameter in interface IParameterskey - The key for the new Parametervalue - The value for the new Parameter
public final Object get(String key)
IParameters
get in interface IParameterskey - a key of the parameter.
null if the key is not mapped
to any value in this parameters set or in the default.public final IParameterNameSet parameterNames()
IParameters
parameterNames in interface IParametersEnumerationpublic final Set parameters()
IParameters entrySet()
this set is not backed up by the map, but it contains all paramters accessible via this Paramters
map, this means, all paramters contained in the map, in the default map and in all included parameter sets.
parameters in interface IParameterspublic final String getParameter(IParameterName key)
IParametersnull if the
parameter is not found.
getParameter in interface ILayoutObjectgetParameter in interface IParameterskey - the parameters key.
null. Note: a
returned null does not indicate, that the ILayoutObject
does not support this parameter!
public final String getParameter(IParameterName key,
String defaultValue)
IParameters
getParameter in interface IParameterskey - the parameters key.
public final int getParameter(IParameterName key,
int defaultValue)
IParameters int if possible.
getParameter in interface IParameterskey - the parameters key.defaultValue - a default value.
public final boolean getParameter(IParameterName key,
boolean defaultValue)
IParameters boolean . The boolean returned
represents the value true if the parameters value is equal, ignoring case, to the string "true"
.
Example: Boolean.valueOf("True") returns true .
Example: Boolean.valueOf("yes") returns false .
getParameter in interface IParameterskey - the parameters key.defaultValue - a default value.
public final com.sapportals.htmlb.enums.TextViewDesign getParameter(IParameterName key,
com.sapportals.htmlb.enums.TextViewDesign defaultValue)
IParameters TextViewDesign . If the stored String
can not be converted into a TextViewDesign null is returned.
getParameter in interface IParameterskey - the parameters key.defaultValue - a default value.
public final boolean isNoOtherValue(IParameterName key,
Object checkValue)
IParameters Object get(String key) method an true is returned
when no value is not found or the found value equals the specified value.
isNoOtherValue in interface IParameterskey - the parameters key to searchcheckValue - the value to compare with
IParameters.get(String key)
public final boolean isExactlyValue(IParameterName key,
Object checkValue)
IParameters Object get(String key) method an true is returned
when a value is found which equals the specified value.
isExactlyValue in interface IParameterskey - the parameters key to searchcheckValue - the value to compare with
IParameters.get(String key)public IParameters getParameters(IParameterName[] keys)
getParameters in interface IParameterspublic void removeParameter(IParameterName key)
IParameters
removeParameter in interface IParameterspublic String getAlias()
getAlias in interface ILayoutObjectpublic void setAlias(String alias)
setAlias in interface ILayoutObject| Access 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
|
|
SAP NetWeaver 7.40 SP 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||