You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by su...@apache.org on 2012/07/24 14:57:06 UTC
svn commit: r1365023 [2/2] - in /incubator/stanbol:
branches/contenthub-two-layered-structure/contenthub/bundlelist/src/main/bundles/
branches/contenthub-two-layered-structure/contenthub/index/
branches/contenthub-two-layered-structure/contenthub/index...
Copied: incubator/stanbol/trunk/commons/semanticindex/servicesapi/src/main/java/org/apache/stanbol/commons/semanticindex/index/EndpointTypeEnum.java (from r1364966, incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/EndpointTypeEnum.java)
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/commons/semanticindex/servicesapi/src/main/java/org/apache/stanbol/commons/semanticindex/index/EndpointTypeEnum.java?p2=incubator/stanbol/trunk/commons/semanticindex/servicesapi/src/main/java/org/apache/stanbol/commons/semanticindex/index/EndpointTypeEnum.java&p1=incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/EndpointTypeEnum.java&r1=1364966&r2=1365023&rev=1365023&view=diff
==============================================================================
--- incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/EndpointTypeEnum.java (original)
+++ incubator/stanbol/trunk/commons/semanticindex/servicesapi/src/main/java/org/apache/stanbol/commons/semanticindex/index/EndpointTypeEnum.java Tue Jul 24 12:57:04 2012
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.stanbol.contenthub.servicesapi.index;
+package org.apache.stanbol.commons.semanticindex.index;
/**
* Well known RESTful endpoint types offered by {@link SemanticIndex}.
Copied: incubator/stanbol/trunk/commons/semanticindex/servicesapi/src/main/java/org/apache/stanbol/commons/semanticindex/index/IndexException.java (from r1364966, incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/IndexException.java)
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/commons/semanticindex/servicesapi/src/main/java/org/apache/stanbol/commons/semanticindex/index/IndexException.java?p2=incubator/stanbol/trunk/commons/semanticindex/servicesapi/src/main/java/org/apache/stanbol/commons/semanticindex/index/IndexException.java&p1=incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/IndexException.java&r1=1364966&r2=1365023&rev=1365023&view=diff
==============================================================================
--- incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/IndexException.java (original)
+++ incubator/stanbol/trunk/commons/semanticindex/servicesapi/src/main/java/org/apache/stanbol/commons/semanticindex/index/IndexException.java Tue Jul 24 12:57:04 2012
@@ -14,27 +14,25 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.stanbol.contenthub.servicesapi.index;
-
-import org.apache.stanbol.contenthub.servicesapi.exception.ContenthubException;
+package org.apache.stanbol.commons.semanticindex.index;
/**
- * Indicates a problem with an {@link SemanticIndex}
+ * Indicates a problem with a {@link SemanticIndex}
*/
-public class IndexException extends ContenthubException {
+public class IndexException extends Exception {
private static final long serialVersionUID = 1528679884791958046L;
public IndexException(String msg) {
- super(msg);
- }
+ super(msg);
+ }
- public IndexException(Throwable cause) {
- super(cause);
- }
-
- public IndexException(String msg, Throwable cause) {
- super(msg, cause);
- }
+ public IndexException(Throwable cause) {
+ super(cause);
+ }
+
+ public IndexException(String msg, Throwable cause) {
+ super(msg, cause);
+ }
}
Copied: incubator/stanbol/trunk/commons/semanticindex/servicesapi/src/main/java/org/apache/stanbol/commons/semanticindex/index/IndexManagementException.java (from r1364966, incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/IndexManagementException.java)
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/commons/semanticindex/servicesapi/src/main/java/org/apache/stanbol/commons/semanticindex/index/IndexManagementException.java?p2=incubator/stanbol/trunk/commons/semanticindex/servicesapi/src/main/java/org/apache/stanbol/commons/semanticindex/index/IndexManagementException.java&p1=incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/IndexManagementException.java&r1=1364966&r2=1365023&rev=1365023&view=diff
==============================================================================
--- incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/IndexManagementException.java (original)
+++ incubator/stanbol/trunk/commons/semanticindex/servicesapi/src/main/java/org/apache/stanbol/commons/semanticindex/index/IndexManagementException.java Tue Jul 24 12:57:04 2012
@@ -14,9 +14,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.stanbol.contenthub.servicesapi.index;
+package org.apache.stanbol.commons.semanticindex.index;
-import org.apache.stanbol.contenthub.servicesapi.exception.ContenthubException;
/**
* Exception to be thrown in unexpected situations which occur during index management issues such as index
@@ -25,7 +24,7 @@ import org.apache.stanbol.contenthub.ser
* @author suat
*
*/
-public class IndexManagementException extends ContenthubException {
+public class IndexManagementException extends Exception {
private static final long serialVersionUID = 4755524861924506181L;
Copied: incubator/stanbol/trunk/commons/semanticindex/servicesapi/src/main/java/org/apache/stanbol/commons/semanticindex/index/IndexState.java (from r1364966, incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/IndexState.java)
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/commons/semanticindex/servicesapi/src/main/java/org/apache/stanbol/commons/semanticindex/index/IndexState.java?p2=incubator/stanbol/trunk/commons/semanticindex/servicesapi/src/main/java/org/apache/stanbol/commons/semanticindex/index/IndexState.java&p1=incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/IndexState.java&r1=1364966&r2=1365023&rev=1365023&view=diff
==============================================================================
--- incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/IndexState.java (original)
+++ incubator/stanbol/trunk/commons/semanticindex/servicesapi/src/main/java/org/apache/stanbol/commons/semanticindex/index/IndexState.java Tue Jul 24 12:57:04 2012
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.stanbol.contenthub.servicesapi.index;
+package org.apache.stanbol.commons.semanticindex.index;
/**
* This enumeration defines the possible states for a {@link SemanticIndex}.
Copied: incubator/stanbol/trunk/commons/semanticindex/servicesapi/src/main/java/org/apache/stanbol/commons/semanticindex/index/SemanticIndex.java (from r1364966, incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/SemanticIndex.java)
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/commons/semanticindex/servicesapi/src/main/java/org/apache/stanbol/commons/semanticindex/index/SemanticIndex.java?p2=incubator/stanbol/trunk/commons/semanticindex/servicesapi/src/main/java/org/apache/stanbol/commons/semanticindex/index/SemanticIndex.java&p1=incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/SemanticIndex.java&r1=1364966&r2=1365023&rev=1365023&view=diff
==============================================================================
--- incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/SemanticIndex.java (original)
+++ incubator/stanbol/trunk/commons/semanticindex/servicesapi/src/main/java/org/apache/stanbol/commons/semanticindex/index/SemanticIndex.java Tue Jul 24 12:57:04 2012
@@ -14,14 +14,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.stanbol.contenthub.servicesapi.index;
+package org.apache.stanbol.commons.semanticindex.index;
import java.util.List;
import java.util.Map;
-import org.apache.clerezza.rdf.core.UriRef;
-import org.apache.stanbol.contenthub.servicesapi.store.ChangeSet;
-import org.apache.stanbol.enhancer.servicesapi.ContentItem;
+import org.apache.stanbol.commons.semanticindex.store.ChangeSet;
import org.osgi.framework.Constants;
import org.osgi.framework.ServiceReference;
@@ -92,7 +90,7 @@ public interface SemanticIndex<Item> {
boolean index(Item item) throws IndexException;
/**
- * Removes the {@link ContentItem} with the parsed {@link UriRef} from this index. If the no content item
+ * Removes the {@link ContentItem} with the parsed {@code uri} from this index. If the no content item
* with the parsed uri is present in this index the call can be ignored.
*
* @param uri
Copied: incubator/stanbol/trunk/commons/semanticindex/servicesapi/src/main/java/org/apache/stanbol/commons/semanticindex/index/SemanticIndexManager.java (from r1364966, incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/SemanticIndexManager.java)
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/commons/semanticindex/servicesapi/src/main/java/org/apache/stanbol/commons/semanticindex/index/SemanticIndexManager.java?p2=incubator/stanbol/trunk/commons/semanticindex/servicesapi/src/main/java/org/apache/stanbol/commons/semanticindex/index/SemanticIndexManager.java&p1=incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/SemanticIndexManager.java&r1=1364966&r2=1365023&rev=1365023&view=diff
==============================================================================
--- incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/SemanticIndexManager.java (original)
+++ incubator/stanbol/trunk/commons/semanticindex/servicesapi/src/main/java/org/apache/stanbol/commons/semanticindex/index/SemanticIndexManager.java Tue Jul 24 12:57:04 2012
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.stanbol.contenthub.servicesapi.index;
+package org.apache.stanbol.commons.semanticindex.index;
import java.util.List;
Copied: incubator/stanbol/trunk/commons/semanticindex/servicesapi/src/main/java/org/apache/stanbol/commons/semanticindex/store/ChangeSet.java (from r1364966, incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/store/ChangeSet.java)
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/commons/semanticindex/servicesapi/src/main/java/org/apache/stanbol/commons/semanticindex/store/ChangeSet.java?p2=incubator/stanbol/trunk/commons/semanticindex/servicesapi/src/main/java/org/apache/stanbol/commons/semanticindex/store/ChangeSet.java&p1=incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/store/ChangeSet.java&r1=1364966&r2=1365023&rev=1365023&view=diff
==============================================================================
--- incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/store/ChangeSet.java (original)
+++ incubator/stanbol/trunk/commons/semanticindex/servicesapi/src/main/java/org/apache/stanbol/commons/semanticindex/store/ChangeSet.java Tue Jul 24 12:57:04 2012
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.stanbol.contenthub.servicesapi.store;
+package org.apache.stanbol.commons.semanticindex.store;
import java.util.Set;
Copied: incubator/stanbol/trunk/commons/semanticindex/servicesapi/src/main/java/org/apache/stanbol/commons/semanticindex/store/Store.java (from r1364966, incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/store/Store.java)
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/commons/semanticindex/servicesapi/src/main/java/org/apache/stanbol/commons/semanticindex/store/Store.java?p2=incubator/stanbol/trunk/commons/semanticindex/servicesapi/src/main/java/org/apache/stanbol/commons/semanticindex/store/Store.java&p1=incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/store/Store.java&r1=1364966&r2=1365023&rev=1365023&view=diff
==============================================================================
--- incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/store/Store.java (original)
+++ incubator/stanbol/trunk/commons/semanticindex/servicesapi/src/main/java/org/apache/stanbol/commons/semanticindex/store/Store.java Tue Jul 24 12:57:04 2012
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.stanbol.contenthub.servicesapi.store;
+package org.apache.stanbol.commons.semanticindex.store;
/**
* Interface to store and retrieve Items instances persistently.
Copied: incubator/stanbol/trunk/commons/semanticindex/servicesapi/src/main/java/org/apache/stanbol/commons/semanticindex/store/StoreException.java (from r1364966, incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/store/StoreException.java)
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/commons/semanticindex/servicesapi/src/main/java/org/apache/stanbol/commons/semanticindex/store/StoreException.java?p2=incubator/stanbol/trunk/commons/semanticindex/servicesapi/src/main/java/org/apache/stanbol/commons/semanticindex/store/StoreException.java&p1=incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/store/StoreException.java&r1=1364966&r2=1365023&rev=1365023&view=diff
==============================================================================
--- incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/store/StoreException.java (original)
+++ incubator/stanbol/trunk/commons/semanticindex/servicesapi/src/main/java/org/apache/stanbol/commons/semanticindex/store/StoreException.java Tue Jul 24 12:57:04 2012
@@ -14,15 +14,14 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.stanbol.contenthub.servicesapi.store;
+package org.apache.stanbol.commons.semanticindex.store;
-import org.apache.stanbol.contenthub.servicesapi.exception.ContenthubException;
/**
* @author anil.sinaci
*
*/
-public class StoreException extends ContenthubException {
+public class StoreException extends Exception {
private static final long serialVersionUID = 5670121947624979014L;