Package | Description |
---|---|
org.apache.jackrabbit.jcr2spi | |
org.apache.jackrabbit.jcr2spi.nodetype | |
org.apache.jackrabbit.jcr2spi.security.authorization | |
org.apache.jackrabbit.jcr2spi.security.authorization.jackrabbit.acl | |
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 |
Modifier and Type | Method and Description |
---|---|
protected WorkspaceManager |
WorkspaceImpl.createManager(RepositoryConfig config,
SessionInfo sessionInfo)
Create the workspace state manager.
|
protected WorkspaceImpl |
SessionImpl.createWorkspaceInstance(RepositoryConfig config,
SessionInfo sessionInfo) |
Constructor and Description |
---|
WorkspaceImpl(String name,
SessionImpl session,
RepositoryConfig config,
SessionInfo sessionInfo) |
WorkspaceManager(RepositoryConfig config,
SessionInfo sessionInfo,
boolean observationSupported) |
Constructor and Description |
---|
ItemDefinitionProviderImpl(EffectiveNodeTypeProvider entProvider,
RepositoryService service,
SessionInfo sessionInfo) |
Modifier and Type | Method and Description |
---|---|
AccessControlManager |
AccessControlProvider.createAccessControlManager(SessionInfo sessionInfo,
UpdatableItemStateManager itemStateManager,
ItemManager itemManager,
ItemDefinitionProvider definitionProvider,
HierarchyManager hierarchyManager,
NamePathResolver npResolver) |
Set<Privilege> |
AccessControlProvider.getPrivileges(SessionInfo sessionInfo,
NodeId id,
NamePathResolver npResolver) |
Map<String,Privilege> |
AccessControlProvider.getSupportedPrivileges(SessionInfo sessionInfo,
NodeId nodeId,
NamePathResolver npResolver)
Obtain the privileges supported at the specified path.
|
Privilege |
AccessControlProvider.privilegeFromName(SessionInfo sessionInfo,
NamePathResolver resolver,
String privilegeName)
The privileges corresponding to the specified name.
|
Modifier and Type | Method and Description |
---|---|
AccessControlManager |
AccessControlProviderImpl.createAccessControlManager(SessionInfo sessionInfo,
UpdatableItemStateManager itemStateManager,
ItemManager itemManager,
ItemDefinitionProvider definitionProvider,
HierarchyManager hierarchyManager,
NamePathResolver npResolver) |
Set<Privilege> |
AccessControlProviderImpl.getPrivileges(SessionInfo sessionInfo,
NodeId id,
NamePathResolver npResolver) |
Map<String,Privilege> |
AccessControlProviderImpl.getSupportedPrivileges(SessionInfo sessionInfo,
NodeId nodeId,
NamePathResolver npResolver) |
Privilege |
AccessControlProviderImpl.privilegeFromName(SessionInfo sessionInfo,
NamePathResolver resolver,
String privilegeName) |
Constructor and Description |
---|
WorkspaceItemStateFactory(RepositoryService service,
SessionInfo sessionInfo,
ItemDefinitionProvider definitionProvider,
ItemInfoCache cache) |
Modifier and Type | Interface and Description |
---|---|
interface |
XASessionInfo
XASessionInfo extends the SessionInfo and provides
access to the XAResource of the session info. |
Modifier and Type | Method and Description |
---|---|
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 . |
Modifier and Type | Method and Description |
---|---|
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.checkout(SessionInfo sessionInfo,
NodeId nodeId,
NodeId activityId)
Performs a checkout for the
Node identified by the given
NodeId and for activity identified by the specified
activityId . |
NodeId |
RepositoryService.checkpoint(SessionInfo sessionInfo,
NodeId nodeId)
Performs a checkpoint for the
Node identified by the given
NodeId . |
NodeId |
RepositoryService.checkpoint(SessionInfo sessionInfo,
NodeId nodeId,
NodeId activityId)
Performs a checkpoint for the
Node identified by the given
NodeId . |
String[] |
RepositoryService.checkQueryStatement(SessionInfo sessionInfo,
String statement,
String language,
Map<String,String> namespaces)
Checks if the query
statement is valid according to the
specified query language and returns the bind variable
names found in the query statement. |
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 . |
NodeId |
RepositoryService.createActivity(SessionInfo sessionInfo,
String title)
Create a new activity.
|
Batch |
RepositoryService.createBatch(SessionInfo sessionInfo,
ItemId itemId)
Indicates the start of a set of operations that cause modifications
on the underlying persistence layer.
|
NodeId |
RepositoryService.createConfiguration(SessionInfo sessionInfo,
NodeId nodeId) |
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. |
Tree |
RepositoryService.createTree(SessionInfo sessionInfo,
Batch batch,
Name nodeName,
Name primaryTypeName,
String uniqueId)
Creates a new
Tree that can be populated and later on be applied
to the specified Batch by calling #setTree . |
void |
RepositoryService.createWorkspace(SessionInfo sessionInfo,
String name,
String srcWorkspaceName)
Create a new workspace with the specified
name . |
void |
RepositoryService.deleteWorkspace(SessionInfo sessionInfo,
String name)
Deletes the workspace with the specified
name . |
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<String,String> namespaces,
long limit,
long offset,
Map<String,QValue> values)
Execute the given query statement with the specified query language.
|
Iterator<ChildInfo> |
RepositoryService.getChildInfos(SessionInfo sessionInfo,
NodeId parentId)
Returns an Iterator of
ChildInfo s present on the
Node represented by the given parentId. |
EventBundle |
RepositoryService.getEvents(SessionInfo sessionInfo,
EventFilter filter,
long after)
Returns events from the
EventJournal after a given point in
time. |
ItemInfoCache |
RepositoryService.getItemInfoCache(SessionInfo sessionInfo)
Returns a
ItemInfoCache for the given SessionInfo . |
Iterator<? extends ItemInfo> |
RepositoryService.getItemInfos(SessionInfo sessionInfo,
ItemId itemId)
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)
Deprecated.
|
PrivilegeDefinition[] |
RepositoryService.getPrivilegeDefinitions(SessionInfo sessionInfo)
TODO
|
Name[] |
RepositoryService.getPrivilegeNames(SessionInfo sessionInfo,
NodeId id)
TODO
|
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)
Deprecated.
|
Iterator<QNodeTypeDefinition> |
RepositoryService.getQNodeTypeDefinitions(SessionInfo sessionInfo)
Retrieve the
QNodeTypeDefinition s of all registered nodetypes. |
Iterator<QNodeTypeDefinition> |
RepositoryService.getQNodeTypeDefinitions(SessionInfo sessionInfo,
Name[] nodetypeNames)
Retrieve
QNodeTypeDefinition s for the given names. |
Iterator<PropertyId> |
RepositoryService.getReferences(SessionInfo sessionInfo,
NodeId nodeId,
Name propertyName,
boolean weakReferences)
Returns the
Id s of the properties that are referencing
the node identified by the given nodeId . |
Map<String,String> |
RepositoryService.getRegisteredNamespaces(SessionInfo sessionInfo)
Retrieve all registered namespaces.
|
PrivilegeDefinition[] |
RepositoryService.getSupportedPrivileges(SessionInfo sessionInfo,
NodeId nodeId)
TODO
|
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<NodeId> |
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 . |
Iterator<NodeId> |
RepositoryService.merge(SessionInfo sessionInfo,
NodeId nodeId,
String srcWorkspaceName,
boolean bestEffort,
boolean isShallow)
Merge the node identified by the given
NodeId and its subtree
with the corresponding node present in the workspace with the name of
srcWorkspaceName . |
Iterator<NodeId> |
RepositoryService.mergeActivity(SessionInfo sessionInfo,
NodeId activityId)
Merges the activity identified by the given
activityId into
the workspace the specified sessionInfo has been created for. |
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.registerNodeTypes(SessionInfo sessionInfo,
QNodeTypeDefinition[] nodeTypeDefinitions,
boolean allowUpdate)
Registers the node types with the specified
QNodeTypeDefinition s. |
void |
RepositoryService.removeActivity(SessionInfo sessionInfo,
NodeId activityId)
Removes the activity identified by the specified
activityId . |
void |
RepositoryService.removeVersion(SessionInfo sessionInfo,
NodeId versionHistoryId,
NodeId versionId)
Remove the version identified 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.unregisterNodeTypes(SessionInfo sessionInfo,
Name[] nodeTypeNames)
Unregisters the node types with the specified
names . |
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 . |
Modifier and Type | Class and Description |
---|---|
class |
SessionInfoImpl
SessionInfoImpl is a serializable bean based implementation of
SessionInfo . |
Modifier and Type | Method and Description |
---|---|
protected SessionInfo |
AbstractReadableRepositoryService.createSessionInfo(Credentials credentials,
String workspaceName) |
protected SessionInfo |
AbstractRepositoryService.createSessionInfo(Credentials credentials,
String workspaceName)
Creates a session info instance for the given
credentials and
workspaceName . |
protected SessionInfo |
AbstractRepositoryService.createSessionInfo(SessionInfo sessionInfo,
String workspaceName)
Creates a session info instance for the given
sessionInfo and
workspaceName . |
SessionInfo |
AbstractRepositoryService.impersonate(SessionInfo sessionInfo,
Credentials credentials)
This default implementation returns the session info returned by the call
to
AbstractRepositoryService.obtain(Credentials, String) with the workspaceName taken from
the passed sessionInfo . |
SessionInfo |
AbstractRepositoryService.obtain(Credentials credentials,
String workspaceName)
This default implementation does:
calls
AbstractRepositoryService.checkCredentials(Credentials, String)
calls AbstractRepositoryService.checkWorkspace(String)
calls AbstractRepositoryService.createSessionInfo(Credentials, String)
|
SessionInfo |
AbstractRepositoryService.obtain(SessionInfo sessionInfo,
String workspaceName)
This default implementation returns the session info returned by the call
to
AbstractRepositoryService.createSessionInfo(SessionInfo, String) . |
Modifier and Type | Method and Description |
---|---|
void |
AbstractRepositoryService.addVersionLabel(SessionInfo sessionInfo,
NodeId versionHistoryId,
NodeId versionId,
Name label,
boolean moveLabel) |
NodeId |
AbstractRepositoryService.checkin(SessionInfo sessionInfo,
NodeId nodeId) |
void |
AbstractRepositoryService.checkout(SessionInfo sessionInfo,
NodeId nodeId) |
void |
AbstractRepositoryService.checkout(SessionInfo sessionInfo,
NodeId nodeId,
NodeId activityId) |
NodeId |
AbstractRepositoryService.checkpoint(SessionInfo sessionInfo,
NodeId nodeId) |
NodeId |
AbstractRepositoryService.checkpoint(SessionInfo sessionInfo,
NodeId nodeId,
NodeId activityId) |
String[] |
AbstractRepositoryService.checkQueryStatement(SessionInfo sessionInfo,
String statement,
String language,
Map<String,String> namespaces) |
protected void |
AbstractRepositoryService.checkSessionInfo(SessionInfo sessionInfo)
Checks the type of the
sessionInfo instance. |
void |
AbstractRepositoryService.clone(SessionInfo sessionInfo,
String srcWorkspaceName,
NodeId srcNodeId,
NodeId destParentNodeId,
Name destName,
boolean removeExisting) |
void |
AbstractRepositoryService.copy(SessionInfo sessionInfo,
String srcWorkspaceName,
NodeId srcNodeId,
NodeId destParentNodeId,
Name destName) |
NodeId |
AbstractRepositoryService.createActivity(SessionInfo sessionInfo,
String title) |
Batch |
AbstractRepositoryService.createBatch(SessionInfo sessionInfo,
ItemId itemId) |
NodeId |
AbstractRepositoryService.createConfiguration(SessionInfo sessionInfo,
NodeId nodeId) |
EventFilter |
AbstractRepositoryService.createEventFilter(SessionInfo sessionInfo,
int eventTypes,
Path absPath,
boolean isDeep,
String[] uuid,
Name[] nodeTypeName,
boolean noLocal) |
protected abstract QNodeDefinition |
AbstractRepositoryService.createRootNodeDefinition(SessionInfo sessionInfo)
Create the root node definition.
|
protected SessionInfo |
AbstractRepositoryService.createSessionInfo(SessionInfo sessionInfo,
String workspaceName)
Creates a session info instance for the given
sessionInfo and
workspaceName . |
Subscription |
AbstractRepositoryService.createSubscription(SessionInfo sessionInfo,
EventFilter[] filters) |
Tree |
AbstractRepositoryService.createTree(SessionInfo sessionInfo,
Batch batch,
Name nodeName,
Name primaryTypeName,
String uniqueId) |
void |
AbstractRepositoryService.createWorkspace(SessionInfo sessionInfo,
String name,
String srcWorkspaceName) |
void |
AbstractRepositoryService.deleteWorkspace(SessionInfo sessionInfo,
String name) |
void |
AbstractRepositoryService.dispose(SessionInfo sessionInfo)
This default implementation does nothing.
|
QueryInfo |
AbstractRepositoryService.executeQuery(SessionInfo sessionInfo,
String statement,
String language,
Map<String,String> namespaces,
long limit,
long offset,
Map<String,QValue> values) |
EventBundle |
AbstractRepositoryService.getEvents(SessionInfo sessionInfo,
EventFilter filter,
long after) |
ItemInfoCache |
AbstractReadableRepositoryService.getItemInfoCache(SessionInfo sessionInfo) |
LockInfo |
AbstractRepositoryService.getLockInfo(SessionInfo sessionInfo,
NodeId nodeId) |
String |
AbstractRepositoryService.getNamespacePrefix(SessionInfo sessionInfo,
String uri)
This default implementation first calls
AbstractRepositoryService.checkSessionInfo(SessionInfo)
with the sessionInfo , then return the namespace prefix for
the given uri . |
String |
AbstractRepositoryService.getNamespaceURI(SessionInfo sessionInfo,
String prefix)
This default implementation first calls
AbstractRepositoryService.checkSessionInfo(SessionInfo)
with the sessionInfo , then returns the namespace URI for the
given prefix . |
QNodeDefinition |
AbstractRepositoryService.getNodeDefinition(SessionInfo sessionInfo,
NodeId nodeId)
This default implementation first calls
AbstractRepositoryService.checkSessionInfo(SessionInfo)
with the sessionInfo , then lazily initializes AbstractRepositoryService.rootNodeDefinition
if nodeId denotes the root node; otherwise throws a
UnsupportedRepositoryOperationException . |
NodeInfo |
AbstractReadableRepositoryService.getNodeInfo(SessionInfo sessionInfo,
NodeId nodeId)
This default implementation returns the first item returned by the call to
RepositoryService.getItemInfos(SessionInfo, ItemId) . |
QPropertyDefinition |
AbstractRepositoryService.getPropertyDefinition(SessionInfo sessionInfo,
PropertyId propertyId) |
Iterator<QNodeTypeDefinition> |
AbstractRepositoryService.getQNodeTypeDefinitions(SessionInfo sessionInfo)
This default implementation first calls
AbstractRepositoryService.checkSessionInfo(SessionInfo)
with the sessionInfo , |
Iterator<QNodeTypeDefinition> |
AbstractRepositoryService.getQNodeTypeDefinitions(SessionInfo sessionInfo,
Name[] nodetypeNames)
This default implementation first calls
AbstractRepositoryService.checkSessionInfo(SessionInfo)
with the sessionInfo , then gathers the QNodeTypeDefinition s
with the given nodetypeNames . |
Map<String,String> |
AbstractRepositoryService.getRegisteredNamespaces(SessionInfo sessionInfo)
This default implementation first calls
AbstractRepositoryService.checkSessionInfo(SessionInfo)
with the sessionInfo , then returns the prefix to namespace
URL mapping that was provided in the constructor of this repository
service. |
String[] |
AbstractRepositoryService.getSupportedQueryLanguages(SessionInfo sessionInfo) |
String[] |
AbstractReadableRepositoryService.getWorkspaceNames(SessionInfo sessionInfo)
This default implementation first calls
AbstractRepositoryService.checkSessionInfo(SessionInfo)
with the sessionInfo , then returns the workspaces that were
passed to the constructor of this repository service. |
SessionInfo |
AbstractRepositoryService.impersonate(SessionInfo sessionInfo,
Credentials credentials)
This default implementation returns the session info returned by the call
to
AbstractRepositoryService.obtain(Credentials, String) with the workspaceName taken from
the passed sessionInfo . |
void |
AbstractRepositoryService.importXml(SessionInfo sessionInfo,
NodeId parentId,
InputStream xmlStream,
int uuidBehaviour) |
boolean |
AbstractReadableRepositoryService.isGranted(SessionInfo sessionInfo,
ItemId itemId,
String[] actions)
This default implementation first calls
AbstractRepositoryService.checkSessionInfo(SessionInfo)
with the sessionInfo , then returns false if
the any of the actions are in AbstractReadableRepositoryService.WRITE_ACTIONS ;
otherwise returns true . |
LockInfo |
AbstractRepositoryService.lock(SessionInfo sessionInfo,
NodeId nodeId,
boolean deep,
boolean sessionScoped) |
LockInfo |
AbstractRepositoryService.lock(SessionInfo sessionInfo,
NodeId nodeId,
boolean deep,
boolean sessionScoped,
long timeoutHint,
String ownerHint) |
Iterator<NodeId> |
AbstractRepositoryService.merge(SessionInfo sessionInfo,
NodeId nodeId,
String srcWorkspaceName,
boolean bestEffort) |
Iterator<NodeId> |
AbstractRepositoryService.merge(SessionInfo sessionInfo,
NodeId nodeId,
String srcWorkspaceName,
boolean bestEffort,
boolean isShallow) |
Iterator<NodeId> |
AbstractRepositoryService.mergeActivity(SessionInfo sessionInfo,
NodeId activityId) |
void |
AbstractRepositoryService.move(SessionInfo sessionInfo,
NodeId srcNodeId,
NodeId destParentNodeId,
Name destName) |
SessionInfo |
AbstractRepositoryService.obtain(SessionInfo sessionInfo,
String workspaceName)
This default implementation returns the session info returned by the call
to
AbstractRepositoryService.createSessionInfo(SessionInfo, String) . |
void |
AbstractRepositoryService.refreshLock(SessionInfo sessionInfo,
NodeId nodeId) |
void |
AbstractRepositoryService.registerNamespace(SessionInfo sessionInfo,
String prefix,
String uri) |
void |
AbstractRepositoryService.registerNodeTypes(SessionInfo sessionInfo,
QNodeTypeDefinition[] nodeTypeDefinitions,
boolean allowUpdate) |
void |
AbstractRepositoryService.removeActivity(SessionInfo sessionInfo,
NodeId activityId) |
void |
AbstractRepositoryService.removeVersion(SessionInfo sessionInfo,
NodeId versionHistoryId,
NodeId versionId) |
void |
AbstractRepositoryService.removeVersionLabel(SessionInfo sessionInfo,
NodeId versionHistoryId,
NodeId versionId,
Name label) |
void |
AbstractRepositoryService.resolveMergeConflict(SessionInfo sessionInfo,
NodeId nodeId,
NodeId[] mergeFailedIds,
NodeId[] predecessorIds) |
void |
AbstractRepositoryService.restore(SessionInfo sessionInfo,
NodeId[] versionIds,
boolean removeExisting) |
void |
AbstractRepositoryService.restore(SessionInfo sessionInfo,
NodeId nodeId,
NodeId versionId,
boolean removeExisting) |
void |
AbstractRepositoryService.unlock(SessionInfo sessionInfo,
NodeId nodeId) |
void |
AbstractRepositoryService.unregisterNamespace(SessionInfo sessionInfo,
String uri) |
void |
AbstractRepositoryService.unregisterNodeTypes(SessionInfo sessionInfo,
Name[] nodeTypeNames) |
void |
AbstractRepositoryService.update(SessionInfo sessionInfo,
NodeId nodeId,
String srcWorkspaceName) |
Modifier and Type | Class and Description |
---|---|
class |
SessionInfoLogger
Log wrapper for a
SessionInfo . |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
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.checkout(SessionInfo sessionInfo,
NodeId nodeId,
NodeId activityId) |
NodeId |
RepositoryServiceLogger.checkpoint(SessionInfo sessionInfo,
NodeId nodeId) |
NodeId |
RepositoryServiceLogger.checkpoint(SessionInfo sessionInfo,
NodeId nodeId,
NodeId activityId) |
String[] |
RepositoryServiceLogger.checkQueryStatement(SessionInfo sessionInfo,
String statement,
String language,
Map<String,String> 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 . |
NodeId |
RepositoryServiceLogger.createActivity(SessionInfo sessionInfo,
String title) |
Batch |
RepositoryServiceLogger.createBatch(SessionInfo sessionInfo,
ItemId itemId) |
NodeId |
RepositoryServiceLogger.createConfiguration(SessionInfo sessionInfo,
NodeId nodeId) |
EventFilter |
RepositoryServiceLogger.createEventFilter(SessionInfo sessionInfo,
int eventTypes,
Path absPath,
boolean isDeep,
String[] uuid,
Name[] qnodeTypeName,
boolean noLocal) |
Subscription |
RepositoryServiceLogger.createSubscription(SessionInfo sessionInfo,
EventFilter[] filters) |
Tree |
RepositoryServiceLogger.createTree(SessionInfo sessionInfo,
Batch batch,
Name nodeName,
Name primaryTypeName,
String uniqueId) |
void |
RepositoryServiceLogger.createWorkspace(SessionInfo sessionInfo,
String name,
String srcWorkspaceName) |
void |
RepositoryServiceLogger.deleteWorkspace(SessionInfo sessionInfo,
String name) |
void |
RepositoryServiceLogger.dispose(SessionInfo sessionInfo) |
QueryInfo |
RepositoryServiceLogger.executeQuery(SessionInfo sessionInfo,
String statement,
String language,
Map<String,String> namespaces,
long limit,
long offset,
Map<String,QValue> values) |
Iterator<ChildInfo> |
RepositoryServiceLogger.getChildInfos(SessionInfo sessionInfo,
NodeId parentId) |
EventBundle |
RepositoryServiceLogger.getEvents(SessionInfo sessionInfo,
EventFilter filter,
long after) |
ItemInfoCache |
RepositoryServiceLogger.getItemInfoCache(SessionInfo sessionInfo) |
Iterator<? extends ItemInfo> |
RepositoryServiceLogger.getItemInfos(SessionInfo sessionInfo,
ItemId itemId) |
LockInfo |
RepositoryServiceLogger.getLockInfo(SessionInfo sessionInfo,
NodeId nodeId) |
LogWriter |
LogWriterProvider.getLogWriter(SessionInfo sessionInfo) |
LogWriter |
Slf4jLogWriterProvider.getLogWriter(SessionInfo sessionInfo)
Returns a
Slf4jLogWriter if the logger for
sessionInfo.getClass() has debug level enabled. |
LogWriter |
WriterLogWriterProvider.getLogWriter(SessionInfo sessionInfo)
Returns a
WriterLogWriter if the logger for
sessionInfo.getClass() has debug level enabled. |
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) |
PrivilegeDefinition[] |
RepositoryServiceLogger.getPrivilegeDefinitions(SessionInfo sessionInfo) |
Name[] |
RepositoryServiceLogger.getPrivilegeNames(SessionInfo sessionInfo,
NodeId nodeId) |
QPropertyDefinition |
RepositoryServiceLogger.getPropertyDefinition(SessionInfo sessionInfo,
PropertyId propertyId) |
PropertyInfo |
RepositoryServiceLogger.getPropertyInfo(SessionInfo sessionInfo,
PropertyId propertyId) |
Iterator<QNodeTypeDefinition> |
RepositoryServiceLogger.getQNodeTypeDefinitions(SessionInfo sessionInfo) |
Iterator<QNodeTypeDefinition> |
RepositoryServiceLogger.getQNodeTypeDefinitions(SessionInfo sessionInfo,
Name[] nodetypeNames) |
Iterator<PropertyId> |
RepositoryServiceLogger.getReferences(SessionInfo sessionInfo,
NodeId nodeId,
Name propertyName,
boolean weakReferences) |
Map<String,String> |
RepositoryServiceLogger.getRegisteredNamespaces(SessionInfo sessionInfo) |
PrivilegeDefinition[] |
RepositoryServiceLogger.getSupportedPrivileges(SessionInfo sessionInfo,
NodeId nodeId) |
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<NodeId> |
RepositoryServiceLogger.merge(SessionInfo sessionInfo,
NodeId nodeId,
String srcWorkspaceName,
boolean bestEffort) |
Iterator<NodeId> |
RepositoryServiceLogger.merge(SessionInfo sessionInfo,
NodeId nodeId,
String srcWorkspaceName,
boolean bestEffort,
boolean isShallow) |
Iterator<NodeId> |
RepositoryServiceLogger.mergeActivity(SessionInfo sessionInfo,
NodeId activityId) |
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.registerNodeTypes(SessionInfo sessionInfo,
QNodeTypeDefinition[] nodeTypeDefinitions,
boolean allowUpdate) |
void |
RepositoryServiceLogger.removeActivity(SessionInfo sessionInfo,
NodeId activityId) |
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.unregisterNodeTypes(SessionInfo sessionInfo,
Name[] nodeTypeNames) |
void |
RepositoryServiceLogger.update(SessionInfo sessionInfo,
NodeId nodeId,
String srcWorkspaceName) |
Constructor and Description |
---|
SessionInfoLogger(SessionInfo sessionInfo,
LogWriter writer)
Create a new instance for the given
sessionInfo which uses
writer for persisting log messages. |
Modifier and Type | Method and Description |
---|---|
SessionInfo |
RepositoryServiceImpl.impersonate(SessionInfo sessionInfo,
Credentials credentials) |
SessionInfo |
RepositoryServiceImpl.obtain(Credentials credentials,
String workspaceName) |
SessionInfo |
RepositoryServiceImpl.obtain(SessionInfo sessionInfo,
String workspaceName) |
Modifier and Type | Method and Description |
---|---|
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.checkout(SessionInfo sessionInfo,
NodeId nodeId,
NodeId activityId) |
NodeId |
RepositoryServiceImpl.checkpoint(SessionInfo sessionInfo,
NodeId nodeId) |
NodeId |
RepositoryServiceImpl.checkpoint(SessionInfo sessionInfo,
NodeId nodeId,
NodeId activityId) |
String[] |
RepositoryServiceImpl.checkQueryStatement(SessionInfo sessionInfo,
String statement,
String language,
Map<String,String> namespaces) |
protected void |
RepositoryServiceImpl.clearItemUriCache(SessionInfo sessionInfo)
Clear all URI mappings.
|
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) |
NodeId |
RepositoryServiceImpl.createActivity(SessionInfo sessionInfo,
String title) |
Batch |
RepositoryServiceImpl.createBatch(SessionInfo sessionInfo,
ItemId itemId) |
NodeId |
RepositoryServiceImpl.createConfiguration(SessionInfo sessionInfo,
NodeId nodeId) |
EventFilter |
RepositoryServiceImpl.createEventFilter(SessionInfo sessionInfo,
int eventTypes,
Path absPath,
boolean isDeep,
String[] uuids,
Name[] nodeTypeNames,
boolean noLocal) |
Subscription |
RepositoryServiceImpl.createSubscription(SessionInfo sessionInfo,
EventFilter[] filters) |
Tree |
RepositoryServiceImpl.createTree(SessionInfo sessionInfo,
Batch batch,
Name nodeName,
Name primaryTypeName,
String uniqueId) |
void |
RepositoryServiceImpl.createWorkspace(SessionInfo sessionInfo,
String name,
String srcWorkspaceName) |
void |
RepositoryServiceImpl.deleteWorkspace(SessionInfo sessionInfo,
String name) |
void |
RepositoryServiceImpl.dispose(SessionInfo sessionInfo) |
QueryInfo |
RepositoryServiceImpl.executeQuery(SessionInfo sessionInfo,
String statement,
String language,
Map<String,String> namespaces,
long limit,
long offset,
Map<String,QValue> values) |
org.apache.http.HttpResponse |
RepositoryServiceImpl.executeRequest(SessionInfo sessionInfo,
org.apache.http.client.methods.HttpUriRequest request) |
Iterator<ChildInfo> |
RepositoryServiceImpl.getChildInfos(SessionInfo sessionInfo,
NodeId parentId) |
protected org.apache.http.client.HttpClient |
RepositoryServiceImpl.getClient(SessionInfo sessionInfo) |
protected org.apache.http.protocol.HttpContext |
RepositoryServiceImpl.getContext(SessionInfo sessionInfo) |
EventBundle |
RepositoryServiceImpl.getEvents(SessionInfo sessionInfo,
EventFilter filter,
long after) |
ItemInfoCache |
RepositoryServiceImpl.getItemInfoCache(SessionInfo sessionInfo) |
Iterator<? extends ItemInfo> |
RepositoryServiceImpl.getItemInfos(SessionInfo sessionInfo,
ItemId itemId) |
protected String |
RepositoryServiceImpl.getItemUri(ItemId itemId,
SessionInfo sessionInfo) |
protected String |
RepositoryServiceImpl.getItemUri(ItemId itemId,
SessionInfo sessionInfo,
String workspaceName) |
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) |
PrivilegeDefinition[] |
RepositoryServiceImpl.getPrivilegeDefinitions(SessionInfo sessionInfo) |
Name[] |
RepositoryServiceImpl.getPrivilegeNames(SessionInfo sessionInfo,
NodeId nodeId) |
QPropertyDefinition |
RepositoryServiceImpl.getPropertyDefinition(SessionInfo sessionInfo,
PropertyId propertyId) |
PropertyInfo |
RepositoryServiceImpl.getPropertyInfo(SessionInfo sessionInfo,
PropertyId propertyId) |
Iterator<QNodeTypeDefinition> |
RepositoryServiceImpl.getQNodeTypeDefinitions(SessionInfo sessionInfo) |
Iterator<QNodeTypeDefinition> |
RepositoryServiceImpl.getQNodeTypeDefinitions(SessionInfo sessionInfo,
Name[] nodetypeNames) |
Iterator<PropertyId> |
RepositoryServiceImpl.getReferences(SessionInfo sessionInfo,
NodeId nodeId,
Name propertyName,
boolean weakReferences) |
Map<String,String> |
RepositoryServiceImpl.getRegisteredNamespaces(SessionInfo sessionInfo) |
PrivilegeDefinition[] |
RepositoryServiceImpl.getSupportedPrivileges(SessionInfo sessionInfo,
NodeId nodeId) |
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) |
protected static void |
RepositoryServiceImpl.initMethod(org.apache.http.client.methods.HttpUriRequest request,
SessionInfo sessionInfo) |
protected static void |
RepositoryServiceImpl.initMethod(org.apache.http.client.methods.HttpUriRequest request,
SessionInfo sessionInfo,
boolean addIfHeader) |
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<NodeId> |
RepositoryServiceImpl.merge(SessionInfo sessionInfo,
NodeId nodeId,
String srcWorkspaceName,
boolean bestEffort) |
Iterator<NodeId> |
RepositoryServiceImpl.merge(SessionInfo sessionInfo,
NodeId nodeId,
String srcWorkspaceName,
boolean bestEffort,
boolean isShallow) |
Iterator<NodeId> |
RepositoryServiceImpl.mergeActivity(SessionInfo sessionInfo,
NodeId activityId) |
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.registerNodeTypes(SessionInfo sessionInfo,
QNodeTypeDefinition[] nodeTypeDefinitions,
boolean allowUpdate) |
void |
RepositoryServiceImpl.removeActivity(SessionInfo sessionInfo,
NodeId activityId) |
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.unregisterNodeTypes(SessionInfo sessionInfo,
Name[] nodeTypeNames) |
void |
RepositoryServiceImpl.update(SessionInfo sessionInfo,
NodeId nodeId,
String srcWorkspaceName) |
Modifier and Type | Method and Description |
---|---|
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 |
Modifier and Type | Method and Description |
---|---|
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) |
Tree |
RepositoryServiceImpl.createTree(SessionInfo sessionInfo,
Batch batch,
Name nodeName,
Name primaryTypeName,
String uniqueId) |
void |
RepositoryServiceImpl.dispose(SessionInfo sessionInfo) |
Iterator<? extends ItemInfo> |
RepositoryServiceImpl.getItemInfos(SessionInfo sessionInfo,
ItemId itemId) |
PropertyInfo |
RepositoryServiceImpl.getPropertyInfo(SessionInfo sessionInfo,
PropertyId propertyId) |
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 |
Modifier and Type | Method and Description |
---|---|
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 . |
Modifier and Type | Method and Description |
---|---|
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.checkout(SessionInfo sessionInfo,
NodeId nodeId,
NodeId activityId)
Performs a checkout for the
Node identified by the given
NodeId and for activity identified by the specified
activityId . |
NodeId |
RepositoryServiceImpl.checkpoint(SessionInfo sessionInfo,
NodeId nodeId)
Performs a checkpoint for the
Node identified by the given
NodeId . |
NodeId |
RepositoryServiceImpl.checkpoint(SessionInfo sessionInfo,
NodeId nodeId,
NodeId activityId)
Performs a checkpoint for the
Node identified by the given
NodeId . |
String[] |
RepositoryServiceImpl.checkQueryStatement(SessionInfo sessionInfo,
String statement,
String language,
Map<String,String> namespaces)
Checks if the query
statement is valid according to the
specified query language and returns the bind variable
names found in the query statement. |
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 . |
NodeId |
RepositoryServiceImpl.createActivity(SessionInfo sessionInfo,
String title)
Create a new activity.
|
Batch |
RepositoryServiceImpl.createBatch(SessionInfo sessionInfo,
ItemId itemId)
Indicates the start of a set of operations that cause modifications
on the underlying persistence layer.
|
NodeId |
RepositoryServiceImpl.createConfiguration(SessionInfo sessionInfo,
NodeId nodeId) |
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. |
Tree |
RepositoryServiceImpl.createTree(SessionInfo sessionInfo,
Batch batch,
Name nodeName,
Name primaryTypeName,
String uniqueId) |
void |
RepositoryServiceImpl.createWorkspace(SessionInfo sessionInfo,
String name,
String srcWorkspaceName)
Create a new workspace with the specified
name . |
void |
RepositoryServiceImpl.deleteWorkspace(SessionInfo sessionInfo,
String name)
Deletes the workspace with the specified
name . |
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<String,String> namespaces,
long limit,
long offset,
Map<String,QValue> values)
Execute the given query statement with the specified query language.
|
Iterator<ChildInfo> |
RepositoryServiceImpl.getChildInfos(SessionInfo sessionInfo,
NodeId parentId)
Returns an Iterator of
ChildInfo s present on the
Node represented by the given parentId. |
EventBundle |
RepositoryServiceImpl.getEvents(SessionInfo sessionInfo,
EventFilter filter,
long after)
Returns events from the
EventJournal after a given point in
time. |
ItemInfoCache |
RepositoryServiceImpl.getItemInfoCache(SessionInfo sessionInfo)
Returns a
ItemInfoCache for the given SessionInfo . |
Iterator<? extends ItemInfo> |
RepositoryServiceImpl.getItemInfos(SessionInfo sessionInfo,
ItemId itemId)
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 . |
PrivilegeDefinition[] |
RepositoryServiceImpl.getPrivilegeDefinitions(SessionInfo sessionInfo) |
Name[] |
RepositoryServiceImpl.getPrivilegeNames(SessionInfo sessionInfo,
NodeId 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<QNodeTypeDefinition> |
RepositoryServiceImpl.getQNodeTypeDefinitions(SessionInfo sessionInfo)
Retrieve the
QNodeTypeDefinition s of all registered nodetypes. |
Iterator<QNodeTypeDefinition> |
RepositoryServiceImpl.getQNodeTypeDefinitions(SessionInfo sessionInfo,
Name[] nodetypeNames)
Retrieve
QNodeTypeDefinition s for the given names. |
Iterator<PropertyId> |
RepositoryServiceImpl.getReferences(SessionInfo sessionInfo,
NodeId nodeId,
Name propertyName,
boolean weakReferences)
Returns the
Id s of the properties that are referencing
the node identified by the given nodeId . |
Map<String,String> |
RepositoryServiceImpl.getRegisteredNamespaces(SessionInfo sessionInfo)
Retrieve all registered namespaces.
|
PrivilegeDefinition[] |
RepositoryServiceImpl.getSupportedPrivileges(SessionInfo sessionInfo,
NodeId nodeId) |
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<NodeId> |
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 . |
Iterator<NodeId> |
RepositoryServiceImpl.merge(SessionInfo sessionInfo,
NodeId nodeId,
String srcWorkspaceName,
boolean bestEffort,
boolean isShallow)
Merge the node identified by the given
NodeId and its subtree
with the corresponding node present in the workspace with the name of
srcWorkspaceName . |
Iterator<NodeId> |
RepositoryServiceImpl.mergeActivity(SessionInfo sessionInfo,
NodeId activityId)
Merges the activity identified by the given
activityId into
the workspace the specified sessionInfo has been created for. |
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.registerNodeTypes(SessionInfo sessionInfo,
QNodeTypeDefinition[] nodeTypeDefinitions,
boolean allowUpdate)
Registers the node types with the specified
QNodeTypeDefinition s. |
void |
RepositoryServiceImpl.removeActivity(SessionInfo sessionInfo,
NodeId activityId)
Removes the activity identified by the specified
activityId . |
void |
RepositoryServiceImpl.removeVersion(SessionInfo sessionInfo,
NodeId versionHistoryId,
NodeId versionId)
Remove the version identified 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.unregisterNodeTypes(SessionInfo sessionInfo,
Name[] nodeTypeNames)
Unregisters the node types with the specified
names . |
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 . |
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.