Uses of Interface
org.fcrepo.kernel.api.models.FedoraResource
-
Packages that use FedoraResource Package Description org.fcrepo.kernel.api.exception Kernel exception classes.org.fcrepo.kernel.api.models org.fcrepo.kernel.api.services org.fcrepo.kernel.api.services.policy -
-
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 interfaceBinaryinterfaceContainerinterfaceNonRdfSourceDescriptioninterfaceTimeMapinterfaceTombstoneinterfaceWebacAclMethods in org.fcrepo.kernel.api.models with type parameters of type FedoraResource Modifier and Type Method Description <T extends FedoraResource>
TResourceFactory. getResource(FedoraId fedoraID, Class<T> clazz)Get a resource as a particular type without a transaction<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 FedoraResourceFedoraResource. findMementoByDatetime(Instant mementoDatetime)Retrieve the Memento with the closest datetime to the request.FedoraResourceFedoraResource. getAcl()Get the ACL of this resourceFedoraResourceFedoraResource. getContainer()Get the container of this resourceFedoraResourceResourceFactory. getContainer(String transactionId, FedoraId resourceId)Get the containing resource (if exists).FedoraResourceTombstone. getDeletedObject()Return the object this tombstone is for.FedoraResourceFedoraResource. getDescribedResource()Get the resource described by this resourceFedoraResourceFedoraResource. getDescription()Get the description for this resourceFedoraResourceFedoraResource. getOriginalResource()Get the Original Resource for which this resource is a memento or timemap for.FedoraResourceFedoraResource. getParent()Get the resource which contains this resource.FedoraResourceResourceFactory. getResource(String transactionId, FedoraId fedoraID)Get a FedoraResource for existing resourceFedoraResourceResourceFactory. getResource(FedoraId fedoraID)Get a FedoraResource for existing resource without using a transaction.FedoraResourceResourceFactory. 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(String transactionId, 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 triplesRdfStreamReferenceService. getInboundReferences(String txId, 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 preferencesvoidDeleteResourceService. perform(Transaction tx, FedoraResource fedoraResource, String userPrincipal)Delete the specified resourcevoidPurgeResourceService. perform(Transaction tx, FedoraResource fedoraResource, String userPrincipal)Purges the specified resource -
Uses of FedoraResource in org.fcrepo.kernel.api.services.policy
Methods in org.fcrepo.kernel.api.services.policy with parameters of type FedoraResource Modifier and Type Method Description StringStoragePolicyDecisionPoint. evaluatePolicies(FedoraResource resource)Given a fedora resource (likely a fedora:Binary resource), determine which storage policy should applyStringStoragePolicy. evaluatePolicy(FedoraResource resource)Evaluate the policy; if the policy matches, return the binary storage hint.
-