You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by md...@apache.org on 2011/10/18 21:00:58 UTC
svn commit: r1185801 -
/jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi/src/main/java/org/apache/jackrabbit/spi/RepositoryService.java
Author: mduerig
Date: Tue Oct 18 19:00:58 2011
New Revision: 1185801
URL: http://svn.apache.org/viewvc?rev=1185801&view=rev
Log:
Microkernel based Jackrabbit prototype (WIP)
formatting
Modified:
jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi/src/main/java/org/apache/jackrabbit/spi/RepositoryService.java
Modified: jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi/src/main/java/org/apache/jackrabbit/spi/RepositoryService.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi/src/main/java/org/apache/jackrabbit/spi/RepositoryService.java?rev=1185801&r1=1185800&r2=1185801&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi/src/main/java/org/apache/jackrabbit/spi/RepositoryService.java (original)
+++ jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi/src/main/java/org/apache/jackrabbit/spi/RepositoryService.java Tue Oct 18 19:00:58 2011
@@ -111,6 +111,7 @@ public interface RepositoryService {
QValueFactory getQValueFactory() throws RepositoryException;
//--------------------------------------------------------------------------
+
/**
* Returns all property descriptors that can be exposed with the
* {@link javax.jcr.Repository Repository} implementation built on top of
@@ -124,6 +125,7 @@ public interface RepositoryService {
Map<String, QValue[]> getRepositoryDescriptors() throws RepositoryException;
//-----------------------------------< SessionInfo creation and release >---
+
/**
* Returns a {@code SessionInfo} that will be used by other methods
* on the {@code RepositoryService}.
@@ -183,6 +185,7 @@ public interface RepositoryService {
void dispose(SessionInfo sessionInfo) throws RepositoryException;
//--------------------------------------------------------------------------
+
/**
* Return all workspace names available for the given {@code SessionInfo}.
*
@@ -195,6 +198,7 @@ public interface RepositoryService {
String[] getWorkspaceNames(SessionInfo sessionInfo) throws RepositoryException;
//-----------------------------------------------------< Access Control >---
+
/**
* Returns true if all actions defined in the specified array are granted
* to given {@code SessionInfo}. False otherwise.
@@ -211,6 +215,7 @@ public interface RepositoryService {
boolean isGranted(SessionInfo sessionInfo, ItemId itemId, String[] actions) throws RepositoryException;
//------------------------------------------------------< Reading items >---
+
/**
* Returns the {@code QNodeDefinition} for the {@code Node}
* identified by the given id. This method should only be used if the
@@ -347,6 +352,7 @@ public interface RepositoryService {
UnsupportedRepositoryOperationException, RepositoryException;
//-------------------------------------------------------------< Import >---
+
/**
* Imports the data present in the given {@code InputStream} into the
* persistent layer. Note, that the implementation is responsible for
@@ -372,6 +378,7 @@ public interface RepositoryService {
LockException, AccessDeniedException, UnsupportedRepositoryOperationException, RepositoryException;
//---------------------------------------------------------< Copy, Move >---
+
/**
* Moves the node identified by the given {@code srcNodeId} (and its
* entire sub tree) to the new location defined by{@code >destParentNodeId}
@@ -477,6 +484,7 @@ public interface RepositoryService {
UnsupportedRepositoryOperationException, RepositoryException;
//------------------------------------------------------------< Locking >---
+
/**
* Returns the lock information that applies to {@code Node} identified
* by the given {@code NodeId} or {@code null}. If the implementation
@@ -893,6 +901,7 @@ public interface RepositoryService {
RepositoryException;
//----------------------------------------------------------< Searching >---
+
/**
* Returns a String array identifying all query languages supported by this
* SPI implementation.
@@ -1099,6 +1108,7 @@ public interface RepositoryService {
void dispose(Subscription subscription) throws RepositoryException;
//---------------------------------------------------------< Namespaces >---
+
/**
* Retrieve all registered namespaces. The namespace to prefix mapping is
* done using the prefix as key and the namespace as value in the Map.
@@ -1166,6 +1176,7 @@ public interface RepositoryService {
UnsupportedRepositoryOperationException, AccessDeniedException, RepositoryException;
//----------------------------------------------------------< NodeTypes >---
+
/**
* Retrieve the {@code QNodeTypeDefinition}s of all registered nodetypes.
*
@@ -1242,6 +1253,7 @@ public interface RepositoryService {
throws UnsupportedRepositoryOperationException, NoSuchNodeTypeException, RepositoryException;
//-----------------------------------------------< Workspace Management >---
+
/**
* Create a new workspace with the specified {@code name}. If
* {@code srcWorkspaceName} isn't {@code null} the content of