Uses of Class
org.apache.jackrabbit.core.SessionImpl
-
Packages that use SessionImpl Package Description org.apache.jackrabbit.core Contains the core classes that provide the implementation of the JCR API.org.apache.jackrabbit.core.gc org.apache.jackrabbit.core.lock org.apache.jackrabbit.core.nodetype.virtual org.apache.jackrabbit.core.observation org.apache.jackrabbit.core.query.lucene org.apache.jackrabbit.core.query.lucene.constraint org.apache.jackrabbit.core.retention org.apache.jackrabbit.core.security.authorization org.apache.jackrabbit.core.security.authorization.acl org.apache.jackrabbit.core.security.user org.apache.jackrabbit.core.session org.apache.jackrabbit.core.version The versioning framework in jackrabbit consists of 3 layers.org.apache.jackrabbit.core.xml -
-
Uses of SessionImpl in org.apache.jackrabbit.core
Subclasses of SessionImpl in org.apache.jackrabbit.core Modifier and Type Class Description class
XASessionImpl
Session extension that provides XA support.Fields in org.apache.jackrabbit.core declared as SessionImpl Modifier and Type Field Description protected SessionImpl
BatchedItemOperations. session
current session used for checking access rightsprotected SessionImpl
ItemManager. session
protected SessionImpl
WorkspaceImpl. session
the session that was used to acquire thisWorkspace
Methods in org.apache.jackrabbit.core that return SessionImpl Modifier and Type Method Description SessionImpl
SessionFactory. createAdminSession(String workspace)
protected SessionImpl
RepositoryImpl. createSession(Subject subject, String workspaceName)
Creates a new repository session on the specified workspace for the given authenticated subject and adds it to the active sessions.protected SessionImpl
RepositoryImpl. createSession(AuthContext loginContext, String workspaceName)
Creates a new repository session on the specified workspace for the authenticated subject of the given login context and adds it to the active sessions.SessionImpl
WorkspaceManager. createSession(Subject subject, String workspaceName)
protected SessionImpl
RepositoryImpl. createSessionInstance(Subject subject, WorkspaceConfig wspConfig)
Creates an instance of theSessionImpl
class representing a user represented by thesubject
instance attached to the workspace configured by thewspConfig
.protected SessionImpl
RepositoryImpl. createSessionInstance(AuthContext loginContext, WorkspaceConfig wspConfig)
Creates an instance of theSessionImpl
class representing a user authenticated by theloginContext
instance attached to the workspace configured by thewspConfig
.Methods in org.apache.jackrabbit.core with parameters of type SessionImpl Modifier and Type Method Description protected PrincipalManager
DefaultSecurityManager. createPrincipalManager(SessionImpl session)
protected PrincipalManager
UserPerWorkspaceSecurityManager. createPrincipalManager(SessionImpl session)
protected UserManagerImpl
DefaultSecurityManager. createUserManager(SessionImpl session)
Creates aUserManagerImpl
for the given session.protected UserManagerImpl
UserPerWorkspaceSecurityManager. createUserManager(SessionImpl session)
Creates a new instanceofTransientChangeUserManagerImpl
.protected MembershipCache
DefaultSecurityManager. getMembershipCache(SessionImpl session)
void
RepositoryImpl. loggedOut(SessionImpl session)
Called when aSession
has been 'closed' by calling
.Session.logout()
void
SessionListener. loggedOut(SessionImpl session)
Called when aSession
has been 'closed' by calling
.Session.logout()
void
TransientRepository. loggedOut(SessionImpl session)
Removes the given session from the set of open sessions.void
RepositoryImpl. loggingOut(SessionImpl session)
Called when aSession
is about to be 'closed' by calling
.Session.logout()
void
SessionListener. loggingOut(SessionImpl session)
Called when aSession
is about to be 'closed' by calling
.Session.logout()
void
TransientRepository. loggingOut(SessionImpl session)
Ignored.protected void
RepositoryImpl. onSessionCreated(SessionImpl session)
Adds the given session to the list of active sessions and registers this repository as listener.protected <T> T
ProtectedItemModifier. performProtected(SessionImpl session, SessionOperation<T> operation)
-
Uses of SessionImpl in org.apache.jackrabbit.core.gc
Constructors in org.apache.jackrabbit.core.gc with parameters of type SessionImpl Constructor Description GarbageCollector(RepositoryContext context, DataStore dataStore, IterablePersistenceManager[] list, SessionImpl[] sessionList)
Create a new garbage collector. -
Uses of SessionImpl in org.apache.jackrabbit.core.lock
Methods in org.apache.jackrabbit.core.lock that return SessionImpl Modifier and Type Method Description SessionImpl
LockInfo. getLockHolder()
Return the session currently holding the lockMethods in org.apache.jackrabbit.core.lock with parameters of type SessionImpl Modifier and Type Method Description void
LockManager. addLockToken(SessionImpl session, String lt)
Invoked by a session to inform that a lock token has been added.void
LockManagerImpl. addLockToken(SessionImpl session, String lt)
Invoked by a session to inform that a lock token has been added.void
XALockManager. addLockToken(SessionImpl session, String lt)
Invoked by a session to inform that a lock token has been added.Lock[]
LockManager. getLocks(SessionImpl session)
Returns all locks owned by the specified session.Lock[]
LockManagerImpl. getLocks(SessionImpl session)
Returns all locks owned by the specified session.Lock[]
XALockManager. getLocks(SessionImpl session)
Returns all locks owned by the specified session.void
LockManager. removeLockToken(SessionImpl session, String lt)
Invoked by a session to inform that a lock token has been removed.void
LockManagerImpl. removeLockToken(SessionImpl session, String lt)
Invoked by a session to inform that a lock token has been removed.void
XALockManager. removeLockToken(SessionImpl session, String lt)
Invoked by a session to inform that a lock token has been removed.void
LockInfo. setLockHolder(SessionImpl lockHolder)
Set the session currently holding the lockvoid
LockInfo. throwLockException(String message, SessionImpl session)
Utility method that throws aLockException
with the "failure node path" set to the path of the node that holds this lock.Constructors in org.apache.jackrabbit.core.lock with parameters of type SessionImpl Constructor Description LockManagerImpl(SessionImpl session, FileSystem fs, ScheduledExecutorService executor)
Create a new instance of this class. -
Uses of SessionImpl in org.apache.jackrabbit.core.nodetype.virtual
Methods in org.apache.jackrabbit.core.nodetype.virtual with parameters of type SessionImpl Modifier and Type Method Description void
VirtualNodeTypeStateManager. setSession(SessionImpl systemSession)
Sets the system session. -
Uses of SessionImpl in org.apache.jackrabbit.core.observation
Methods in org.apache.jackrabbit.core.observation that return SessionImpl Modifier and Type Method Description SessionImpl
EventStateCollection. getSession()
Return the session who is the origin of this events.Methods in org.apache.jackrabbit.core.observation with parameters of type SessionImpl Modifier and Type Method Description EventStateCollection
DelegatingObservationDispatcher. createEventStateCollection(SessionImpl session, Path pathPrefix)
Creates anEventStateCollection
tied to the session given as argument.void
DelegatingObservationDispatcher. dispatch(List<EventState> eventList, SessionImpl session, Path pathPrefix, String userData)
Dispatchers a list of events to all registered dispatchers.static String
EventState. getCommonPath(List<EventState> events, SessionImpl session)
Get the longest common path of all event state paths.Constructors in org.apache.jackrabbit.core.observation with parameters of type SessionImpl Constructor Description EventJournalImpl(EventFilter filter, Journal journal, String producerId, SessionImpl session)
Creates a new event journal.EventStateCollection(org.apache.jackrabbit.core.observation.EventDispatcher dispatcher, SessionImpl session, Path pathPrefix)
Creates a new emptyEventStateCollection
.ObservationManagerImpl(ObservationDispatcher dispatcher, SessionImpl session, ClusterNode clusterNode)
Creates anObservationManager
instance. -
Uses of SessionImpl in org.apache.jackrabbit.core.query.lucene
Fields in org.apache.jackrabbit.core.query.lucene declared as SessionImpl Modifier and Type Field Description protected SessionImpl
LuceneQueryFactory. session
Session of the user executing this queryMethods in org.apache.jackrabbit.core.query.lucene that return SessionImpl Modifier and Type Method Description SessionImpl
JackrabbitIndexSearcher. getSession()
Methods in org.apache.jackrabbit.core.query.lucene with parameters of type SessionImpl Modifier and Type Method Description static Query
LuceneQueryBuilder. createQuery(QueryRootNode root, SessionImpl session, ItemStateManager sharedItemMgr, NamespaceMappings nsMappings, Analyzer analyzer, PropertyTypeRegistry propReg, SynonymProvider synonymProvider, IndexFormatVersion indexFormatVersion, org.apache.jackrabbit.core.query.lucene.PerQueryCache cache)
Creates a luceneQuery
tree from an abstract query tree.QueryHits
JackrabbitQuery. execute(JackrabbitIndexSearcher searcher, SessionImpl session, Sort sort)
Executes this query and returnsQueryHits
ornull
if this query should be executed using the regular Lucene API.QueryHits
MatchAllDocsQuery. execute(JackrabbitIndexSearcher searcher, SessionImpl session, Sort sort)
Executes this query and returnsQueryHits
ornull
if this query should be executed using the regular Lucene API.QueryHits
QueryHitsQuery. execute(JackrabbitIndexSearcher searcher, SessionImpl session, Sort sort)
Executes this query and returnsQueryHits
ornull
if this query should be executed using the regular Lucene API.MultiColumnQueryHits
SearchIndex. executeQuery(SessionImpl session, AbstractQueryImpl queryImpl, Query query, Path[] orderProps, boolean[] orderSpecs, String[] orderFuncs, long resultFetchHint)
Executes the query on the search index.MultiColumnQueryHits
SearchIndex. executeQuery(SessionImpl session, MultiColumnQuery query, Ordering[] orderings, long resultFetchHint)
Executes the query on the search index.Constructors in org.apache.jackrabbit.core.query.lucene with parameters of type SessionImpl Constructor Description ChildNodesQueryHits(QueryHits parents, SessionImpl session)
Creates a newChildNodesQueryHits
that returns the child nodes of all query hits from the givenparents
.JackrabbitIndexSearcher(SessionImpl s, IndexReader r, ItemStateManager ism)
Creates a new jackrabbit index searcher.LuceneQueryFactory(SessionImpl session, SearchIndex index, Map<String,Value> bindVariables)
Creates a new lucene query factory. -
Uses of SessionImpl in org.apache.jackrabbit.core.query.lucene.constraint
Methods in org.apache.jackrabbit.core.query.lucene.constraint that return SessionImpl Modifier and Type Method Description SessionImpl
EvaluationContext. getSession()
-
Uses of SessionImpl in org.apache.jackrabbit.core.retention
Constructors in org.apache.jackrabbit.core.retention with parameters of type SessionImpl Constructor Description RetentionManagerImpl(SessionImpl session)
RetentionRegistryImpl(SessionImpl session, FileSystem fs)
-
Uses of SessionImpl in org.apache.jackrabbit.core.security.authorization
Fields in org.apache.jackrabbit.core.security.authorization declared as SessionImpl Modifier and Type Field Description protected SessionImpl
AbstractAccessControlProvider. session
the system session this provider has been created for. -
Uses of SessionImpl in org.apache.jackrabbit.core.security.authorization.acl
Fields in org.apache.jackrabbit.core.security.authorization.acl declared as SessionImpl Modifier and Type Field Description protected SessionImpl
EntryCollector. systemSession
The system session used to register an event listener and process the events as well as collect AC entries.Methods in org.apache.jackrabbit.core.security.authorization.acl with parameters of type SessionImpl Modifier and Type Method Description protected EntryCollector
ACLProvider. createEntryCollector(SessionImpl systemSession)
Create theEntryCollector
instance that is used by this provider to gather the effective ACEs for a given list of principals at a given node during AC evaluation.Constructors in org.apache.jackrabbit.core.security.authorization.acl with parameters of type SessionImpl Constructor Description EntryCollector(SessionImpl systemSession, NodeId rootID)
-
Uses of SessionImpl in org.apache.jackrabbit.core.security.user
Methods in org.apache.jackrabbit.core.security.user with parameters of type SessionImpl Modifier and Type Method Description void
MembershipCache. loggedOut(SessionImpl session)
void
UserManagerImpl. loggedOut(SessionImpl session)
void
MembershipCache. loggingOut(SessionImpl session)
void
UserManagerImpl. loggingOut(SessionImpl session)
Constructors in org.apache.jackrabbit.core.security.user with parameters of type SessionImpl Constructor Description UserManagerImpl(SessionImpl session, String adminId)
Create a newUserManager
with the default configuration.UserManagerImpl(SessionImpl session, String adminId, Properties config)
Create a newUserManager
UserManagerImpl(SessionImpl session, String adminId, Properties config, MembershipCache mCache)
Create a newUserManager
for the givensession
.UserPerWorkspaceUserManager(SessionImpl session, String adminId)
Same asUserPerWorkspaceUserManager(session, adminID, null, null)
.UserPerWorkspaceUserManager(SessionImpl session, String adminId, Properties config)
Creates a UserManager that doesn't implicitly save changes but requires an explicit call toSession.save()
.UserPerWorkspaceUserManager(SessionImpl session, String adminId, Properties config, MembershipCache mCache)
Creates a UserManager that doesn't implicitly save changes but requires an explicit call toSession.save()
.XPathQueryEvaluator(XPathQueryBuilder builder, UserManagerImpl userManager, SessionImpl session)
-
Uses of SessionImpl in org.apache.jackrabbit.core.session
Methods in org.apache.jackrabbit.core.session that return SessionImpl Modifier and Type Method Description SessionImpl
SessionContext. getSessionImpl()
Returns this session.Constructors in org.apache.jackrabbit.core.session with parameters of type SessionImpl Constructor Description SessionContext(RepositoryContext repositoryContext, SessionImpl session, WorkspaceConfig workspaceConfig)
Creates a component context for the given session. -
Uses of SessionImpl in org.apache.jackrabbit.core.version
Fields in org.apache.jackrabbit.core.version declared as SessionImpl Modifier and Type Field Description protected SessionImpl
VersionManagerImplBase. session
workspace sessionMethods in org.apache.jackrabbit.core.version with parameters of type SessionImpl Modifier and Type Method Description EventStateCollection
InternalVersionManagerImpl.DynamicESCFactory. createEventStateCollection(SessionImpl source)
Object
InternalVersionManagerImpl.DynamicESCFactory. doSourced(SessionImpl eventSource, org.apache.jackrabbit.core.version.InternalVersionManagerImpl.SourcedTarget runnable)
Executes the given runnable using the given event source.Constructors in org.apache.jackrabbit.core.version with parameters of type SessionImpl Constructor Description InternalXAVersionManager(InternalVersionManagerImpl vMgr, NodeTypeRegistry ntReg, SessionImpl session, ItemStateCacheFactory cacheFactory)
Creates a new instance of this class. -
Uses of SessionImpl in org.apache.jackrabbit.core.xml
Constructors in org.apache.jackrabbit.core.xml with parameters of type SessionImpl Constructor Description SessionImporter(NodeImpl importTargetNode, SessionImpl session, int uuidBehavior)
Creates a newSessionImporter
instance.SessionImporter(NodeImpl importTargetNode, SessionImpl session, int uuidBehavior, ImportConfig config)
Creates a newSessionImporter
instance.
-