Uses of Interface
org.fcrepo.kernel.api.models.FedoraResource
-
Packages that use FedoraResource Package Description org.fcrepo.auth.webac org.fcrepo.http.api This package provides a RESTful API for several content management and core repository services.org.fcrepo.http.api.services org.fcrepo.http.api.url Provides facilities for decorating object responses with appropriate repository service URIs.org.fcrepo.http.commons.api.rdf Utilities for assembling and manipulating RDF responses.org.fcrepo.kernel.api.auth org.fcrepo.kernel.api.exception Kernel exception classes.org.fcrepo.kernel.api.models org.fcrepo.kernel.api.services org.fcrepo.kernel.impl.models org.fcrepo.kernel.impl.services -
-
Uses of FedoraResource in org.fcrepo.auth.webac
Methods in org.fcrepo.auth.webac that return FedoraResource Modifier and Type Method Description FedoraResource
ACLHandleImpl. getResource()
Methods in org.fcrepo.auth.webac with parameters of type FedoraResource Modifier and Type Method Description Map<String,Collection<String>>
WebACRolesProvider. getRoles(FedoraResource resource, Transaction transaction)
Get the roles assigned to this Node.Constructors in org.fcrepo.auth.webac with parameters of type FedoraResource Constructor Description ACLHandleImpl(FedoraResource resource, List<WebACAuthorization> authorizations)
Default constructor. -
Uses of FedoraResource in org.fcrepo.http.api
Methods in org.fcrepo.http.api that return FedoraResource Modifier and Type Method Description protected FedoraResource
FedoraBaseResource. getFedoraResource(Transaction transaction, FedoraId fedoraId)
Gets a fedora resource by id.protected FedoraResource
ContentExposingResource. reloadResource()
protected FedoraResource
ContentExposingResource. resource()
protected FedoraResource
FedoraTombstones. resource()
Methods in org.fcrepo.http.api with parameters of type FedoraResource Modifier and Type Method Description protected void
ContentExposingResource. addCacheControlHeaders(javax.servlet.http.HttpServletResponse servletResponse, FedoraResource resource, Transaction transaction)
Add ETag and Last-Modified cache control headers to the responseprotected void
ContentExposingResource. addExternalContentHeaders(FedoraResource resource)
protected void
ContentExposingResource. addLinkAndOptionsHttpHeaders(FedoraResource resource)
Add Link and Option headersprotected void
ContentExposingResource. addResourceHttpHeaders(FedoraResource resource)
protected void
ContentExposingResource. addResourceHttpHeaders(FedoraResource resource, boolean dispositionInline)
Add any resource-specific headers to the responseprotected void
FedoraLdp. addResourceHttpHeaders(FedoraResource resource)
protected void
FedoraLdp. addResourceHttpHeaders(FedoraResource resource, boolean dispositionInline)
protected void
ContentExposingResource. addTransactionHeaders(FedoraResource resource)
protected org.apache.jena.graph.Node
ContentExposingResource. asNode(FedoraResource resource)
This is a helper method for using the idTranslator to convert this resource into an associated Jena Node.protected void
ContentExposingResource. checkCacheControlHeaders(javax.ws.rs.core.Request request, javax.servlet.http.HttpServletResponse servletResponse, FedoraResource resource, Transaction transaction)
Evaluate the cache control headers for the request to see if it can be served from the cache.protected javax.ws.rs.core.Response
ContentExposingResource. createUpdateResponse(FedoraResource resource, boolean created)
Create the appropriate response after a create or update request is processed.protected void
ContentExposingResource. evaluateRequestPreconditions(javax.ws.rs.core.Request request, javax.servlet.http.HttpServletResponse servletResponse, FedoraResource resource, Transaction transaction)
Evaluate request preconditions to ensure the resource is the expected stateprotected javax.ws.rs.core.Response
ContentExposingResource. getBinaryContent(String rangeValue, FedoraResource resource)
Get the binary content of a datastreamprotected javax.ws.rs.core.MediaType
ContentExposingResource. getBinaryResourceMediaType(FedoraResource resource)
This method returns a MediaType for a binary resource.protected javax.ws.rs.core.Response
ContentExposingResource. getContent(int limit, FedoraResource resource)
This method returns an HTTP response with content body appropriate to the following arguments.protected RdfStream
ContentExposingResource. getResourceTriples(FedoraResource resource)
protected URI
ContentExposingResource. getUri(FedoraResource resource)
protected void
ContentExposingResource. patchResourcewithSparql(FedoraResource resource, String requestBody)
protected void
ContentExposingResource. setVaryAndPreferenceAppliedHeaders(javax.servlet.http.HttpServletResponse servletResponse, MultiPrefer prefer, FedoraResource resource)
-
Uses of FedoraResource in org.fcrepo.http.api.services
Methods in org.fcrepo.http.api.services with parameters of type FedoraResource Modifier and Type Method Description String
EtagService. getRdfResourceEtag(Transaction transaction, FedoraResource resource, LdpTriplePreferences prefers, Collection<javax.ws.rs.core.MediaType> acceptableMediaTypes)
Produces etag for a request for an RDF resource. -
Uses of FedoraResource in org.fcrepo.http.api.url
Methods in org.fcrepo.http.api.url with parameters of type FedoraResource Modifier and Type Method Description org.apache.jena.rdf.model.Model
HttpApiResources. createModelForResource(FedoraResource resource, javax.ws.rs.core.UriInfo uriInfo)
-
Uses of FedoraResource in org.fcrepo.http.commons.api.rdf
Methods in org.fcrepo.http.commons.api.rdf with parameters of type FedoraResource Modifier and Type Method Description RdfStream
HttpTripleUtil. addHttpComponentModelsForResourceToStream(RdfStream rdfStream, FedoraResource resource, javax.ws.rs.core.UriInfo uriInfo)
Add additional models to the RDF dataset for the given resourceorg.apache.jena.rdf.model.Model
UriAwareResourceModelFactory. createModelForResource(FedoraResource resource, javax.ws.rs.core.UriInfo uriInfo)
Given a resource, the UriInfo and a way to generate graph subjects, create a model with triples to inject into an RDF response for the resource (e.g. -
Uses of FedoraResource in org.fcrepo.kernel.api.auth
Methods in org.fcrepo.kernel.api.auth that return FedoraResource Modifier and Type Method Description FedoraResource
ACLHandle. getResource()
Get the resource that contains the ACL. -
Uses of FedoraResource in org.fcrepo.kernel.api.exception
Constructors in org.fcrepo.kernel.api.exception with parameters of type FedoraResource Constructor Description TombstoneException(FedoraResource resource)
Construct a new tombstone exception for a resourceTombstoneException(FedoraResource resource, String tombstoneUri)
Create a new tombstone exception with a URI to the tombstone resource -
Uses of FedoraResource in org.fcrepo.kernel.api.models
Subinterfaces of FedoraResource in org.fcrepo.kernel.api.models Modifier and Type Interface Description interface
Binary
interface
Container
interface
NonRdfSourceDescription
interface
TimeMap
interface
Tombstone
interface
WebacAcl
Methods in org.fcrepo.kernel.api.models with type parameters of type FedoraResource Modifier and Type Method Description <T extends FedoraResource>
TResourceFactory. getResource(Transaction transaction, FedoraId fedoraID, Class<T> clazz)
Get a resource as a particular typeMethods in org.fcrepo.kernel.api.models that return FedoraResource Modifier and Type Method Description FedoraResource
FedoraResource. findMementoByDatetime(Instant mementoDatetime)
Retrieve the Memento with the closest datetime to the request.FedoraResource
FedoraResource. getAcl()
Get the ACL of this resourceFedoraResource
FedoraResource. getContainer()
Get the container of this resourceFedoraResource
ResourceFactory. getContainer(Transaction transaction, FedoraId resourceId)
Get the containing resource (if exists).FedoraResource
Tombstone. getDeletedObject()
Return the object this tombstone is for.FedoraResource
FedoraResource. getDescribedResource()
Get the resource described by this resourceFedoraResource
FedoraResource. getDescription()
Get the description for this resourceFedoraResource
FedoraResource. getOriginalResource()
Get the Original Resource for which this resource is a memento or timemap for.FedoraResource
FedoraResource. getParent()
Get the resource which contains this resource.FedoraResource
ResourceFactory. getResource(Transaction transaction, FedoraId fedoraID)
Get a FedoraResource for existing resourceMethods in org.fcrepo.kernel.api.models that return types with arguments of type FedoraResource Modifier and Type Method Description default Stream<FedoraResource>
FedoraResource. getChildren()
Get the children of this resourceStream<FedoraResource>
FedoraResource. getChildren(Boolean recursive)
Get the children of this resource, possibly recursivelyStream<FedoraResource>
ResourceFactory. getChildren(Transaction transaction, FedoraId resourceId)
Get immediate children of the resource -
Uses of FedoraResource in org.fcrepo.kernel.api.services
Methods in org.fcrepo.kernel.api.services with parameters of type FedoraResource Modifier and Type Method Description Stream<org.apache.jena.graph.Triple>
ContainmentTriplesService. get(Transaction tx, FedoraResource resource)
Retrieve the containment triples.Stream<org.apache.jena.graph.Triple>
ManagedPropertiesService. get(FedoraResource resource)
Retrieve the managed properties as triplesRdfStream
ReferenceService. getInboundReferences(Transaction tx, FedoraResource resource)
Return a RDF stream of statements referring to the provided resource.Stream<org.apache.jena.graph.Triple>
ResourceTripleService. getResourceTriples(Transaction tx, FedoraResource resource, LdpTriplePreferences preferences, int limit)
Return the triples for the resource based on the Prefer: header preferencesvoid
DeleteResourceService. perform(Transaction tx, FedoraResource fedoraResource, String userPrincipal)
Delete the specified resourcevoid
PurgeResourceService. perform(Transaction tx, FedoraResource fedoraResource, String userPrincipal)
Purges the specified resource -
Uses of FedoraResource in org.fcrepo.kernel.impl.models
Classes in org.fcrepo.kernel.impl.models that implement FedoraResource Modifier and Type Class Description class
BinaryImpl
Implementation of a Non-RDF resource.class
ContainerImpl
Implementation of an LDP Container resourceclass
FedoraResourceImpl
Implementation of a Fedora resource, containing functionality common to the more concrete resource implementations.class
NonRdfSourceDescriptionImpl
Implementation of a non-rdf source descriptionclass
TimeMapImpl
FedoraResource implementation that represents a Memento TimeMap of the base resource.class
TombstoneImpl
Tombstone classclass
WebacAclImpl
Webac Acl classMethods in org.fcrepo.kernel.impl.models with type parameters of type FedoraResource Modifier and Type Method Description <T extends FedoraResource>
TResourceFactoryImpl. getResource(Transaction transaction, FedoraId identifier, Class<T> clazz)
Methods in org.fcrepo.kernel.impl.models that return FedoraResource Modifier and Type Method Description FedoraResource
FedoraResourceImpl. findMementoByDatetime(Instant mementoDatetime)
FedoraResource
FedoraResourceImpl. getAcl()
FedoraResource
FedoraResourceImpl. getContainer()
FedoraResource
ResourceFactoryImpl. getContainer(Transaction transaction, FedoraId resourceId)
FedoraResource
WebacAclImpl. getContainer()
FedoraResource
TombstoneImpl. getDeletedObject()
FedoraResource
ContainerImpl. getDescribedResource()
FedoraResource
FedoraResourceImpl. getDescribedResource()
FedoraResource
NonRdfSourceDescriptionImpl. getDescribedResource()
FedoraResource
BinaryImpl. getDescription()
FedoraResource
FedoraResourceImpl. getDescription()
FedoraResource
FedoraResourceImpl. getOriginalResource()
FedoraResource
TimeMapImpl. getOriginalResource()
FedoraResource
FedoraResourceImpl. getParent()
FedoraResource
ResourceFactoryImpl. getResource(Transaction transaction, FedoraId fedoraID)
Methods in org.fcrepo.kernel.impl.models that return types with arguments of type FedoraResource Modifier and Type Method Description Stream<FedoraResource>
ContainerImpl. getChildren(Boolean recursive)
Stream<FedoraResource>
FedoraResourceImpl. getChildren(Boolean recursive)
Stream<FedoraResource>
ResourceFactoryImpl. getChildren(Transaction transaction, FedoraId resourceId)
Stream<FedoraResource>
TimeMapImpl. getChildren(Boolean recursive)
Constructors in org.fcrepo.kernel.impl.models with parameters of type FedoraResource Constructor Description TimeMapImpl(FedoraResource originalResource, Transaction transaction, PersistentStorageSessionManager pSessionManager, ResourceFactory resourceFactory)
TombstoneImpl(FedoraId fedoraID, Transaction transaction, PersistentStorageSessionManager pSessionManager, ResourceFactory resourceFactory, FedoraResource original)
-
Uses of FedoraResource in org.fcrepo.kernel.impl.services
Methods in org.fcrepo.kernel.impl.services with parameters of type FedoraResource Modifier and Type Method Description Stream<org.apache.jena.graph.Triple>
ContainmentTriplesServiceImpl. get(Transaction tx, FedoraResource resource)
Stream<org.apache.jena.graph.Triple>
ManagedPropertiesServiceImpl. get(FedoraResource resource)
protected abstract Stream<String>
AbstractDeleteResourceService. getContained(Transaction tx, FedoraResource resource)
Get the contained resources to act upon.protected Stream<String>
DeleteResourceServiceImpl. getContained(Transaction tx, FedoraResource resource)
protected Stream<String>
PurgeResourceServiceImpl. getContained(Transaction tx, FedoraResource resource)
RdfStream
ReferenceServiceImpl. getInboundReferences(Transaction tx, FedoraResource resource)
RdfStream
ReferenceServiceMetrics. getInboundReferences(Transaction tx, FedoraResource resource)
Stream<org.apache.jena.graph.Triple>
ResourceTripleServiceImpl. getResourceTriples(Transaction tx, FedoraResource resource, LdpTriplePreferences preferences, int limit)
void
AbstractDeleteResourceService. perform(Transaction tx, FedoraResource fedoraResource, String userPrincipal)
The starts the service, does initial checks and setups for processing.
-