public class HttpGraphSubjects extends Object implements org.fcrepo.kernel.rdf.GraphSubjects
| Constructor and Description |
|---|
HttpGraphSubjects(javax.jcr.Session session,
Class<?> relativeTo,
javax.ws.rs.core.UriInfo uris)
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 |
getContext() |
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(com.hp.hpl.jena.rdf.model.Resource subject) |
boolean |
isFedoraGraphSubject(com.hp.hpl.jena.rdf.model.Resource subject) |
public HttpGraphSubjects(javax.jcr.Session session,
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 org.fcrepo.kernel.rdf.GraphSubjectsjavax.jcr.RepositoryExceptionpublic com.hp.hpl.jena.rdf.model.Resource getContext()
getContext in interface org.fcrepo.kernel.rdf.GraphSubjectspublic com.hp.hpl.jena.rdf.model.Resource getGraphSubject(javax.jcr.Node node)
throws javax.jcr.RepositoryException
getGraphSubject in interface org.fcrepo.kernel.rdf.GraphSubjectsjavax.jcr.RepositoryExceptionpublic javax.jcr.Node getNodeFromGraphSubject(com.hp.hpl.jena.rdf.model.Resource subject)
throws javax.jcr.RepositoryException
getNodeFromGraphSubject in interface org.fcrepo.kernel.rdf.GraphSubjectsjavax.jcr.RepositoryExceptionpublic boolean isFedoraGraphSubject(com.hp.hpl.jena.rdf.model.Resource subject)
isFedoraGraphSubject in interface org.fcrepo.kernel.rdf.GraphSubjectsCopyright © 2013 DuraSpace, Inc.. All rights reserved.