|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.6) E22562-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LwsSession
All classes in this package are private and intended for applcore use only.
Method Summary | |
---|---|
void |
attachSession(java.sql.Connection conn)
Attaches the LWS session of this context to a db connection. |
void |
attachSession(java.sql.Connection conn,
LwsUser user,
java.util.List<? extends LwsRole> roles)
Attaches the LWS session of this context to a db connection using the specified user and roles. |
boolean |
checkSession()
Check to see if this session still exists on the server, or is no longer valid (due to timeout, or explicit destruction). |
boolean |
checkSession(java.sql.Connection conn)
|
void |
detachSession()
detaches the LWS session from the db connection if it is in Attach state. |
java.sql.Connection |
getConnection()
Get the Oracle connection associated with this session, if it is currently bound to one. |
java.util.List<? extends LwsRole> |
getRoles()
Get the list of LwsRoles associated with this session. |
java.lang.String |
getSessionCookie()
Get the secure session cookie used for this session. |
java.lang.String |
getSessionID()
Get the session ID used for this session |
LwsSessionNamespace |
getSessionNamespace(java.lang.String namespaceName)
Return the specified namespace associated with this session. |
LwsUser |
getUser()
Get the LwsUser associated with this session. |
boolean |
isAttached()
checks if the LWS session of this context is in Attach state. |
Method Detail |
---|
java.sql.Connection getConnection()
java.lang.String getSessionID()
java.lang.String getSessionCookie()
LwsUser getUser()
java.util.List<? extends LwsRole> getRoles()
LwsSessionNamespace getSessionNamespace(java.lang.String namespaceName)
namespaceName
-
boolean checkSession()
boolean checkSession(java.sql.Connection conn)
void attachSession(java.sql.Connection conn) throws java.lang.Exception
java.lang.Exception
- if it fails to perform session Attach.void attachSession(java.sql.Connection conn, LwsUser user, java.util.List<? extends LwsRole> roles) throws java.lang.Exception
java.lang.Exception
- if it fails to perform session Attach.void detachSession() throws java.lang.Exception
java.lang.Exception
- if it fails to perform session Detach.boolean isAttached()
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.6) E22562-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |