Package org.hippoecm.frontend.session
Class UserSession
java.lang.Object
org.apache.wicket.Session
org.apache.wicket.protocol.http.WebSession
org.hippoecm.frontend.session.UserSession
- All Implemented Interfaces:
Serializable
,org.apache.wicket.event.IEventSink
,org.apache.wicket.feedback.IFeedbackContributor
,org.apache.wicket.IMetadataContext<Serializable,
,org.apache.wicket.Session> org.apache.wicket.util.io.IClusterable
public abstract class UserSession
extends org.apache.wicket.protocol.http.WebSession
A Wicket
Session
that maintains a reference
to a JCR Session
. It is available to plugins as a
threadlocal variable during request processing.
When the Wicket session is no longer referenced, the JCR session model is detached.
- See Also:
-
Field Summary
Fields inherited from class org.apache.wicket.Session
clientInfo, SESSION_ATTRIBUTE_NAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic UserSession
get()
Returns the current session, or if there is no current session, creates one.abstract String
abstract ClassLoader
abstract IFacetRootsObserver
abstract HippoRepository
abstract HippoSession
abstract ObservationManager
abstract QueryManager
abstract HippoNode
abstract WorkflowManager
abstract void
abstract void
logout()
abstract void
Methods inherited from class org.apache.wicket.protocol.http.WebSession
generateNewSessionId, getClientInfo, invalidate, newBrowserInfoPage
Methods inherited from class org.apache.wicket.Session
bind, changeSessionId, clear, debug, detach, dirty, dirty, endRequest, error, exists, fatal, getApplication, getAttribute, getAttributeNames, getAuthorizationStrategy, getClassResolver, getFeedbackMessages, getId, getLocale, getMetaData, getPageFactory, getPageManager, getSessionStore, getSizeInBytes, getStyle, info, internalDetach, invalidateNow, isRtlLanguage, isRtlLocale, isSessionInvalidated, isTemporary, newPageAccessSynchronizer, nextPageId, nextSequenceValue, onEvent, onInvalidate, removeAttribute, replaceSession, setAttribute, setClientInfo, setLocale, setMetaData, setStyle, success, warn
-
Constructor Details
-
UserSession
public UserSession(org.apache.wicket.request.Request request)
-
-
Method Details
-
get
Returns the current session, or if there is no current session, creates one. -
getClassLoader
-
getQueryManager
-
getWorkflowManager
-
getObservationManager
-
getFacetRootsObserver
-
getRootNode
-
login
- Throws:
LoginException
-
logout
public abstract void logout() -
getJcrSession
-
releaseJcrSession
public abstract void releaseJcrSession() -
getApplicationName
-
getHippoRepository
- Throws:
RepositoryException
-
getTimeZone
-