public class HttpGraphSubjects extends Object implements GraphSubjects
| Modifier and Type | Field and Description |
|---|---|
static String |
TX_PREFIX |
static String |
WORKSPACE_PREFIX |
| 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) |
String |
getPathFromGraphSubject(com.hp.hpl.jena.rdf.model.Resource subject) |
boolean |
isFedoraGraphSubject(com.hp.hpl.jena.rdf.model.Resource subject) |
public static final String WORKSPACE_PREFIX
public static final String TX_PREFIX
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 GraphSubjectsjavax.jcr.RepositoryExceptionpublic com.hp.hpl.jena.rdf.model.Resource getContext()
getContext in interface GraphSubjectspublic 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(com.hp.hpl.jena.rdf.model.Resource subject)
throws javax.jcr.RepositoryException
getNodeFromGraphSubject in interface GraphSubjectsjavax.jcr.RepositoryExceptionpublic String getPathFromGraphSubject(com.hp.hpl.jena.rdf.model.Resource subject) throws javax.jcr.RepositoryException
getPathFromGraphSubject 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.