|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jbo.server.SessionImpl
public class SessionImpl
Field Summary | |
---|---|
static java.lang.Class |
CLASS_INSTANCE
|
Fields inherited from interface oracle.jbo.Session |
---|
JBO_SESSION_COOKIE, JBO_SESSION_LOCALE |
Constructor Summary | |
---|---|
SessionImpl()
|
Method Summary | |
---|---|
ApplicationModule |
findSharedApplicationModule(java.lang.String appModuleName)
INTERNAL: Applications should not use. |
java.lang.String[] |
getAllApplicationModuleDefNames()
Gets the names of the Application Module definitions contained in all packages. |
java.lang.String[] |
getAllEntityAssociationDefNames()
Gets the names of the entity association definitions defined in all packages. |
java.lang.String[] |
getAllEntityDefNames()
Gets the names of the Entity Object definitions available in all packages. |
java.lang.String[] |
getAllViewDefNames()
Gets the names of the View Object definitions available in all packages. |
java.lang.String[] |
getAllViewLinkDefNames()
Gets the names of the View Link definitions defined in all packages. |
java.lang.String[] |
getApplicationModuleDefNames(java.lang.String packageName)
Gets the names of the Application Module definitions contained in a package. |
java.lang.String[] |
getEntityAssociationDefNames(java.lang.String packageName)
Gets the names of the entity association definitions defined in a package. |
java.lang.String[] |
getEntityDefNames(java.lang.String packageName)
Gets the names of the Entity Object definitions available in a package. |
java.util.Hashtable |
getEnvironment()
Returns the BC4J context for the session. |
Locale |
getLocale()
Gets the current Locale used for localizing error messages. |
LocaleContext |
getLocaleContext()
* retrieves the locale context for the session |
java.lang.String[] |
getPackageNames()
Gets names of the packages that make up this middle tier application. |
TransactionHandlerFactory |
getTransactionHandlerFactory()
Get the session's transaction handler factory. |
java.util.Hashtable |
getUserData()
Returns application context for the session. |
java.lang.String |
getUserPrincipalName()
|
java.lang.String[] |
getUserRoles()
Returns the Roles/Groups for current user principal. |
java.lang.String |
getVersion()
Gets the middle tier's version information. |
java.lang.String[] |
getViewDefNames(java.lang.String packageName)
Gets the names of the View Object definitions available in a package. |
java.lang.String[] |
getViewLinkDefNames(java.lang.String packageName)
Gets the names of the View Link definitions defined in a package. |
void |
invalidateSession()
INTERNAL: Applications should not use. |
boolean |
isClient()
Returns whether this session is running as a client in 3 tier or not. |
boolean |
isUserInRole(java.lang.String role)
|
void |
loadPackage(java.lang.String packageName)
Loads a package that may be browsed for defined objects. |
void |
setLocale(Locale locale)
Sets a new Locale for localizing error messages. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.Class CLASS_INSTANCE
Constructor Detail |
---|
public SessionImpl()
Method Detail |
---|
public ApplicationModule findSharedApplicationModule(java.lang.String appModuleName)
Session
findSharedApplicationModule
in interface Session
public java.lang.String[] getAllApplicationModuleDefNames()
Session
getAllApplicationModuleDefNames
in interface Session
ApplicationModule
definition names.public java.lang.String[] getAllEntityAssociationDefNames()
Session
getAllEntityAssociationDefNames
in interface Session
EntityAssociationDef
names.public java.lang.String[] getAllEntityDefNames()
Session
getAllEntityDefNames
in interface Session
EntityDef
names.public java.lang.String[] getAllViewDefNames()
Session
getAllViewDefNames
in interface Session
ViewDef
names.public java.lang.String[] getAllViewLinkDefNames()
Session
getAllViewLinkDefNames
in interface Session
ViewLinkDef
names.public java.lang.String[] getApplicationModuleDefNames(java.lang.String packageName)
Session
getApplicationModuleDefNames
in interface Session
packageName
- the name of the package.
ApplicationModule
definition names.public java.lang.String[] getEntityAssociationDefNames(java.lang.String packageName)
Session
getEntityAssociationDefNames
in interface Session
packageName
- the name of the package.
EntityAssociationDef
names.public java.lang.String[] getEntityDefNames(java.lang.String packageName)
Session
getEntityDefNames
in interface Session
packageName
- the name of the package.
EntityDef
names.public java.util.Hashtable getEnvironment()
Session
PropertyMetadata
. Applications should
store custom session context in the Session userdata.
getEnvironment
in interface Session
Session.getUserData()
public Locale getLocale()
Session
Locale
used for localizing error messages.
getLocale
in interface Session
Locale
.public LocaleContext getLocaleContext()
Session
getLocaleContext
in interface Session
public java.lang.String[] getPackageNames()
Session
getPackageNames
in interface Session
public java.util.Hashtable getUserData()
Session
oracle.jbo.server.ApplicationModuleImpl#prepareSession(Session)
.
getUserData
in interface Session
public java.lang.String[] getUserRoles()
Session
getUserRoles
in interface Session
public java.lang.String getVersion()
Session
getVersion
in interface Session
public java.lang.String[] getViewDefNames(java.lang.String packageName)
Session
getViewDefNames
in interface Session
packageName
- the name of the package.
ViewDef
names.public java.lang.String[] getViewLinkDefNames(java.lang.String packageName)
Session
getViewLinkDefNames
in interface Session
packageName
- the name of the package.
ViewLinkDef
names.public void invalidateSession()
Session
invalidateSession
in interface Session
public boolean isClient()
Session
isClient
in interface Session
public boolean isUserInRole(java.lang.String role)
isUserInRole
in interface Session
role
- the name of the role.
public void loadPackage(java.lang.String packageName)
Session
loadPackage
in interface Session
packageName
- a fully qualified package name.public void setLocale(Locale locale)
Session
Locale
for localizing error messages.
setLocale
in interface Session
locale
- the new Locale
.public TransactionHandlerFactory getTransactionHandlerFactory()
TransactionHandler
,
TransactionHandlerFactory
public java.lang.String getUserPrincipalName()
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |