public class AbstractResource extends Object
Modifier and Type | Field and Description |
---|---|
protected BinaryService |
binaryService
The fcrepo datastream service
|
protected ContainerService |
containerService
The fcrepo object service
|
protected com.google.common.eventbus.EventBus |
eventBus |
protected NodeService |
nodeService
The fcrepo node service
|
protected PidMinter |
pidMinter
A resource that can mint new Fedora PIDs.
|
protected SessionFactory |
sessions |
protected javax.ws.rs.core.UriInfo |
uriInfo
Useful for constructing URLs
|
protected VersionService |
versionService
The fcrepo version service
|
Constructor and Description |
---|
AbstractResource() |
Modifier and Type | Method and Description |
---|---|
static String |
toPath(IdentifierConverter<com.hp.hpl.jena.rdf.model.Resource,FedoraResource> idTranslator,
String originalPath)
Convert a JAX-RS list of PathSegments to a JCR path
|
@Context protected javax.ws.rs.core.UriInfo uriInfo
@Autowired protected SessionFactory sessions
@Autowired protected NodeService nodeService
@Autowired protected ContainerService containerService
@Autowired protected BinaryService binaryService
@Autowired protected VersionService versionService
@Inject @Optional protected com.google.common.eventbus.EventBus eventBus
public AbstractResource()
public static final String toPath(IdentifierConverter<com.hp.hpl.jena.rdf.model.Resource,FedoraResource> idTranslator, String originalPath)
idTranslator
- the id translatororiginalPath
- the original pathCopyright © 2013–2015 DuraSpace, Inc.. All rights reserved.