|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
IWDConfiguration specifies the interface to configuration data.
Thereby, the configuration consists of name/value pairs. The interface
provides methods for typed access to these name/value pairs, as well as
methods to define default values which are taken in case a certain
configuartion is not set.
com.sap.tc.webdynpro.services.sal.core.IConfigurationFactory| Method Summary | |
java.lang.String[] |
getAllKeys()
Get all configuration entry keys. |
boolean[] |
getBooleanEntries(java.lang.String key)
Gets configuration entry of type multiple booleans by key. |
boolean |
getBooleanEntry(java.lang.String key)
Gets configuration entry of type boolean by key. |
boolean |
getBooleanEntry(java.lang.String key,
boolean defaultValue)
Gets configuration entry of type boolean by key. |
java.util.Date[] |
getDateEntries(java.lang.String key)
Gets configuration entry of type multiple dates by key. |
java.util.Date |
getDateEntry(java.lang.String key)
Gets configuration entry of type date by key. |
java.util.Date |
getDateEntry(java.lang.String key,
java.util.Date defaultValue)
Gets configuration entry of type date by key. |
int[] |
getIntEntries(java.lang.String key)
Gets configuration entry of type multiple ints by key. |
int |
getIntEntry(java.lang.String key)
Gets configuration entry of type int by key. |
int |
getIntEntry(java.lang.String key,
int defaultValue)
Gets configuration entry of type int by key. |
long[] |
getLongEntries(java.lang.String key)
Gets configuration entry of type multiple longs by key. |
long |
getLongEntry(java.lang.String key)
Gets configuration entry of type long by key. |
long |
getLongEntry(java.lang.String key,
long defaultValue)
Gets configuration entry of type long by key. |
java.lang.String[] |
getStringEntries(java.lang.String key)
Gets configuration entry of type multiple strings by key. |
java.lang.String |
getStringEntry(java.lang.String key)
Gets configuration entry of type string by key. |
java.lang.String |
getStringEntry(java.lang.String key,
java.lang.String defaultValue)
Gets configuration entry of type string by key. |
| Methods inherited from interface com.sap.tc.webdynpro.services.sal.api.IWDService |
getDescription, getServiceName, getVersion |
| Method Detail |
public java.lang.String getStringEntry(java.lang.String key)
throws WDInvalidConfigParameterException
key - key of configuration entryWDInvalidConfigParameterException - if the specified parameter cannot be found in the configuration
public java.lang.String getStringEntry(java.lang.String key,
java.lang.String defaultValue)
key - key of configuration entrydefaultValue - default value for configuration entry
public java.lang.String[] getStringEntries(java.lang.String key)
throws WDInvalidConfigParameterException
key - key of configuration entryWDInvalidConfigParameterException - if the specified parameter cannot be found in the configuration
public java.util.Date getDateEntry(java.lang.String key)
throws WDInvalidConfigParameterException
key - key of configuration entryWDInvalidConfigParameterException - if the specified parameter cannot be found in the configuration
public java.util.Date getDateEntry(java.lang.String key,
java.util.Date defaultValue)
key - key of configuration entrydefaultValue - default value for configuration entry
public java.util.Date[] getDateEntries(java.lang.String key)
throws WDInvalidConfigParameterException
key - key of configuration entryWDInvalidConfigParameterException - if the specified parameter cannot be found in the configuration
public int getIntEntry(java.lang.String key)
throws WDInvalidConfigParameterException
key - key of configuration entryWDInvalidConfigParameterException - if the specified parameter cannot be found in the configuration
public int getIntEntry(java.lang.String key,
int defaultValue)
key - key of configuration entrydefaultValue - default value for configuration entry
public int[] getIntEntries(java.lang.String key)
throws WDInvalidConfigParameterException
key - key of configuration entryWDInvalidConfigParameterException - if the specified parameter cannot be found in the configuration
public long getLongEntry(java.lang.String key)
throws WDInvalidConfigParameterException
key - key of configuration entryWDInvalidConfigParameterException - if the specified parameter cannot be found in the configuration
public long getLongEntry(java.lang.String key,
long defaultValue)
key - key of configuration entrydefaultValue - default value for configuration entry
public long[] getLongEntries(java.lang.String key)
throws WDInvalidConfigParameterException
key - key of configuration entryConfigException - Exception raised in failure situationWDInvalidConfigParameterException - if the specified parameter cannot be found in the configuration
public boolean getBooleanEntry(java.lang.String key)
throws WDInvalidConfigParameterException
key - key of configuration entryWDInvalidConfigParameterException - if the specified parameter cannot be found in the configuration
public boolean getBooleanEntry(java.lang.String key,
boolean defaultValue)
key - key of configuration entrydefaultValue - default value for configuration entry
public boolean[] getBooleanEntries(java.lang.String key)
throws WDInvalidConfigParameterException
key - key of configuration entryWDInvalidConfigParameterException - if the specified parameter cannot be found in the configurationpublic java.lang.String[] getAllKeys()
|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||