|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter 11g Release 1 (11.1.1.3.0) E15995-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.webcenter.spaces.context.SpacesContext
public abstract class SpacesContext
This abstract class is responsible for managing the context of Spaces.
| Field Summary | |
|---|---|
protected java.lang.String |
spaceName |
| Constructor Summary | |
|---|---|
SpacesContext(java.lang.String spaceName) |
|
| Method Summary | |
|---|---|
static SpacesContext |
getCurrentInstance()Return the SpacesContext instance for the request that is being processed by the current thread, if any. |
abstract Space |
getCurrentSpace()Returns the the Space object that the user is currently logged in. |
abstract java.lang.String |
getCurrentSpaceGUID()Get the GUID of the current space application |
abstract java.lang.String |
getCurrentSpaceName()Get the name of th current space application |
abstract SpacesManager |
getSpacesManager()This API returns the SpacesManager instance associated with this web application. |
static void |
releaseCachedContext()Release all the cached thread local instance. |
static void |
setCurrentInstance(SpacesContext context)Set the SpacesContext instance for the request that is being processed by the current thread. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String spaceName
| Constructor Detail |
|---|
public SpacesContext(java.lang.String spaceName)
| Method Detail |
|---|
public abstract SpacesManager getSpacesManager()
throws SpacesException
This API returns the SpacesManager instance associated with this web application.
SpacesException - if Spaces Manager instance can not be created in the given contextpublic abstract Space getCurrentSpace()
null if the user is currently in the context of Personal WebCenter.public abstract java.lang.String getCurrentSpaceName()
public abstract java.lang.String getCurrentSpaceGUID()
public static SpacesContext getCurrentInstance()
Return the SpacesContext instance for the request that is being processed by the current thread, if any.
public static void releaseCachedContext()
public static void setCurrentInstance(SpacesContext context)
SpacesContext instance for the request that is being processed by the current thread.context - The SpacesContext instance for the current thread, or null if this thread no longer has a SpacesContext instance.
|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter 11g Release 1 (11.1.1.3.0) E15995-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||