|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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. |
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 |
public static final String UWL_SESSION_ID
| Method Detail |
public void setEventListener(IUWLEventListener listener)
listener - Providing a null value removes the registration.IUWLEventListenerpublic IUWLEventListener getEventListener()
public void setAttribute(String key,
Object value)
key - the key of the attribute.value - the value of the attribute.public IUser getUser()
public Object getAttribute(String key)
key - the key of attribute.
public void removeAttribute(String key)
key - the key of the attribute.public Map getAttributes()
public String getId()
IUWLService.getSession() method.
public ProviderStatus[] getLastProviderStatus()
ProviderStatus objects.public boolean isValid()
IUWLService.endSession(com.sap.netweaver.bc.uwl.UWLContext)
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||