Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Interim commit for updating kernel contracts to suppport iterators
Partial resolution of: https://www.pivotaltracker.com/story/show/59243236 Distinguishing between managed and unmanaged RDF Developing machinery to compare new and old material for updating Building new iterator-driven persistence machinery Continuing to build iterating persistance machinery Completed positive persistence Moved iterating RDF generation to the outer layer of JcrRdfTools Moving iterated generation of versioning-related triples through to the domain models
- Loading branch information
Showing
35 changed files
with
1,916 additions
and
184 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
fcrepo-kernel/src/main/java/org/fcrepo/kernel/exception/MalformedRdfException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/** | ||
* Copyright 2013 DuraSpace, Inc. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package org.fcrepo.kernel.exception; | ||
|
||
import javax.jcr.RepositoryException; | ||
|
||
|
||
/** | ||
* Indicates that RDF was presented for persistence to the repository, | ||
* but could not be persisted for some reportable reason. | ||
* | ||
* @author ajs6f | ||
* @date Oct 24, 2013 | ||
*/ | ||
public class MalformedRdfException extends RepositoryException { | ||
|
||
private static final long serialVersionUID = 1L; | ||
|
||
/** | ||
* Ordinary constructor. | ||
* | ||
* @param msg | ||
*/ | ||
public MalformedRdfException(final String msg) { | ||
super(msg); | ||
} | ||
|
||
} |
33 changes: 33 additions & 0 deletions
33
...o-kernel/src/main/java/org/fcrepo/kernel/exception/NoSuchPropertyDefinitionException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/** | ||
* Copyright 2013 DuraSpace, Inc. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package org.fcrepo.kernel.exception; | ||
|
||
import javax.jcr.RepositoryException; | ||
|
||
/** | ||
* Represents the case where a property definition has been requested but does | ||
* not exist. Typically, this happens when a new property is added to a node | ||
* that does not restrict its property types. | ||
* | ||
* @author ajs6f | ||
* @date Oct 25, 2013 | ||
*/ | ||
public class NoSuchPropertyDefinitionException extends RepositoryException { | ||
|
||
private static final long serialVersionUID = 1L; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.