|
SAP NetWeaver 7.30 (SP02) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IUWLSession
The IUWLSession class contains all the session scope information relevant for UWL Service.
By calling IUWLService.beginSession(UWLContext, int), a new session is created.
This session could then be re-used for further calls to the UWL Service.
When any WebDynpro application running on the same portal is launched from UWL, application could use the ClientSession
scope variable IUWLSession.UWL_SESSION_ID to get the current UWL session id. From this session id, UWL session could be
got from UWL service. WebDynpro applications should use IUWLService.getUwlSessionForWebDynproClient(UWLContext)
method to get access to the UWL Service.
| Field Summary | |
|---|---|
static String |
UWL_SESSION_ID
Use this constant to get UWL session's identifer through the HTTP session or WebDynpro Session Scope. |
| Method Summary | |
|---|---|
Object |
getAttribute(String key)
This obtains the value of an attribute identified by the given key. |
Map |
getAttributes()
Returns the map of all attributes of this session. |
IUWLEventListener |
getEventListener()
Returns the event listner that is registered. |
String |
getId()
Identifer for the session. |
ProviderStatus[] |
getLastProviderStatus()
Returns the last connection status for different Provider systems. |
com.sap.security.api.IUser |
getUser()
Returns the user to whom this session belongs to. |
boolean |
isValid()
Returns if the session is valid or not. |
void |
removeAttribute(String key)
Removes the attribute identified by the given key. |
void |
setAttribute(String key,
Object value)
This sets the attribute like subject. |
void |
setEventListener(IUWLEventListener listener)
Method to register an event listener to UWL. |
| Field Detail |
|---|
static final String UWL_SESSION_ID
| Method Detail |
|---|
void setEventListener(IUWLEventListener listener)
listener - Providing a null value removes the registration.IUWLEventListenerIUWLEventListener getEventListener()
void setAttribute(String key,
Object value)
key - the key of the attribute.value - the value of the attribute.com.sap.security.api.IUser getUser()
Object getAttribute(String key)
key - the key of attribute.
void removeAttribute(String key)
key - the key of the attribute.Map getAttributes()
String getId()
IUWLService.getSession() method.
ProviderStatus[] getLastProviderStatus()
ProviderStatus objects.boolean isValid()
IUWLService.endSession(com.sap.netweaver.bc.uwl.UWLContext)| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] UWLJWF
|
[sap.com] tc/kmc/bc.uwl/api
|
default
|
EP-BC-UWL
|
[sap.com] UWLJWF
|
[sap.com] tc/kmc/bc.uwl/api
|
-
|
EP-BC-UWL
|
|
SAP NetWeaver 7.30 (SP02) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||