|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SessionInfo | |
---|---|
org.apache.jackrabbit.jcr2spi | |
org.apache.jackrabbit.jcr2spi.nodetype | |
org.apache.jackrabbit.jcr2spi.state | |
org.apache.jackrabbit.spi | Defines the interfaces of the JCR SPI (Service Provider Interface). |
org.apache.jackrabbit.spi.commons | |
org.apache.jackrabbit.spi.commons.logging | |
org.apache.jackrabbit.spi2dav | |
org.apache.jackrabbit.spi2davex | |
org.apache.jackrabbit.spi2jcr |
Uses of SessionInfo in org.apache.jackrabbit.jcr2spi |
---|
Methods in org.apache.jackrabbit.jcr2spi with parameters of type SessionInfo | |
---|---|
protected WorkspaceManager |
WorkspaceImpl.createManager(RepositoryService service,
SessionInfo sessionInfo,
CacheBehaviour cacheBehaviour,
int pollTimeout)
Create the workspace state manager. |
protected WorkspaceImpl |
SessionImpl.createWorkspaceInstance(RepositoryConfig config,
SessionInfo sessionInfo)
|
Constructors in org.apache.jackrabbit.jcr2spi with parameters of type SessionInfo | |
---|---|
WorkspaceImpl(String name,
SessionImpl session,
RepositoryConfig config,
SessionInfo sessionInfo)
|
|
WorkspaceManager(RepositoryService service,
SessionInfo sessionInfo,
CacheBehaviour cacheBehaviour,
int pollTimeout,
boolean enableObservation)
|
Uses of SessionInfo in org.apache.jackrabbit.jcr2spi.nodetype |
---|
Constructors in org.apache.jackrabbit.jcr2spi.nodetype with parameters of type SessionInfo | |
---|---|
ItemDefinitionProviderImpl(EffectiveNodeTypeProvider entProvider,
RepositoryService service,
SessionInfo sessionInfo)
|
Uses of SessionInfo in org.apache.jackrabbit.jcr2spi.state |
---|
Constructors in org.apache.jackrabbit.jcr2spi.state with parameters of type SessionInfo | |
---|---|
WorkspaceItemStateFactory(RepositoryService service,
SessionInfo sessionInfo,
ItemDefinitionProvider definitionProvider)
|
Uses of SessionInfo in org.apache.jackrabbit.spi |
---|
Subinterfaces of SessionInfo in org.apache.jackrabbit.spi | |
---|---|
interface |
XASessionInfo
XASessionInfo extends the SessionInfo and provides
access to the XAResource of the session info. |
Methods in org.apache.jackrabbit.spi that return SessionInfo | |
---|---|
SessionInfo |
RepositoryService.impersonate(SessionInfo sessionInfo,
Credentials credentials)
Returns a SessionInfo that will be used by other methods
on the RepositoryService . |
SessionInfo |
RepositoryService.obtain(Credentials credentials,
String workspaceName)
Returns a SessionInfo that will be used by other methods
on the RepositoryService . |
SessionInfo |
RepositoryService.obtain(SessionInfo sessionInfo,
String workspaceName)
Returns a new SessionInfo for the given workspace name that
will be used by other methods on the RepositoryService . |
Methods in org.apache.jackrabbit.spi with parameters of type SessionInfo | |
---|---|
void |
RepositoryService.addVersionLabel(SessionInfo sessionInfo,
NodeId versionHistoryId,
NodeId versionId,
Name label,
boolean moveLabel)
Add the given version label in the persistent layer. |
NodeId |
RepositoryService.checkin(SessionInfo sessionInfo,
NodeId nodeId)
Performs a checkin for the Node identified by the given
NodeId . |
void |
RepositoryService.checkout(SessionInfo sessionInfo,
NodeId nodeId)
Performs a checkout for the Node identified by the given
NodeId . |
void |
RepositoryService.checkQueryStatement(SessionInfo sessionInfo,
String statement,
String language,
Map namespaces)
Checks if the query statement is valid according to the
specified query language . |
void |
RepositoryService.clone(SessionInfo sessionInfo,
String srcWorkspaceName,
NodeId srcNodeId,
NodeId destParentNodeId,
Name destName,
boolean removeExisting)
Clone the subtree identified by the given srcNodeId
in workspace named srcWorkspaceName to the destination
in the workspace specified by the given SessionInfo . |
void |
RepositoryService.copy(SessionInfo sessionInfo,
String srcWorkspaceName,
NodeId srcNodeId,
NodeId destParentNodeId,
Name destName)
Clone the subtree identified by the given srcNodeId
in workspace named srcWorkspaceName to the destination
in the workspace specified by the given SessionInfo . |
Batch |
RepositoryService.createBatch(SessionInfo sessionInfo,
ItemId itemId)
Indicates the start of a set of operations that cause modifications on the underlying persistence layer. |
EventFilter |
RepositoryService.createEventFilter(SessionInfo sessionInfo,
int eventTypes,
Path absPath,
boolean isDeep,
String[] uuid,
Name[] nodeTypeName,
boolean noLocal)
Creates an event filter. |
Subscription |
RepositoryService.createSubscription(SessionInfo sessionInfo,
EventFilter[] filters)
Creates a new Subscription for events with an initial set of
EventFilter s. |
void |
RepositoryService.dispose(SessionInfo sessionInfo)
Indicates to the RepositoryService , that the given SessionInfo
will not be used any more. |
QueryInfo |
RepositoryService.executeQuery(SessionInfo sessionInfo,
String statement,
String language,
Map namespaces)
Execute the given query statement with the specified query language. |
Iterator |
RepositoryService.getChildInfos(SessionInfo sessionInfo,
NodeId parentId)
Returns an Iterator of ChildInfo s present on the
Node represented by the given parentId. |
Iterator |
RepositoryService.getItemInfos(SessionInfo sessionInfo,
NodeId nodeId)
Method used to 'batch-read' from the persistent storage. |
LockInfo |
RepositoryService.getLockInfo(SessionInfo sessionInfo,
NodeId nodeId)
Returns the lock information that applies to Node identified
by the given NodeId or null . |
String |
RepositoryService.getNamespacePrefix(SessionInfo sessionInfo,
String uri)
Returns the namespace prefix for the given namespace uri . |
String |
RepositoryService.getNamespaceURI(SessionInfo sessionInfo,
String prefix)
Returns the namespace URI for the given namespace prefix . |
QNodeDefinition |
RepositoryService.getNodeDefinition(SessionInfo sessionInfo,
NodeId nodeId)
Returns the QNodeDefinition for the Node
identified by the given id. |
NodeInfo |
RepositoryService.getNodeInfo(SessionInfo sessionInfo,
NodeId nodeId)
Retrieve the NodeInfo for the node identified by the given
NodeId . |
QPropertyDefinition |
RepositoryService.getPropertyDefinition(SessionInfo sessionInfo,
PropertyId propertyId)
Returns the QPropertyDefinition for the Property
identified by the given id. |
PropertyInfo |
RepositoryService.getPropertyInfo(SessionInfo sessionInfo,
PropertyId propertyId)
Returns the PropertyInfo for the Property
identified by the given id. |
Iterator |
RepositoryService.getQNodeTypeDefinitions(SessionInfo sessionInfo)
Retrieve the QNodeTypeDefinition s of all registered nodetypes. |
Iterator |
RepositoryService.getQNodeTypeDefinitions(SessionInfo sessionInfo,
Name[] nodetypeNames)
Retrieve QNodeTypeDefinition s for the given names. |
Map |
RepositoryService.getRegisteredNamespaces(SessionInfo sessionInfo)
Retrieve all registered namespaces. |
String[] |
RepositoryService.getSupportedQueryLanguages(SessionInfo sessionInfo)
Returns a String array identifying all query languages supported by this SPI implementation. |
String[] |
RepositoryService.getWorkspaceNames(SessionInfo sessionInfo)
Return all workspace names available for the given SessionInfo . |
SessionInfo |
RepositoryService.impersonate(SessionInfo sessionInfo,
Credentials credentials)
Returns a SessionInfo that will be used by other methods
on the RepositoryService . |
void |
RepositoryService.importXml(SessionInfo sessionInfo,
NodeId parentId,
InputStream xmlStream,
int uuidBehaviour)
Imports the data present in the given InputStream into the
persistent layer. |
boolean |
RepositoryService.isGranted(SessionInfo sessionInfo,
ItemId itemId,
String[] actions)
Returns true if all actions defined in the specified array are granted to given SessionInfo . |
LockInfo |
RepositoryService.lock(SessionInfo sessionInfo,
NodeId nodeId,
boolean deep,
boolean sessionScoped)
Create a lock on the Node identified by the given id. |
LockInfo |
RepositoryService.lock(SessionInfo sessionInfo,
NodeId nodeId,
boolean deep,
boolean sessionScoped,
long timeoutHint,
String ownerHint)
Create a lock on the Node identified by the given id. |
Iterator |
RepositoryService.merge(SessionInfo sessionInfo,
NodeId nodeId,
String srcWorkspaceName,
boolean bestEffort)
Merge the node identified by the given NodeId and its subtree
with the corresponding node present in the workspace with the name of
srcWorkspaceName . |
void |
RepositoryService.move(SessionInfo sessionInfo,
NodeId srcNodeId,
NodeId destParentNodeId,
Name destName)
Moves the node identified by the given srcNodeId (and its
entire subtree) to the new location defined by destParentNodeId
and a new name (destName ). |
SessionInfo |
RepositoryService.obtain(SessionInfo sessionInfo,
String workspaceName)
Returns a new SessionInfo for the given workspace name that
will be used by other methods on the RepositoryService . |
void |
RepositoryService.refreshLock(SessionInfo sessionInfo,
NodeId nodeId)
Explicit refresh of an existing lock. |
void |
RepositoryService.registerNamespace(SessionInfo sessionInfo,
String prefix,
String uri)
Register a new namespace with the given prefix and uri. |
void |
RepositoryService.removeVersion(SessionInfo sessionInfo,
NodeId versionHistoryId,
NodeId versionId)
Remove the version inditified by the specified versionId . |
void |
RepositoryService.removeVersionLabel(SessionInfo sessionInfo,
NodeId versionHistoryId,
NodeId versionId,
Name label)
Remove the given version label in the persistent layer. |
void |
RepositoryService.resolveMergeConflict(SessionInfo sessionInfo,
NodeId nodeId,
NodeId[] mergeFailedIds,
NodeId[] predecessorIds)
Resolve an existing merge conflict present with the node identified by the given NodeId . |
void |
RepositoryService.restore(SessionInfo sessionInfo,
NodeId[] versionIds,
boolean removeExisting)
Restore multiple versions at once. |
void |
RepositoryService.restore(SessionInfo sessionInfo,
NodeId nodeId,
NodeId versionId,
boolean removeExisting)
Restores the node identified by nodeId to the state defined
by the version with the specified versionId . |
void |
RepositoryService.unlock(SessionInfo sessionInfo,
NodeId nodeId)
Releases the lock on the Node identified by the given
NodeId . |
void |
RepositoryService.unregisterNamespace(SessionInfo sessionInfo,
String uri)
Unregister the namespace identified by the given uri |
void |
RepositoryService.update(SessionInfo sessionInfo,
NodeId nodeId,
String srcWorkspaceName)
Updates the node identified by the given NodeId replacing
it (an the complete subtree) with a clone of its corresponding node
present in the workspace with the given srcWorkspaceName . |
Uses of SessionInfo in org.apache.jackrabbit.spi.commons |
---|
Classes in org.apache.jackrabbit.spi.commons that implement SessionInfo | |
---|---|
class |
SessionInfoImpl
SessionInfoImpl is a searializable bean based implementation of
SessionInfo . |
Methods in org.apache.jackrabbit.spi.commons that return SessionInfo | |
---|---|
protected SessionInfo |
AbstractReadableRepositoryService.createSessionInfo(String userId,
String workspaceName)
Creates a session info instance for the given userId and
workspaceName . |
SessionInfo |
AbstractReadableRepositoryService.impersonate(SessionInfo sessionInfo,
Credentials credentials)
This default implementation returns the session info returned by the call to AbstractReadableRepositoryService.obtain(Credentials, String) with the workspaceName taken from
the passed sessionInfo . |
SessionInfo |
AbstractReadableRepositoryService.obtain(Credentials credentials,
String workspaceName)
This default implementation does: calls AbstractReadableRepositoryService.checkCredentials(Credentials, String)
checks if the given workspaceName is in
AbstractReadableRepositoryService.wspNames otherwise throws a NoSuchWorkspaceException . |
SessionInfo |
AbstractReadableRepositoryService.obtain(SessionInfo sessionInfo,
String workspaceName)
This default implementation returns the session info retuned by the call to AbstractReadableRepositoryService.createSessionInfo(String, String) with the userId taken
from the passed sessionInfo . |
Methods in org.apache.jackrabbit.spi.commons with parameters of type SessionInfo | |
---|---|
void |
AbstractReadableRepositoryService.addVersionLabel(SessionInfo sessionInfo,
NodeId versionHistoryId,
NodeId versionId,
Name label,
boolean moveLabel)
|
NodeId |
AbstractReadableRepositoryService.checkin(SessionInfo sessionInfo,
NodeId nodeId)
|
void |
AbstractReadableRepositoryService.checkout(SessionInfo sessionInfo,
NodeId nodeId)
|
void |
AbstractReadableRepositoryService.checkQueryStatement(SessionInfo sessionInfo,
String statement,
String language,
Map namespaces)
|
protected void |
AbstractReadableRepositoryService.checkSessionInfo(SessionInfo sessionInfo)
Checks the type of the sessionInfo instance. |
void |
AbstractReadableRepositoryService.clone(SessionInfo sessionInfo,
String srcWorkspaceName,
NodeId srcNodeId,
NodeId destParentNodeId,
Name destName,
boolean removeExisting)
|
void |
AbstractReadableRepositoryService.copy(SessionInfo sessionInfo,
String srcWorkspaceName,
NodeId srcNodeId,
NodeId destParentNodeId,
Name destName)
|
Batch |
AbstractReadableRepositoryService.createBatch(SessionInfo sessionInfo,
ItemId itemId)
|
EventFilter |
AbstractReadableRepositoryService.createEventFilter(SessionInfo sessionInfo,
int eventTypes,
Path absPath,
boolean isDeep,
String[] uuid,
Name[] nodeTypeName,
boolean noLocal)
|
Subscription |
AbstractReadableRepositoryService.createSubscription(SessionInfo sessionInfo,
EventFilter[] filters)
|
void |
AbstractReadableRepositoryService.dispose(SessionInfo sessionInfo)
This default implementation does nothing. |
QueryInfo |
AbstractReadableRepositoryService.executeQuery(SessionInfo sessionInfo,
String statement,
String language,
Map namespaces)
|
Iterator |
AbstractReadableRepositoryService.getItemInfos(SessionInfo sessionInfo,
NodeId nodeId)
This default implementation returns an iterator over the item infos returned by the call to RepositoryService.getNodeInfo(SessionInfo, NodeId) . |
LockInfo |
AbstractReadableRepositoryService.getLockInfo(SessionInfo sessionInfo,
NodeId nodeId)
|
String |
AbstractReadableRepositoryService.getNamespacePrefix(SessionInfo sessionInfo,
String uri)
This default implementation first calls AbstractReadableRepositoryService.checkSessionInfo(SessionInfo)
with the sessionInfo , then return the namespace prefix for
the given uri . |
String |
AbstractReadableRepositoryService.getNamespaceURI(SessionInfo sessionInfo,
String prefix)
This default implementation first calls AbstractReadableRepositoryService.checkSessionInfo(SessionInfo)
with the sessionInfo , then returns the namepsace URI for the
given prefix . |
QNodeDefinition |
AbstractReadableRepositoryService.getNodeDefinition(SessionInfo sessionInfo,
NodeId nodeId)
This default implementation first calls AbstractReadableRepositoryService.checkSessionInfo(SessionInfo)
with the sessionInfo , then lazily initializes AbstractReadableRepositoryService.rootNodeDefinition
if nodeId denotes the root node; otherwise throws a
UnsupportedRepositoryOperationException . |
QPropertyDefinition |
AbstractReadableRepositoryService.getPropertyDefinition(SessionInfo sessionInfo,
PropertyId propertyId)
|
Iterator |
AbstractReadableRepositoryService.getQNodeTypeDefinitions(SessionInfo sessionInfo)
This default implementation first calls AbstractReadableRepositoryService.checkSessionInfo(SessionInfo)
with the sessionInfo , |
Iterator |
AbstractReadableRepositoryService.getQNodeTypeDefinitions(SessionInfo sessionInfo,
Name[] nodetypeNames)
This default implementation first calls AbstractReadableRepositoryService.checkSessionInfo(SessionInfo)
with the sessionInfo , then gathers the QNodeTypeDefinition s
with the given nodetypeNames . |
Map |
AbstractReadableRepositoryService.getRegisteredNamespaces(SessionInfo sessionInfo)
This default implementation first calls AbstractReadableRepositoryService.checkSessionInfo(SessionInfo)
with the sessionInfo , then returns the prefix to namespace
URL mapping that was provided in the constructor of this repository
service. |
String[] |
AbstractReadableRepositoryService.getSupportedQueryLanguages(SessionInfo sessionInfo)
|
String[] |
AbstractReadableRepositoryService.getWorkspaceNames(SessionInfo sessionInfo)
This default implementation first calls AbstractReadableRepositoryService.checkSessionInfo(SessionInfo)
with the sessionInfo , then returns the workspaces that were
passed to the constructor of this repository service. |
SessionInfo |
AbstractReadableRepositoryService.impersonate(SessionInfo sessionInfo,
Credentials credentials)
This default implementation returns the session info returned by the call to AbstractReadableRepositoryService.obtain(Credentials, String) with the workspaceName taken from
the passed sessionInfo . |
void |
AbstractReadableRepositoryService.importXml(SessionInfo sessionInfo,
NodeId parentId,
InputStream xmlStream,
int uuidBehaviour)
|
boolean |
AbstractReadableRepositoryService.isGranted(SessionInfo sessionInfo,
ItemId itemId,
String[] actions)
This default implementation first calls AbstractReadableRepositoryService.checkSessionInfo(SessionInfo)
with the sessionInfo , then returns false if
the any of the actions are in AbstractReadableRepositoryService.WRITE_ACTIONS ;
otherwise returns true . |
LockInfo |
AbstractReadableRepositoryService.lock(SessionInfo sessionInfo,
NodeId nodeId,
boolean deep,
boolean sessionScoped)
|
LockInfo |
AbstractReadableRepositoryService.lock(SessionInfo sessionInfo,
NodeId nodeId,
boolean deep,
boolean sessionScoped,
long timeoutHint,
String ownerHint)
|
Iterator |
AbstractReadableRepositoryService.merge(SessionInfo sessionInfo,
NodeId nodeId,
String srcWorkspaceName,
boolean bestEffort)
|
void |
AbstractReadableRepositoryService.move(SessionInfo sessionInfo,
NodeId srcNodeId,
NodeId destParentNodeId,
Name destName)
|
SessionInfo |
AbstractReadableRepositoryService.obtain(SessionInfo sessionInfo,
String workspaceName)
This default implementation returns the session info retuned by the call to AbstractReadableRepositoryService.createSessionInfo(String, String) with the userId taken
from the passed sessionInfo . |
void |
AbstractReadableRepositoryService.refreshLock(SessionInfo sessionInfo,
NodeId nodeId)
|
void |
AbstractReadableRepositoryService.registerNamespace(SessionInfo sessionInfo,
String prefix,
String uri)
|
void |
AbstractReadableRepositoryService.removeVersion(SessionInfo sessionInfo,
NodeId versionHistoryId,
NodeId versionId)
|
void |
AbstractReadableRepositoryService.removeVersionLabel(SessionInfo sessionInfo,
NodeId versionHistoryId,
NodeId versionId,
Name label)
|
void |
AbstractReadableRepositoryService.resolveMergeConflict(SessionInfo sessionInfo,
NodeId nodeId,
NodeId[] mergeFailedIds,
NodeId[] predecessorIds)
|
void |
AbstractReadableRepositoryService.restore(SessionInfo sessionInfo,
NodeId[] versionIds,
boolean removeExisting)
|
void |
AbstractReadableRepositoryService.restore(SessionInfo sessionInfo,
NodeId nodeId,
NodeId versionId,
boolean removeExisting)
|
void |
AbstractReadableRepositoryService.unlock(SessionInfo sessionInfo,
NodeId nodeId)
|
void |
AbstractReadableRepositoryService.unregisterNamespace(SessionInfo sessionInfo,
String uri)
|
void |
AbstractReadableRepositoryService.update(SessionInfo sessionInfo,
NodeId nodeId,
String srcWorkspaceName)
|
Uses of SessionInfo in org.apache.jackrabbit.spi.commons.logging |
---|
Classes in org.apache.jackrabbit.spi.commons.logging that implement SessionInfo | |
---|---|
class |
SessionInfoLogger
Log wrapper for a SessionInfo . |
Methods in org.apache.jackrabbit.spi.commons.logging that return SessionInfo | |
---|---|
static SessionInfo |
SpiLoggerFactory.create(SessionInfo sessionInfo,
LogWriterProvider logWriterProvider)
Returns a log wrapper for the given sessionInfo which logs a calls to its
methods if logWriterProvider returns a LogWriter instance for
sessionInfo . |
SessionInfo |
SessionInfoLogger.getSessionInfo()
|
SessionInfo |
RepositoryServiceLogger.impersonate(SessionInfo sessionInfo,
Credentials credentials)
|
SessionInfo |
RepositoryServiceLogger.obtain(Credentials credentials,
String workspaceName)
|
SessionInfo |
RepositoryServiceLogger.obtain(SessionInfo sessionInfo,
String workspaceName)
|
Methods in org.apache.jackrabbit.spi.commons.logging with parameters of type SessionInfo | |
---|---|
void |
RepositoryServiceLogger.addVersionLabel(SessionInfo sessionInfo,
NodeId versionHistoryId,
NodeId versionId,
Name label,
boolean moveLabel)
|
NodeId |
RepositoryServiceLogger.checkin(SessionInfo sessionInfo,
NodeId nodeId)
|
void |
RepositoryServiceLogger.checkout(SessionInfo sessionInfo,
NodeId nodeId)
|
void |
RepositoryServiceLogger.checkQueryStatement(SessionInfo sessionInfo,
String statement,
String language,
Map namespaces)
|
void |
RepositoryServiceLogger.clone(SessionInfo sessionInfo,
String srcWorkspaceName,
NodeId srcNodeId,
NodeId destParentNodeId,
Name destName,
boolean removeExisting)
|
void |
RepositoryServiceLogger.copy(SessionInfo sessionInfo,
String srcWorkspaceName,
NodeId srcNodeId,
NodeId destParentNodeId,
Name destName)
|
static SessionInfo |
SpiLoggerFactory.create(SessionInfo sessionInfo,
LogWriterProvider logWriterProvider)
Returns a log wrapper for the given sessionInfo which logs a calls to its
methods if logWriterProvider returns a LogWriter instance for
sessionInfo . |
Batch |
RepositoryServiceLogger.createBatch(SessionInfo sessionInfo,
ItemId itemId)
|
EventFilter |
RepositoryServiceLogger.createEventFilter(SessionInfo sessionInfo,
int eventTypes,
Path absPath,
boolean isDeep,
String[] uuid,
Name[] qnodeTypeName,
boolean noLocal)
|
Subscription |
RepositoryServiceLogger.createSubscription(SessionInfo sessionInfo,
EventFilter[] filters)
|
void |
RepositoryServiceLogger.dispose(SessionInfo sessionInfo)
|
QueryInfo |
RepositoryServiceLogger.executeQuery(SessionInfo sessionInfo,
String statement,
String language,
Map namespaces)
|
Iterator |
RepositoryServiceLogger.getChildInfos(SessionInfo sessionInfo,
NodeId parentId)
|
Iterator |
RepositoryServiceLogger.getItemInfos(SessionInfo sessionInfo,
NodeId nodeId)
|
LockInfo |
RepositoryServiceLogger.getLockInfo(SessionInfo sessionInfo,
NodeId nodeId)
|
LogWriter |
Slf4jLogWriterProvider.getLogWriter(SessionInfo sessionInfo)
Returns a Slf4jLogWriter if the logger for
sessionInfo.getClass() has debug level enabled. |
LogWriter |
LogWriterProvider.getLogWriter(SessionInfo sessionInfo)
|
String |
RepositoryServiceLogger.getNamespacePrefix(SessionInfo sessionInfo,
String uri)
|
String |
RepositoryServiceLogger.getNamespaceURI(SessionInfo sessionInfo,
String prefix)
|
QNodeDefinition |
RepositoryServiceLogger.getNodeDefinition(SessionInfo sessionInfo,
NodeId nodeId)
|
NodeInfo |
RepositoryServiceLogger.getNodeInfo(SessionInfo sessionInfo,
NodeId nodeId)
|
QPropertyDefinition |
RepositoryServiceLogger.getPropertyDefinition(SessionInfo sessionInfo,
PropertyId propertyId)
|
PropertyInfo |
RepositoryServiceLogger.getPropertyInfo(SessionInfo sessionInfo,
PropertyId propertyId)
|
Iterator |
RepositoryServiceLogger.getQNodeTypeDefinitions(SessionInfo sessionInfo)
|
Iterator |
RepositoryServiceLogger.getQNodeTypeDefinitions(SessionInfo sessionInfo,
Name[] nodetypeNames)
|
Map |
RepositoryServiceLogger.getRegisteredNamespaces(SessionInfo sessionInfo)
|
String[] |
RepositoryServiceLogger.getSupportedQueryLanguages(SessionInfo sessionInfo)
|
String[] |
RepositoryServiceLogger.getWorkspaceNames(SessionInfo sessionInfo)
|
SessionInfo |
RepositoryServiceLogger.impersonate(SessionInfo sessionInfo,
Credentials credentials)
|
void |
RepositoryServiceLogger.importXml(SessionInfo sessionInfo,
NodeId parentId,
InputStream xmlStream,
int uuidBehaviour)
|
boolean |
RepositoryServiceLogger.isGranted(SessionInfo sessionInfo,
ItemId itemId,
String[] actions)
|
LockInfo |
RepositoryServiceLogger.lock(SessionInfo sessionInfo,
NodeId nodeId,
boolean deep,
boolean sessionScoped)
|
LockInfo |
RepositoryServiceLogger.lock(SessionInfo sessionInfo,
NodeId nodeId,
boolean deep,
boolean sessionScoped,
long timeoutHint,
String ownerHint)
|
Iterator |
RepositoryServiceLogger.merge(SessionInfo sessionInfo,
NodeId nodeId,
String srcWorkspaceName,
boolean bestEffort)
|
void |
RepositoryServiceLogger.move(SessionInfo sessionInfo,
NodeId srcNodeId,
NodeId destParentNodeId,
Name destName)
|
SessionInfo |
RepositoryServiceLogger.obtain(SessionInfo sessionInfo,
String workspaceName)
|
void |
RepositoryServiceLogger.refreshLock(SessionInfo sessionInfo,
NodeId nodeId)
|
void |
RepositoryServiceLogger.registerNamespace(SessionInfo sessionInfo,
String prefix,
String uri)
|
void |
RepositoryServiceLogger.removeVersion(SessionInfo sessionInfo,
NodeId versionHistoryId,
NodeId versionId)
|
void |
RepositoryServiceLogger.removeVersionLabel(SessionInfo sessionInfo,
NodeId versionHistoryId,
NodeId versionId,
Name label)
|
void |
RepositoryServiceLogger.resolveMergeConflict(SessionInfo sessionInfo,
NodeId nodeId,
NodeId[] mergeFailedIds,
NodeId[] predecessorIds)
|
void |
RepositoryServiceLogger.restore(SessionInfo sessionInfo,
NodeId[] nodeIds,
boolean removeExisting)
|
void |
RepositoryServiceLogger.restore(SessionInfo sessionInfo,
NodeId nodeId,
NodeId versionId,
boolean removeExisting)
|
void |
RepositoryServiceLogger.unlock(SessionInfo sessionInfo,
NodeId nodeId)
|
void |
RepositoryServiceLogger.unregisterNamespace(SessionInfo sessionInfo,
String uri)
|
void |
RepositoryServiceLogger.update(SessionInfo sessionInfo,
NodeId nodeId,
String srcWorkspaceName)
|
Constructors in org.apache.jackrabbit.spi.commons.logging with parameters of type SessionInfo | |
---|---|
SessionInfoLogger(SessionInfo sessionInfo,
LogWriter writer)
Create a new instance for the given sessionInfo which uses
writer for persisting log messages. |
Uses of SessionInfo in org.apache.jackrabbit.spi2dav |
---|
Methods in org.apache.jackrabbit.spi2dav that return SessionInfo | |
---|---|
SessionInfo |
RepositoryServiceImpl.impersonate(SessionInfo sessionInfo,
Credentials credentials)
|
SessionInfo |
RepositoryServiceImpl.obtain(Credentials credentials,
String workspaceName)
|
SessionInfo |
RepositoryServiceImpl.obtain(SessionInfo sessionInfo,
String workspaceName)
|
Methods in org.apache.jackrabbit.spi2dav with parameters of type SessionInfo | |
---|---|
void |
RepositoryServiceImpl.addVersionLabel(SessionInfo sessionInfo,
NodeId versionHistoryId,
NodeId versionId,
Name label,
boolean moveLabel)
|
NodeId |
RepositoryServiceImpl.checkin(SessionInfo sessionInfo,
NodeId nodeId)
|
void |
RepositoryServiceImpl.checkout(SessionInfo sessionInfo,
NodeId nodeId)
|
void |
RepositoryServiceImpl.checkQueryStatement(SessionInfo sessionInfo,
String statement,
String language,
Map namespaces)
|
void |
RepositoryServiceImpl.clone(SessionInfo sessionInfo,
String srcWorkspaceName,
NodeId srcNodeId,
NodeId destParentNodeId,
Name destName,
boolean removeExisting)
|
void |
RepositoryServiceImpl.copy(SessionInfo sessionInfo,
String srcWorkspaceName,
NodeId srcNodeId,
NodeId destParentNodeId,
Name destName)
|
Batch |
RepositoryServiceImpl.createBatch(SessionInfo sessionInfo,
ItemId itemId)
|
EventFilter |
RepositoryServiceImpl.createEventFilter(SessionInfo sessionInfo,
int eventTypes,
Path absPath,
boolean isDeep,
String[] uuids,
Name[] nodeTypeNames,
boolean noLocal)
|
Subscription |
RepositoryServiceImpl.createSubscription(SessionInfo sessionInfo,
EventFilter[] filters)
|
void |
RepositoryServiceImpl.dispose(SessionInfo sessionInfo)
|
QueryInfo |
RepositoryServiceImpl.executeQuery(SessionInfo sessionInfo,
String statement,
String language,
Map namespaces)
|
Iterator |
RepositoryServiceImpl.getChildInfos(SessionInfo sessionInfo,
NodeId parentId)
|
protected org.apache.commons.httpclient.HttpClient |
RepositoryServiceImpl.getClient(SessionInfo sessionInfo)
|
Iterator |
RepositoryServiceImpl.getItemInfos(SessionInfo sessionInfo,
NodeId nodeId)
|
protected String |
RepositoryServiceImpl.getItemUri(ItemId itemId,
SessionInfo sessionInfo)
|
LockInfo |
RepositoryServiceImpl.getLockInfo(SessionInfo sessionInfo,
NodeId nodeId)
|
protected NamePathResolver |
RepositoryServiceImpl.getNamePathResolver(SessionInfo sessionInfo)
|
String |
RepositoryServiceImpl.getNamespacePrefix(SessionInfo sessionInfo,
String uri)
|
String |
RepositoryServiceImpl.getNamespaceURI(SessionInfo sessionInfo,
String prefix)
|
QNodeDefinition |
RepositoryServiceImpl.getNodeDefinition(SessionInfo sessionInfo,
NodeId nodeId)
|
NodeInfo |
RepositoryServiceImpl.getNodeInfo(SessionInfo sessionInfo,
NodeId nodeId)
|
QPropertyDefinition |
RepositoryServiceImpl.getPropertyDefinition(SessionInfo sessionInfo,
PropertyId propertyId)
|
PropertyInfo |
RepositoryServiceImpl.getPropertyInfo(SessionInfo sessionInfo,
PropertyId propertyId)
|
Iterator |
RepositoryServiceImpl.getQNodeTypeDefinitions(SessionInfo sessionInfo)
|
Iterator |
RepositoryServiceImpl.getQNodeTypeDefinitions(SessionInfo sessionInfo,
Name[] nodetypeNames)
Retrieve QNodeTypeDefinition s for the given names. |
Map |
RepositoryServiceImpl.getRegisteredNamespaces(SessionInfo sessionInfo)
|
String[] |
RepositoryServiceImpl.getSupportedQueryLanguages(SessionInfo sessionInfo)
|
String[] |
RepositoryServiceImpl.getWorkspaceNames(SessionInfo sessionInfo)
|
SessionInfo |
RepositoryServiceImpl.impersonate(SessionInfo sessionInfo,
Credentials credentials)
|
void |
RepositoryServiceImpl.importXml(SessionInfo sessionInfo,
NodeId parentId,
InputStream xmlStream,
int uuidBehaviour)
|
boolean |
RepositoryServiceImpl.isGranted(SessionInfo sessionInfo,
ItemId itemId,
String[] actions)
|
LockInfo |
RepositoryServiceImpl.lock(SessionInfo sessionInfo,
NodeId nodeId,
boolean deep,
boolean sessionScoped)
|
LockInfo |
RepositoryServiceImpl.lock(SessionInfo sessionInfo,
NodeId nodeId,
boolean deep,
boolean sessionScoped,
long timeoutHint,
String ownerHint)
|
Iterator |
RepositoryServiceImpl.merge(SessionInfo sessionInfo,
NodeId nodeId,
String srcWorkspaceName,
boolean bestEffort)
|
void |
RepositoryServiceImpl.move(SessionInfo sessionInfo,
NodeId srcNodeId,
NodeId destParentNodeId,
Name destName)
|
SessionInfo |
RepositoryServiceImpl.obtain(SessionInfo sessionInfo,
String workspaceName)
|
void |
RepositoryServiceImpl.refreshLock(SessionInfo sessionInfo,
NodeId nodeId)
|
void |
RepositoryServiceImpl.registerNamespace(SessionInfo sessionInfo,
String prefix,
String uri)
|
void |
RepositoryServiceImpl.removeVersion(SessionInfo sessionInfo,
NodeId versionHistoryId,
NodeId versionId)
|
void |
RepositoryServiceImpl.removeVersionLabel(SessionInfo sessionInfo,
NodeId versionHistoryId,
NodeId versionId,
Name label)
|
void |
RepositoryServiceImpl.resolveMergeConflict(SessionInfo sessionInfo,
NodeId nodeId,
NodeId[] mergeFailedIds,
NodeId[] predecessorIds)
|
void |
RepositoryServiceImpl.restore(SessionInfo sessionInfo,
NodeId[] versionIds,
boolean removeExisting)
|
void |
RepositoryServiceImpl.restore(SessionInfo sessionInfo,
NodeId nodeId,
NodeId versionId,
boolean removeExisting)
|
void |
RepositoryServiceImpl.unlock(SessionInfo sessionInfo,
NodeId nodeId)
|
void |
RepositoryServiceImpl.unregisterNamespace(SessionInfo sessionInfo,
String uri)
|
void |
RepositoryServiceImpl.update(SessionInfo sessionInfo,
NodeId nodeId,
String srcWorkspaceName)
|
Constructors in org.apache.jackrabbit.spi2dav with parameters of type SessionInfo | |
---|---|
QueryInfoImpl(MultiStatus ms,
SessionInfo sessionInfo,
org.apache.jackrabbit.spi2dav.URIResolver uriResolver,
NamePathResolver resolver,
ValueFactory valueFactory,
QValueFactory qValueFactory)
|
Uses of SessionInfo in org.apache.jackrabbit.spi2davex |
---|
Methods in org.apache.jackrabbit.spi2davex that return SessionInfo | |
---|---|
SessionInfo |
RepositoryServiceImpl.obtain(Credentials credentials,
String workspaceName)
If the specified workspaceName the default workspace name
is used for backwards compatibility with jackrabbit-jcr-server < 1.5.0 |
SessionInfo |
RepositoryServiceImpl.obtain(SessionInfo sessionInfo,
String workspaceName)
If the specified workspaceName the default workspace name
is used for backwards compatibility with jackrabbit-jcr-server < 1.5.0 |
Methods in org.apache.jackrabbit.spi2davex with parameters of type SessionInfo | |
---|---|
void |
RepositoryServiceImpl.clone(SessionInfo sessionInfo,
String srcWorkspaceName,
NodeId srcNodeId,
NodeId destParentNodeId,
Name destName,
boolean removeExisting)
|
void |
RepositoryServiceImpl.copy(SessionInfo sessionInfo,
String srcWorkspaceName,
NodeId srcNodeId,
NodeId destParentNodeId,
Name destName)
|
Batch |
RepositoryServiceImpl.createBatch(SessionInfo sessionInfo,
ItemId itemId)
|
void |
RepositoryServiceImpl.dispose(SessionInfo sessionInfo)
|
Iterator |
RepositoryServiceImpl.getItemInfos(SessionInfo sessionInfo,
NodeId nodeId)
|
org.apache.jackrabbit.spi2davex.QValueFactoryImpl |
RepositoryServiceImpl.getQValueFactory(SessionInfo sessionInfo)
|
SessionInfo |
RepositoryServiceImpl.obtain(SessionInfo sessionInfo,
String workspaceName)
If the specified workspaceName the default workspace name
is used for backwards compatibility with jackrabbit-jcr-server < 1.5.0 |
Uses of SessionInfo in org.apache.jackrabbit.spi2jcr |
---|
Methods in org.apache.jackrabbit.spi2jcr that return SessionInfo | |
---|---|
SessionInfo |
RepositoryServiceImpl.impersonate(SessionInfo sessionInfo,
Credentials credentials)
Returns a SessionInfo that will be used by other methods
on the RepositoryService . |
SessionInfo |
RepositoryServiceImpl.obtain(Credentials credentials,
String workspaceName)
Returns a SessionInfo that will be used by other methods
on the RepositoryService . |
SessionInfo |
RepositoryServiceImpl.obtain(SessionInfo sessionInfo,
String workspaceName)
Returns a new SessionInfo for the given workspace name that
will be used by other methods on the RepositoryService . |
Methods in org.apache.jackrabbit.spi2jcr with parameters of type SessionInfo | |
---|---|
void |
RepositoryServiceImpl.addVersionLabel(SessionInfo sessionInfo,
NodeId versionHistoryId,
NodeId versionId,
Name label,
boolean moveLabel)
Add the given version label in the persistent layer. |
NodeId |
RepositoryServiceImpl.checkin(SessionInfo sessionInfo,
NodeId nodeId)
Performs a checkin for the Node identified by the given
NodeId . |
void |
RepositoryServiceImpl.checkout(SessionInfo sessionInfo,
NodeId nodeId)
Performs a checkout for the Node identified by the given
NodeId . |
void |
RepositoryServiceImpl.checkQueryStatement(SessionInfo sessionInfo,
String statement,
String language,
Map namespaces)
Checks if the query statement is valid according to the
specified query language . |
void |
RepositoryServiceImpl.clone(SessionInfo sessionInfo,
String srcWorkspaceName,
NodeId srcNodeId,
NodeId destParentNodeId,
Name destName,
boolean removeExisting)
Clone the subtree identified by the given srcNodeId
in workspace named srcWorkspaceName to the destination
in the workspace specified by the given SessionInfo . |
void |
RepositoryServiceImpl.copy(SessionInfo sessionInfo,
String srcWorkspaceName,
NodeId srcNodeId,
NodeId destParentNodeId,
Name destName)
Clone the subtree identified by the given srcNodeId
in workspace named srcWorkspaceName to the destination
in the workspace specified by the given SessionInfo . |
Batch |
RepositoryServiceImpl.createBatch(SessionInfo sessionInfo,
ItemId itemId)
Indicates the start of a set of operations that cause modifications on the underlying persistence layer. |
EventFilter |
RepositoryServiceImpl.createEventFilter(SessionInfo sessionInfo,
int eventTypes,
Path absPath,
boolean isDeep,
String[] uuid,
Name[] nodeTypeName,
boolean noLocal)
Creates an event filter. |
Subscription |
RepositoryServiceImpl.createSubscription(SessionInfo sessionInfo,
EventFilter[] filters)
Creates a new Subscription for events with an initial set of
EventFilter s. |
void |
RepositoryServiceImpl.dispose(SessionInfo sessionInfo)
Indicates to the RepositoryService , that the given SessionInfo
will not be used any more. |
QueryInfo |
RepositoryServiceImpl.executeQuery(SessionInfo sessionInfo,
String statement,
String language,
Map namespaces)
Execute the given query statement with the specified query language. |
Iterator |
RepositoryServiceImpl.getChildInfos(SessionInfo sessionInfo,
NodeId parentId)
Returns an Iterator of ChildInfo s present on the
Node represented by the given parentId. |
Iterator |
RepositoryServiceImpl.getItemInfos(SessionInfo sessionInfo,
NodeId nodeId)
Method used to 'batch-read' from the persistent storage. |
LockInfo |
RepositoryServiceImpl.getLockInfo(SessionInfo sessionInfo,
NodeId nodeId)
Returns the lock information that applies to Node identified
by the given NodeId or null . |
String |
RepositoryServiceImpl.getNamespacePrefix(SessionInfo sessionInfo,
String uri)
Returns the namespace prefix for the given namespace uri . |
String |
RepositoryServiceImpl.getNamespaceURI(SessionInfo sessionInfo,
String prefix)
Returns the namespace URI for the given namespace prefix . |
QNodeDefinition |
RepositoryServiceImpl.getNodeDefinition(SessionInfo sessionInfo,
NodeId nodeId)
Returns the QNodeDefinition for the Node
identified by the given id. |
NodeInfo |
RepositoryServiceImpl.getNodeInfo(SessionInfo sessionInfo,
NodeId nodeId)
Retrieve the NodeInfo for the node identified by the given
NodeId . |
QPropertyDefinition |
RepositoryServiceImpl.getPropertyDefinition(SessionInfo sessionInfo,
PropertyId propertyId)
Returns the QPropertyDefinition for the Property
identified by the given id. |
PropertyInfo |
RepositoryServiceImpl.getPropertyInfo(SessionInfo sessionInfo,
PropertyId propertyId)
Returns the PropertyInfo for the Property
identified by the given id. |
Iterator |
RepositoryServiceImpl.getQNodeTypeDefinitions(SessionInfo sessionInfo)
Retrieve the QNodeTypeDefinition s of all registered nodetypes. |
Iterator |
RepositoryServiceImpl.getQNodeTypeDefinitions(SessionInfo sessionInfo,
Name[] nodetypeNames)
Retrieve QNodeTypeDefinition s for the given names. |
Map |
RepositoryServiceImpl.getRegisteredNamespaces(SessionInfo sessionInfo)
Retrieve all registered namespaces. |
String[] |
RepositoryServiceImpl.getSupportedQueryLanguages(SessionInfo sessionInfo)
Returns a String array identifying all query languages supported by this SPI implementation. |
String[] |
RepositoryServiceImpl.getWorkspaceNames(SessionInfo sessionInfo)
Return all workspace names available for the given SessionInfo . |
SessionInfo |
RepositoryServiceImpl.impersonate(SessionInfo sessionInfo,
Credentials credentials)
Returns a SessionInfo that will be used by other methods
on the RepositoryService . |
void |
RepositoryServiceImpl.importXml(SessionInfo sessionInfo,
NodeId parentId,
InputStream xmlStream,
int uuidBehaviour)
Imports the data present in the given InputStream into the
persistent layer. |
boolean |
RepositoryServiceImpl.isGranted(SessionInfo sessionInfo,
ItemId itemId,
String[] actions)
Returns true if all actions defined in the specified array are granted to given SessionInfo . |
LockInfo |
RepositoryServiceImpl.lock(SessionInfo sessionInfo,
NodeId nodeId,
boolean deep,
boolean sessionScoped)
Create a lock on the Node identified by the given id. |
LockInfo |
RepositoryServiceImpl.lock(SessionInfo sessionInfo,
NodeId nodeId,
boolean deep,
boolean sessionScoped,
long timeoutHint,
String ownerHint)
Create a lock on the Node identified by the given id. |
Iterator |
RepositoryServiceImpl.merge(SessionInfo sessionInfo,
NodeId nodeId,
String srcWorkspaceName,
boolean bestEffort)
Merge the node identified by the given NodeId and its subtree
with the corresponding node present in the workspace with the name of
srcWorkspaceName . |
void |
RepositoryServiceImpl.move(SessionInfo sessionInfo,
NodeId srcNodeId,
NodeId destParentNodeId,
Name destName)
Moves the node identified by the given srcNodeId (and its
entire subtree) to the new location defined by destParentNodeId
and a new name (destName ). |
SessionInfo |
RepositoryServiceImpl.obtain(SessionInfo sessionInfo,
String workspaceName)
Returns a new SessionInfo for the given workspace name that
will be used by other methods on the RepositoryService . |
void |
RepositoryServiceImpl.refreshLock(SessionInfo sessionInfo,
NodeId nodeId)
Explicit refresh of an existing lock. |
void |
RepositoryServiceImpl.registerNamespace(SessionInfo sessionInfo,
String prefix,
String uri)
Register a new namespace with the given prefix and uri. |
void |
RepositoryServiceImpl.removeVersion(SessionInfo sessionInfo,
NodeId versionHistoryId,
NodeId versionId)
Remove the version inditified by the specified versionId . |
void |
RepositoryServiceImpl.removeVersionLabel(SessionInfo sessionInfo,
NodeId versionHistoryId,
NodeId versionId,
Name label)
Remove the given version label in the persistent layer. |
void |
RepositoryServiceImpl.resolveMergeConflict(SessionInfo sessionInfo,
NodeId nodeId,
NodeId[] mergeFailedIds,
NodeId[] predecessorIds)
Resolve an existing merge conflict present with the node identified by the given NodeId . |
void |
RepositoryServiceImpl.restore(SessionInfo sessionInfo,
NodeId[] versionIds,
boolean removeExisting)
Restore multiple versions at once. |
void |
RepositoryServiceImpl.restore(SessionInfo sessionInfo,
NodeId nodeId,
NodeId versionId,
boolean removeExisting)
Restores the node identified by nodeId to the state defined
by the version with the specified versionId . |
void |
RepositoryServiceImpl.unlock(SessionInfo sessionInfo,
NodeId nodeId)
Releases the lock on the Node identified by the given
NodeId . |
void |
RepositoryServiceImpl.unregisterNamespace(SessionInfo sessionInfo,
String uri)
Unregister the namespace identified by the given uri |
void |
RepositoryServiceImpl.update(SessionInfo sessionInfo,
NodeId nodeId,
String srcWorkspaceName)
Updates the node identified by the given NodeId replacing
it (an the complete subtree) with a clone of its corresponding node
present in the workspace with the given srcWorkspaceName . |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |