public interface RelationshipResolver
| Modifier and Type | Method and Description |
|---|---|
String |
buildRESTParentHierarchy(String pid)
Generates a REST based representation of an object and its parents.
|
Set<String> |
getAttributesFromQuery(String query,
String queryLang,
String variable)
Get attributes defined by a query.
|
Map<String,Set<String>> |
getRelationships(String subject)
Retrieves the relationships for this subject.
|
Map<String,Set<String>> |
getRelationships(String subject,
String relationship)
Retrieves relationships for this subject, relationship and object.
|
Map<String,Set<String>> getRelationships(String subject) throws MelcoeXacmlException
subject - the subject to return relationships for - either ns:pid,
ns:pid/datastream or the info:fedora/ formsMelcoeXacmlExceptionMap<String,Set<String>> getRelationships(String subject, String relationship) throws MelcoeXacmlException
subject - relationship - object - MelcoeXacmlExceptionString buildRESTParentHierarchy(String pid) throws MelcoeXacmlException
pid - the pid whose parents we need to findPEPExceptionMelcoeXacmlExceptionSet<String> getAttributesFromQuery(String query, String queryLang, 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 © 2013 DuraSpace. All Rights Reserved.