|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.5) E22562-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.apps.fnd.applcore.common.ApplSessionNamespace
public class ApplSessionNamespace
The ApplSessionNamespace contains the attribute-value pairs of a given namespace for a given session.
| Method Summary | |
|---|---|
static ApplSessionNamespace |
createNamespace(ApplSession session,
java.lang.String namespaceName)
This associates a brand new namespace with the specified session, and returns it. |
ApplSessionAttribute |
deleteAttribute(java.lang.String attrName)
This deletes the attribute on this instance of the namespace and updates the database as well. |
static java.lang.String[] |
getAllNameSpaces(java.lang.String SessionId)
|
ApplSessionAttribute |
getAttribute(java.lang.String attrName)
This fetches the specified attribute. |
java.util.HashMap<java.lang.String,LwsSessionAttribute> |
getAttributeMap()
Returns a HashMap containing all the name, value pairs of this current namespace. |
java.util.Hashtable<java.lang.String,LwsSessionAttribute> |
getAttributes()
Deprecated. use the get that returns a HashMap instead |
java.lang.String |
getName()
Return the name of the namespace. |
static ApplSessionNamespace |
getNamespace(ApplSession session,
java.lang.String namespaceName)
Return the ApplSessionNamespace representation of the specified namespace belonging to the passed in session. |
static ApplSessionNamespace |
getNamespace(ApplSession session,
java.lang.String namespaceName,
java.sql.Connection conn)
Return the ApplSessionNamespace representation of the specified namespace belonging to the passed in session. |
static ApplSessionNamespace |
getSparseNamespace(ApplSession session,
java.lang.String namespaceName)
Deprecated. - for performance reasons, we are moving away from the use of sparse namespaces. |
static boolean |
namespaceExists(ApplSession session,
java.lang.String namespaceName)
Return whether the namespace exists for the specified session. |
static boolean |
namespaceExists(ApplSession session,
java.lang.String namespaceName,
java.sql.Connection conn)
Return whether the namespace exists for the specified session. |
ApplSessionAttribute |
setAttribute(java.lang.String attrName,
java.lang.String attrValue)
This sets the attribute on this instance of the namespace and updates the database as well. |
ApplSessionAttribute |
setAttribute(java.lang.String attrName,
java.lang.String attrValue,
boolean isTransient)
This sets the attribute on this instance of the namespace but allows you to specify a flag specifying that the attribute not be persisted to the database. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ApplSessionNamespace getNamespace(ApplSession session,
java.lang.String namespaceName)
session - the attached parent session of the namespacenamespaceName - the name of the namespace
public static ApplSessionNamespace getNamespace(ApplSession session,
java.lang.String namespaceName,
java.sql.Connection conn)
session - the attached parent session of the namespacenamespaceName - the name of the namespaceconn - the connection to use, if null one will be fetched
public static ApplSessionNamespace getSparseNamespace(ApplSession session,
java.lang.String namespaceName)
session - the attached parent session of the namespacenamespaceName - the name of the namespace
public static ApplSessionNamespace createNamespace(ApplSession session,
java.lang.String namespaceName)
session - the attached parent session of the namespacenamespaceName - the name of the namespace
public java.lang.String getName()
getName in interface LwsSessionNamespacepublic ApplSessionAttribute getAttribute(java.lang.String attrName)
getAttribute in interface LwsSessionNamespaceattrName - name of the attribute to get
public ApplSessionAttribute setAttribute(java.lang.String attrName,
java.lang.String attrValue)
setAttribute in interface LwsSessionNamespaceattrName - name of the attribute to setattrValue - value to set the attribute to
public ApplSessionAttribute setAttribute(java.lang.String attrName,
java.lang.String attrValue,
boolean isTransient)
attrName - name of the attribute to setattrValue - value to set the attribute toisTransient - whether the attribute should be saved to the database
public ApplSessionAttribute deleteAttribute(java.lang.String attrName)
attrName - name of the attribute to delete
public java.util.Hashtable<java.lang.String,LwsSessionAttribute> getAttributes()
getAttributes in interface LwsSessionNamespacepublic java.util.HashMap<java.lang.String,LwsSessionAttribute> getAttributeMap()
public static boolean namespaceExists(ApplSession session,
java.lang.String namespaceName)
session - the attached parent session of the namespacenamespaceName - the name of the namespace
public static boolean namespaceExists(ApplSession session,
java.lang.String namespaceName,
java.sql.Connection conn)
session - the attached parent session of the namespacenamespaceName - the name of the namespaceconn - the attached connection to execute this check against
public static java.lang.String[] getAllNameSpaces(java.lang.String SessionId)
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.5) E22562-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||