public abstract class RelationshipResolverBase extends java.lang.Object implements RelationshipResolver
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<java.lang.String> |
childRelationships |
protected static java.lang.String |
DEFAULT_RELATIONSHIP |
protected java.util.List<java.lang.String> |
parentRelationships |
protected static java.lang.String |
REPOSITORY
Designates the repository itself.
|
| Constructor and Description |
|---|
RelationshipResolverBase(java.util.Map<java.lang.String,java.lang.String> options)
Constructor that takes a map of parent-child predicates (relationships).
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
getFedoraResourceURI(java.lang.String res)
given either a ns:pid/ds identifier or an info:fedora/ URI form of the same
return the URI form, validating the PID part.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuildRESTParentHierarchy, getAttributesFromQuery, getRelationships, getRelationshipsprotected static final java.lang.String REPOSITORY
protected static java.lang.String DEFAULT_RELATIONSHIP
protected final java.util.List<java.lang.String> parentRelationships
protected final java.util.List<java.lang.String> childRelationships
public RelationshipResolverBase(java.util.Map<java.lang.String,java.lang.String> options)
ContextHandlerImpl builds the map from the relationship-resolver
section of config-melcoe-pep.xml (in WEB-INF/classes).options - MelcoePDPExceptionprotected java.lang.String getFedoraResourceURI(java.lang.String res)
res - identifier for fedora resourceCopyright © 2014 DuraSpace. All Rights Reserved.