|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.endeca.portal.session.UserSession
public class UserSession
Method Summary | |
---|---|
void |
addMDEXState(MDEXState mdexState)
|
void |
addMDEXStates(java.util.List<MDEXState> mdexStates)
|
static void |
caughtParameters(java.lang.String sessionId)
|
static void |
clearViewTransitionParameters(java.lang.String sessionId)
|
boolean |
dataSourceExists(java.lang.String key)
|
static boolean |
deferredLoad(java.lang.String sessionId)
|
static java.io.Serializable |
getAttribute(javax.portlet.PortletRequest request,
java.lang.String key)
Get an "attribute" (not to be confused with an MDEX attribute) which is a Serializable object that is shared across the whole portal. |
java.io.Serializable |
getAttribute(java.lang.String key)
Get an "attribute" (not to be confused with an MDEX attribute) which is a Serializable object that is shared across the whole portal. |
java.util.Map<java.lang.String,MDEXState> |
getAvailableMDEXStates()
|
static UserSession |
getInstance(javax.portlet.PortletRequest request)
TODO: This whole method just seems a little awkward...can it be cleaned up? |
MDEXSecurityManager |
getMDEXSecurityManager()
|
MDEXState |
getMDEXState(java.lang.String key)
|
AbstractMDEXStateManager |
getMDEXStateManager()
|
java.util.Map<java.lang.String,MDEXState> |
getMDEXStates()
|
java.lang.String |
getViewTransitionParameter(java.lang.String key)
|
java.util.Iterator<java.util.Map.Entry<java.lang.String,java.lang.String>> |
getViewTransitionParameters()
|
boolean |
isMetadataCacheEnabled()
|
java.io.Serializable |
removeAttribute(java.lang.String key)
Remove an "attribute" associated with the specified key |
protected static void |
removeInstance(java.lang.String key)
|
void |
removeMDEXState(java.lang.String key)
|
static java.io.Serializable |
setAttribute(javax.portlet.PortletRequest request,
java.lang.String key,
java.io.Serializable value)
Set an "attribute" (not to be confused with MDEX attributes) which is a Serializable object that is shared across the whole portal. |
java.io.Serializable |
setAttribute(java.lang.String key,
java.io.Serializable value)
Set an "attribute" (not to be confused with MDEX attributes) which is a Serializable object that is shared across the whole portal. |
static java.io.Serializable |
setIfAbsent(javax.portlet.PortletRequest request,
java.lang.String key,
java.io.Serializable value)
Sets an attribute if it is absent. |
java.io.Serializable |
setIfAbsent(java.lang.String key,
java.io.Serializable value)
Sets an attribute if it is absent. |
void |
setViewTransitionDeferred()
|
void |
setViewTransitionParameter(java.lang.String key,
java.lang.String value)
|
static boolean |
throwingParameters(java.lang.String sessionId)
|
static void |
unsetViewTransitionDeferred(java.lang.String sessionId)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public boolean isMetadataCacheEnabled()
protected static void removeInstance(java.lang.String key)
public static UserSession getInstance(javax.portlet.PortletRequest request) throws UserSessionException
UserSessionException
public java.util.Map<java.lang.String,MDEXState> getMDEXStates()
public MDEXState getMDEXState(java.lang.String key)
public boolean dataSourceExists(java.lang.String key)
public void addMDEXState(MDEXState mdexState)
public void addMDEXStates(java.util.List<MDEXState> mdexStates)
public void removeMDEXState(java.lang.String key)
public java.util.Map<java.lang.String,MDEXState> getAvailableMDEXStates()
public AbstractMDEXStateManager getMDEXStateManager()
public MDEXSecurityManager getMDEXSecurityManager()
public java.io.Serializable getAttribute(java.lang.String key)
public java.io.Serializable removeAttribute(java.lang.String key)
key
-
public static java.io.Serializable getAttribute(javax.portlet.PortletRequest request, java.lang.String key)
public java.io.Serializable setAttribute(java.lang.String key, java.io.Serializable value)
ConcurrentHashMap.put(Object, Object)
public static java.io.Serializable setAttribute(javax.portlet.PortletRequest request, java.lang.String key, java.io.Serializable value)
NOTE: Need a request so previous state will get deserialized on restart
public java.io.Serializable setIfAbsent(java.lang.String key, java.io.Serializable value)
ConcurrentHashMap.putIfAbsent(Object, Object)
public static java.io.Serializable setIfAbsent(javax.portlet.PortletRequest request, java.lang.String key, java.io.Serializable value)
NOTE: Need a request so previous state will get deserialized on restart
public java.lang.String getViewTransitionParameter(java.lang.String key)
public void setViewTransitionParameter(java.lang.String key, java.lang.String value)
public java.util.Iterator<java.util.Map.Entry<java.lang.String,java.lang.String>> getViewTransitionParameters()
public static void clearViewTransitionParameters(java.lang.String sessionId) throws UserSessionException
UserSessionException
public static boolean throwingParameters(java.lang.String sessionId) throws UserSessionException
UserSessionException
public static void caughtParameters(java.lang.String sessionId) throws UserSessionException
UserSessionException
public void setViewTransitionDeferred() throws UserSessionException
UserSessionException
public static void unsetViewTransitionDeferred(java.lang.String sessionId) throws UserSessionException
UserSessionException
public static boolean deferredLoad(java.lang.String sessionId) throws UserSessionException
UserSessionException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |