public class HttpGraphSubjects extends Object implements GraphSubjects
| Constructor and Description |
|---|
HttpGraphSubjects(Class<?> relativeTo,
javax.ws.rs.core.UriInfo uris)
Build HTTP graphs to resources relative to the given JAX-RS resource
|
HttpGraphSubjects(Class<?> relativeTo,
javax.ws.rs.core.UriInfo uris,
javax.jcr.Session session)
Build HTTP graph subjects relative to the given JAX-RS resource, using the UriInfo provided.
|
| Modifier and Type | Method and Description |
|---|---|
com.hp.hpl.jena.rdf.model.Resource |
getGraphSubject(javax.jcr.Node node) |
com.hp.hpl.jena.rdf.model.Resource |
getGraphSubject(String absPath) |
javax.jcr.Node |
getNodeFromGraphSubject(javax.jcr.Session session,
com.hp.hpl.jena.rdf.model.Resource subject) |
boolean |
isFedoraGraphSubject(com.hp.hpl.jena.rdf.model.Resource subject) |
public HttpGraphSubjects(Class<?> relativeTo, javax.ws.rs.core.UriInfo uris, javax.jcr.Session session)
relativeTo - uris - session - public HttpGraphSubjects(Class<?> relativeTo, javax.ws.rs.core.UriInfo uris)
relativeTo - uris - public com.hp.hpl.jena.rdf.model.Resource getGraphSubject(String absPath) throws javax.jcr.RepositoryException
getGraphSubject in interface GraphSubjectsjavax.jcr.RepositoryExceptionpublic com.hp.hpl.jena.rdf.model.Resource getGraphSubject(javax.jcr.Node node)
throws javax.jcr.RepositoryException
getGraphSubject in interface GraphSubjectsjavax.jcr.RepositoryExceptionpublic javax.jcr.Node getNodeFromGraphSubject(javax.jcr.Session session,
com.hp.hpl.jena.rdf.model.Resource subject)
throws javax.jcr.RepositoryException
getNodeFromGraphSubject in interface GraphSubjectsjavax.jcr.RepositoryExceptionpublic boolean isFedoraGraphSubject(com.hp.hpl.jena.rdf.model.Resource subject)
isFedoraGraphSubject in interface GraphSubjectsCopyright © 2013 DuraSpace, Inc.. All Rights Reserved.