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 |
Modifier and Type | Class and Description |
---|---|
class |
XASessionImpl
Session extension that provides XA support.
|
Modifier and Type | Field and Description |
---|---|
protected SessionImpl |
WorkspaceImpl.session
the session that was used to acquire this
Workspace |
protected SessionImpl |
ItemManager.session |
protected SessionImpl |
BatchedItemOperations.session
current session used for checking access rights
|
Modifier and Type | Method and Description |
---|---|
SessionImpl |
SessionFactory.createAdminSession(String workspace) |
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.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.createSessionInstance(AuthContext loginContext,
WorkspaceConfig wspConfig)
Creates an instance of the
SessionImpl class representing a
user authenticated by the loginContext instance attached
to the workspace configured by the wspConfig . |
protected SessionImpl |
RepositoryImpl.createSessionInstance(Subject subject,
WorkspaceConfig wspConfig)
Creates an instance of the
SessionImpl class representing a
user represented by the subject instance attached
to the workspace configured by the wspConfig . |
Modifier and Type | Method and Description |
---|---|
protected org.apache.jackrabbit.api.security.principal.PrincipalManager |
UserPerWorkspaceSecurityManager.createPrincipalManager(SessionImpl session) |
protected org.apache.jackrabbit.api.security.principal.PrincipalManager |
DefaultSecurityManager.createPrincipalManager(SessionImpl session) |
protected UserManagerImpl |
UserPerWorkspaceSecurityManager.createUserManager(SessionImpl session)
Creates a new instanceof
TransientChangeUserManagerImpl . |
protected UserManagerImpl |
DefaultSecurityManager.createUserManager(SessionImpl session)
Creates a
UserManagerImpl for the given session. |
protected MembershipCache |
DefaultSecurityManager.getMembershipCache(SessionImpl session) |
void |
TransientRepository.loggedOut(SessionImpl session)
Removes the given session from the set of open sessions.
|
void |
SessionListener.loggedOut(SessionImpl session)
Called when a
Session has been 'closed' by
calling . |
void |
RepositoryImpl.loggedOut(SessionImpl session)
Called when a
Session has been 'closed' by
calling . |
void |
TransientRepository.loggingOut(SessionImpl session)
Ignored.
|
void |
SessionListener.loggingOut(SessionImpl session)
Called when a
Session is about to be 'closed' by
calling . |
void |
RepositoryImpl.loggingOut(SessionImpl session)
Called when a
Session is about to be 'closed' by
calling . |
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) |
Constructor and Description |
---|
GarbageCollector(RepositoryContext context,
DataStore dataStore,
IterablePersistenceManager[] list,
SessionImpl[] sessionList)
Create a new garbage collector.
|
Modifier and Type | Method and Description |
---|---|
SessionImpl |
LockInfo.getLockHolder()
Return the session currently holding the lock
|
Modifier and Type | Method and Description |
---|---|
void |
XALockManager.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 |
LockManager.addLockToken(SessionImpl session,
String lt)
Invoked by a session to inform that a lock token has been added.
|
Lock[] |
XALockManager.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[] |
LockManager.getLocks(SessionImpl session)
Returns all locks owned by the specified session.
|
void |
XALockManager.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 |
LockManager.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 lock
|
void |
LockInfo.throwLockException(String message,
SessionImpl session)
Utility method that throws a
LockException with the
"failure node path" set to the path of the node that holds this lock. |
Constructor and Description |
---|
LockManagerImpl(SessionImpl session,
FileSystem fs,
ScheduledExecutorService executor)
Create a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
void |
VirtualNodeTypeStateManager.setSession(SessionImpl systemSession)
Sets the system session.
|
Modifier and Type | Method and Description |
---|---|
SessionImpl |
EventStateCollection.getSession()
Return the session who is the origin of this events.
|
Modifier and Type | Method and Description |
---|---|
EventStateCollection |
DelegatingObservationDispatcher.createEventStateCollection(SessionImpl session,
Path pathPrefix)
Creates an
EventStateCollection 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.
|
Constructor and 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 empty
EventStateCollection . |
ObservationManagerImpl(ObservationDispatcher dispatcher,
SessionImpl session,
ClusterNode clusterNode)
Creates an
ObservationManager instance. |
Modifier and Type | Field and Description |
---|---|
protected SessionImpl |
LuceneQueryFactory.session
Session of the user executing this query
|
Modifier and Type | Method and Description |
---|---|
SessionImpl |
JackrabbitIndexSearcher.getSession() |
Modifier and Type | Method and Description |
---|---|
static org.apache.lucene.search.Query |
LuceneQueryBuilder.createQuery(QueryRootNode root,
SessionImpl session,
ItemStateManager sharedItemMgr,
NamespaceMappings nsMappings,
org.apache.lucene.analysis.Analyzer analyzer,
PropertyTypeRegistry propReg,
SynonymProvider synonymProvider,
IndexFormatVersion indexFormatVersion,
org.apache.jackrabbit.core.query.lucene.PerQueryCache cache)
Creates a lucene
Query tree from an
abstract query tree. |
QueryHits |
QueryHitsQuery.execute(JackrabbitIndexSearcher searcher,
SessionImpl session,
org.apache.lucene.search.Sort sort)
Executes this query and returns
QueryHits or null if
this query should be executed using the regular Lucene API. |
QueryHits |
MatchAllDocsQuery.execute(JackrabbitIndexSearcher searcher,
SessionImpl session,
org.apache.lucene.search.Sort sort)
Executes this query and returns
QueryHits or null if
this query should be executed using the regular Lucene API. |
QueryHits |
JackrabbitQuery.execute(JackrabbitIndexSearcher searcher,
SessionImpl session,
org.apache.lucene.search.Sort sort)
Executes this query and returns
QueryHits or null if
this query should be executed using the regular Lucene API. |
MultiColumnQueryHits |
SearchIndex.executeQuery(SessionImpl session,
AbstractQueryImpl queryImpl,
org.apache.lucene.search.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.
|
Constructor and Description |
---|
ChildNodesQueryHits(QueryHits parents,
SessionImpl session)
Creates a new
ChildNodesQueryHits that returns the child
nodes of all query hits from the given parents . |
JackrabbitIndexSearcher(SessionImpl s,
org.apache.lucene.index.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.
|
Modifier and Type | Method and Description |
---|---|
SessionImpl |
EvaluationContext.getSession() |
Constructor and Description |
---|
RetentionManagerImpl(SessionImpl session) |
RetentionRegistryImpl(SessionImpl session,
FileSystem fs) |
Modifier and Type | Field and Description |
---|---|
protected SessionImpl |
AbstractAccessControlProvider.session
the system session this provider has been created for.
|
Modifier and Type | Field and Description |
---|---|
protected SessionImpl |
EntryCollector.systemSession
The system session used to register an event listener and process the
events as well as collect AC entries.
|
Modifier and Type | Method and Description |
---|---|
protected EntryCollector |
ACLProvider.createEntryCollector(SessionImpl systemSession)
Create the
EntryCollector 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. |
Constructor and Description |
---|
EntryCollector(SessionImpl systemSession,
NodeId rootID) |
Modifier and Type | Method and Description |
---|---|
void |
UserManagerImpl.loggedOut(SessionImpl session) |
void |
MembershipCache.loggedOut(SessionImpl session) |
void |
UserManagerImpl.loggingOut(SessionImpl session) |
void |
MembershipCache.loggingOut(SessionImpl session) |
Constructor and Description |
---|
UserManagerImpl(SessionImpl session,
String adminId)
Create a new
UserManager with the default configuration. |
UserManagerImpl(SessionImpl session,
String adminId,
Properties config)
Create a new
UserManager |
UserManagerImpl(SessionImpl session,
String adminId,
Properties config,
MembershipCache mCache)
Create a new
UserManager for the given session . |
UserPerWorkspaceUserManager(SessionImpl session,
String adminId)
Same as
UserPerWorkspaceUserManager(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 to
Session.save() . |
UserPerWorkspaceUserManager(SessionImpl session,
String adminId,
Properties config,
MembershipCache mCache)
Creates a UserManager that doesn't implicitly save changes but requires
an explicit call to
Session.save() . |
XPathQueryEvaluator(XPathQueryBuilder builder,
UserManagerImpl userManager,
SessionImpl session) |
Modifier and Type | Method and Description |
---|---|
SessionImpl |
SessionContext.getSessionImpl()
Returns this session.
|
Constructor and Description |
---|
SessionContext(RepositoryContext repositoryContext,
SessionImpl session,
WorkspaceConfig workspaceConfig)
Creates a component context for the given session.
|
Modifier and Type | Field and Description |
---|---|
protected SessionImpl |
VersionManagerImplBase.session
workspace session
|
Modifier and Type | Method and 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.
|
Constructor and Description |
---|
InternalXAVersionManager(InternalVersionManagerImpl vMgr,
NodeTypeRegistry ntReg,
SessionImpl session,
ItemStateCacheFactory cacheFactory)
Creates a new instance of this class.
|
Constructor and Description |
---|
SessionImporter(NodeImpl importTargetNode,
SessionImpl session,
int uuidBehavior)
Creates a new
SessionImporter instance. |
SessionImporter(NodeImpl importTargetNode,
SessionImpl session,
int uuidBehavior,
ImportConfig config)
Creates a new
SessionImporter instance. |
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.