public interface RelationshipResolver
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
buildRESTParentHierarchy(java.lang.String pid)
Generates a REST based representation of an object and its parents.
|
java.util.Set<java.lang.String> |
getAttributesFromQuery(java.lang.String query,
java.lang.String queryLang,
java.lang.String variable)
Get attributes defined by a query.
|
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> |
getRelationships(java.lang.String subject)
Retrieves the relationships for this subject.
|
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> |
getRelationships(java.lang.String subject,
java.lang.String relationship)
Retrieves relationships for this subject, relationship and object.
|
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> getRelationships(java.lang.String subject)
throws MelcoeXacmlException
subject - the subject to return relationships for - either ns:pid,
ns:pid/datastream or the info:fedora/ formsMelcoeXacmlExceptionjava.util.Map<java.lang.String,java.util.Set<java.lang.String>> getRelationships(java.lang.String subject,
java.lang.String relationship)
throws MelcoeXacmlException
subject - relationship - object - MelcoeXacmlExceptionjava.lang.String buildRESTParentHierarchy(java.lang.String pid)
throws MelcoeXacmlException
pid - the pid whose parents we need to findPEPExceptionMelcoeXacmlExceptionjava.util.Set<java.lang.String> getAttributesFromQuery(java.lang.String query,
java.lang.String queryLang,
java.lang.String variable)
throws MelcoeXacmlException
query - The query to runqueryLang - Language of the query - itql, sparql, spovariable - - the output variable to return (for spo, specify "s", "p" or "o")MelcoeXacmlExceptionCopyright © 2014 DuraSpace. All Rights Reserved.