public abstract class AbstractResource extends Object
| Modifier and Type | Field and Description |
|---|---|
protected DatastreamService |
datastreamService
The fcrepo datastream service
|
protected com.google.common.eventbus.EventBus |
eventBus |
protected static org.modeshape.jcr.api.JcrTools |
jcrTools
A convenience object provided by ModeShape for acting against the JCR
repository.
|
protected NodeService |
nodeService
The fcrepo node service
|
protected ObjectService |
objectService
The fcrepo object 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 |
|---|---|
protected void |
addResponseInformationToStream(FedoraResource resource,
RdfStream dataset,
javax.ws.rs.core.UriInfo uriInfo,
GraphSubjects subjects) |
static String |
toPath(List<javax.ws.rs.core.PathSegment> paths)
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 ObjectService objectService
@Autowired protected DatastreamService datastreamService
@Autowired protected VersionService versionService
@Autowired(required=false) protected com.google.common.eventbus.EventBus eventBus
@Autowired protected PidMinter pidMinter
protected static final org.modeshape.jcr.api.JcrTools jcrTools
public static final String toPath(List<javax.ws.rs.core.PathSegment> paths)
paths - protected void addResponseInformationToStream(FedoraResource resource, RdfStream dataset, javax.ws.rs.core.UriInfo uriInfo, GraphSubjects subjects) throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionCopyright © 2013 DuraSpace, Inc.. All Rights Reserved.