|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The user context holds context information about a certain user and also provides a possibility for applications to store internal personalization parameters.
| Method Summary | |
Locale |
getLocale()
Returns the current local of the user. |
String |
getParameterValue(String application,
String parameterName)
Return parameter value in cache or on database. |
IUser |
getSAPUser()
|
String |
getUniqueId()
Returns the unique id of the user |
String |
removeParameterValue(String application,
String parameterName)
Remove parameter value from cache. |
void |
setParameterValue(String application,
String parameterName,
String parameterValue)
Add parameter value to cache. |
| Method Detail |
public Locale getLocale()
The locale is derived in the following order (first available entry is returned:
public String getUniqueId()
public String getParameterValue(String application,
String parameterName)
throws GPEngineException,
GPInvocationException
If parameter value is not in cache already it is added.
application - application keyparameterName - name of the configuration parameter
GPEngineException
GPInvocationException
public void setParameterValue(String application,
String parameterName,
String parameterValue)
throws GPEngineException,
GPInvocationException
application - application keyparameterName - name of the configuration parameterparameterValue - value of the configuration parameter
GPEngineException
GPInvocationException
public String removeParameterValue(String application,
String parameterName)
throws GPEngineException,
GPInvocationException
application - application keyparameterName - name of the configuration parameter
GPEngineException
GPInvocationExceptionpublic IUser getSAPUser()
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||