|
SAP NetWeaver 7.30 SP01 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ILayoutSet
The Parameters is a set of parameters used within the com.sapportals.rendering package.
It provides a Properties like access to values with a default mechanism. A default Parameters
object can be provided which is used, when a value is not found in the current object and in the
getParameter methods a default value can be provided. Null key's or values are not permitted. All values are
stored as String and can be retrieved as int or boolean as well. A
special paramter with the key IParameterName.PARAMETERSET can be used to include
other paramters sets within this paramter set. All included paramters sets are used to search for a
key, if this key is not found in the main set.
| Method Summary | |
|---|---|
IParameterMap[] |
getAllParameters()
|
List |
getMultiValueParameter(IFlavor context,
IParameterName key)
Searches for the parameter with the specified key. |
String |
getParameter(IFlavor context,
IParameterName key)
Searches for the parameter with the specified key. |
boolean |
getParameter(IFlavor context,
IParameterName key,
boolean defaultValue)
Searches for the parameter with the specified key. |
int |
getParameter(IFlavor context,
IParameterName key,
int defaultValue)
Searches for the parameter with the specified key. |
String |
getParameter(IFlavor context,
IParameterName key,
String defaultValue)
|
IParameterMap |
getParameters(IFlavor context,
IParameterName[] keys)
|
void |
removeParameter(IFlavor context,
IParameterName key)
|
IParameterMap |
setCollectionRendererSet(IFlavor context,
IParameterMap impParameters)
|
Object |
setParameter(IFlavor context,
IParameterName key,
Object value)
|
IParameterMap |
setResourceRendererSet(IFlavor context,
IParameterMap impParameters)
|
| Method Detail |
|---|
List getMultiValueParameter(IFlavor context,
IParameterName key)
null 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()
key - the parameters key.
String getParameter(IFlavor context,
IParameterName key)
null if the
parameter is not found.
key - the parameters key.
String getParameter(IFlavor context,
IParameterName key,
String defaultValue)
int getParameter(IFlavor context,
IParameterName key,
int defaultValue)
int if possible.
key - the parameters key.defaultValue - a default value.
boolean getParameter(IFlavor context,
IParameterName key,
boolean defaultValue)
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 .
key - the parameters key.defaultValue - a default value.
IParameterMap getParameters(IFlavor context,
IParameterName[] keys)
IParameterMap[] getAllParameters()
Object setParameter(IFlavor context,
IParameterName key,
Object value)
throws LayoutServiceConfigLoadException
LayoutServiceConfigLoadException
void removeParameter(IFlavor context,
IParameterName key)
IParameterMap setCollectionRendererSet(IFlavor context,
IParameterMap impParameters)
throws LayoutServiceConfigLoadException
LayoutServiceConfigLoadException
IParameterMap setResourceRendererSet(IFlavor context,
IParameterMap impParameters)
throws LayoutServiceConfigLoadException
LayoutServiceConfigLoadException| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
|
SAP NetWeaver 7.30 SP01 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||