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 classXASessionImplSession extension that provides XA support.Fields in org.apache.jackrabbit.core declared as SessionImpl Modifier and Type Field Description protected SessionImplBatchedItemOperations. sessioncurrent session used for checking access rightsprotected SessionImplItemManager. sessionprotected SessionImplWorkspaceImpl. sessionthe session that was used to acquire thisWorkspaceMethods in org.apache.jackrabbit.core that return SessionImpl Modifier and Type Method Description SessionImplSessionFactory. createAdminSession(String workspace)protected SessionImplRepositoryImpl. 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 SessionImplRepositoryImpl. 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.SessionImplWorkspaceManager. createSession(Subject subject, String workspaceName)protected SessionImplRepositoryImpl. createSessionInstance(Subject subject, WorkspaceConfig wspConfig)Creates an instance of theSessionImplclass representing a user represented by thesubjectinstance attached to the workspace configured by thewspConfig.protected SessionImplRepositoryImpl. createSessionInstance(AuthContext loginContext, WorkspaceConfig wspConfig)Creates an instance of theSessionImplclass representing a user authenticated by theloginContextinstance attached to the workspace configured by thewspConfig.Methods in org.apache.jackrabbit.core with parameters of type SessionImpl Modifier and Type Method Description protected PrincipalManagerDefaultSecurityManager. createPrincipalManager(SessionImpl session)protected PrincipalManagerUserPerWorkspaceSecurityManager. createPrincipalManager(SessionImpl session)protected UserManagerImplDefaultSecurityManager. createUserManager(SessionImpl session)Creates aUserManagerImplfor the given session.protected UserManagerImplUserPerWorkspaceSecurityManager. createUserManager(SessionImpl session)Creates a new instanceofTransientChangeUserManagerImpl.protected MembershipCacheDefaultSecurityManager. getMembershipCache(SessionImpl session)voidRepositoryImpl. loggedOut(SessionImpl session)Called when aSessionhas been 'closed' by calling.Session.logout()voidSessionListener. loggedOut(SessionImpl session)Called when aSessionhas been 'closed' by calling.Session.logout()voidTransientRepository. loggedOut(SessionImpl session)Removes the given session from the set of open sessions.voidRepositoryImpl. loggingOut(SessionImpl session)Called when aSessionis about to be 'closed' by calling.Session.logout()voidSessionListener. loggingOut(SessionImpl session)Called when aSessionis about to be 'closed' by calling.Session.logout()voidTransientRepository. loggingOut(SessionImpl session)Ignored.protected voidRepositoryImpl. onSessionCreated(SessionImpl session)Adds the given session to the list of active sessions and registers this repository as listener.protected <T> TProtectedItemModifier. 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 SessionImplLockInfo. getLockHolder()Return the session currently holding the lockMethods in org.apache.jackrabbit.core.lock with parameters of type SessionImpl Modifier and Type Method Description voidLockManager. addLockToken(SessionImpl session, String lt)Invoked by a session to inform that a lock token has been added.voidLockManagerImpl. addLockToken(SessionImpl session, String lt)Invoked by a session to inform that a lock token has been added.voidXALockManager. 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.voidLockManager. removeLockToken(SessionImpl session, String lt)Invoked by a session to inform that a lock token has been removed.voidLockManagerImpl. removeLockToken(SessionImpl session, String lt)Invoked by a session to inform that a lock token has been removed.voidXALockManager. removeLockToken(SessionImpl session, String lt)Invoked by a session to inform that a lock token has been removed.voidLockInfo. setLockHolder(SessionImpl lockHolder)Set the session currently holding the lockvoidLockInfo. throwLockException(String message, SessionImpl session)Utility method that throws aLockExceptionwith 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 voidVirtualNodeTypeStateManager. 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 SessionImplEventStateCollection. 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 EventStateCollectionDelegatingObservationDispatcher. createEventStateCollection(SessionImpl session, Path pathPrefix)Creates anEventStateCollectiontied to the session given as argument.voidDelegatingObservationDispatcher. dispatch(List<EventState> eventList, SessionImpl session, Path pathPrefix, String userData)Dispatchers a list of events to all registered dispatchers.static StringEventState. 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 anObservationManagerinstance. -
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 SessionImplLuceneQueryFactory. sessionSession of the user executing this queryMethods in org.apache.jackrabbit.core.query.lucene that return SessionImpl Modifier and Type Method Description SessionImplJackrabbitIndexSearcher. getSession()Methods in org.apache.jackrabbit.core.query.lucene with parameters of type SessionImpl Modifier and Type Method Description static QueryLuceneQueryBuilder. 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 luceneQuerytree from an abstract query tree.QueryHitsJackrabbitQuery. execute(JackrabbitIndexSearcher searcher, SessionImpl session, Sort sort)Executes this query and returnsQueryHitsornullif this query should be executed using the regular Lucene API.QueryHitsMatchAllDocsQuery. execute(JackrabbitIndexSearcher searcher, SessionImpl session, Sort sort)Executes this query and returnsQueryHitsornullif this query should be executed using the regular Lucene API.QueryHitsQueryHitsQuery. execute(JackrabbitIndexSearcher searcher, SessionImpl session, Sort sort)Executes this query and returnsQueryHitsornullif this query should be executed using the regular Lucene API.MultiColumnQueryHitsSearchIndex. executeQuery(SessionImpl session, AbstractQueryImpl queryImpl, Query query, Path[] orderProps, boolean[] orderSpecs, String[] orderFuncs, long resultFetchHint)Executes the query on the search index.MultiColumnQueryHitsSearchIndex. 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 newChildNodesQueryHitsthat 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 SessionImplEvaluationContext. 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 SessionImplAbstractAccessControlProvider. sessionthe 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 SessionImplEntryCollector. systemSessionThe 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 EntryCollectorACLProvider. createEntryCollector(SessionImpl systemSession)Create theEntryCollectorinstance 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 voidMembershipCache. loggedOut(SessionImpl session)voidUserManagerImpl. loggedOut(SessionImpl session)voidMembershipCache. loggingOut(SessionImpl session)voidUserManagerImpl. 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 newUserManagerwith the default configuration.UserManagerImpl(SessionImpl session, String adminId, Properties config)Create a newUserManagerUserManagerImpl(SessionImpl session, String adminId, Properties config, MembershipCache mCache)Create a newUserManagerfor 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 SessionImplSessionContext. 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 SessionImplVersionManagerImplBase. sessionworkspace sessionMethods in org.apache.jackrabbit.core.version with parameters of type SessionImpl Modifier and Type Method Description EventStateCollectionInternalVersionManagerImpl.DynamicESCFactory. createEventStateCollection(SessionImpl source)ObjectInternalVersionManagerImpl.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 newSessionImporterinstance.SessionImporter(NodeImpl importTargetNode, SessionImpl session, int uuidBehavior, ImportConfig config)Creates a newSessionImporterinstance.
-