|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RelationshipResolver
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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/ forms
MelcoeXacmlException
Map<String,Set<String>> getRelationships(String subject,
String relationship)
throws MelcoeXacmlException
subject - relationship - object -
MelcoeXacmlException
String buildRESTParentHierarchy(String pid)
throws MelcoeXacmlException
pid - the pid whose parents we need to find
PEPException
MelcoeXacmlException
Set<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")
MelcoeXacmlException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||