public abstract class FedoraBaseResource extends AbstractResource
Modifier and Type | Field and Description |
---|---|
protected IdentifierConverter<com.hp.hpl.jena.rdf.model.Resource,FedoraResource> |
idTranslator |
binaryService, containerService, defaultPidMinter, eventBus, headers, nodeService, pidMinter, sessions, uriInfo, versionService
Constructor and Description |
---|
FedoraBaseResource() |
Modifier and Type | Method and Description |
---|---|
protected String |
getBaseUrlProperty()
Produce a baseURL for JMS events using the system property fcrepo.jms.baseUrl of the form http[s]://host[:port],
if it exists.
|
FedoraResource |
getResourceFromPath(String externalPath)
Get the FedoraResource for the resource at the external path
|
protected abstract javax.jcr.Session |
session() |
protected void |
setUpJMSInfo(javax.ws.rs.core.UriInfo uriInfo,
javax.ws.rs.core.HttpHeaders headers)
Set the baseURL for JMS events.
|
protected IdentifierConverter<com.hp.hpl.jena.rdf.model.Resource,FedoraResource> |
translator() |
toPath
protected IdentifierConverter<com.hp.hpl.jena.rdf.model.Resource,FedoraResource> idTranslator
public FedoraBaseResource()
protected abstract javax.jcr.Session session()
protected IdentifierConverter<com.hp.hpl.jena.rdf.model.Resource,FedoraResource> translator()
public FedoraResource getResourceFromPath(String externalPath)
externalPath
- the external pathprotected void setUpJMSInfo(javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.HttpHeaders headers)
uriInfo
- the uri infoheaders
- HTTP headersprotected String getBaseUrlProperty()
Copyright © 2013–2016 DuraSpace, Inc.. All rights reserved.