Uses of Class
org.fcrepo.kernel.api.identifiers.FedoraId
-
-
Uses of FedoraId in org.fcrepo.kernel.api
Methods in org.fcrepo.kernel.api that return FedoraId Modifier and Type Method Description FedoraIdContainmentIndex. getContainerIdByPath(String txId, FedoraId fedoraId, boolean checkDeleted)Find the ID for the container of the provided resource by iterating up the path until you find a real resource.Methods in org.fcrepo.kernel.api with parameters of type FedoraId Modifier and Type Method Description voidContainmentIndex. addContainedBy(String txId, FedoraId parent, FedoraId child)Add a contained by relation between the child resource and its parent.voidContainmentIndex. addContainedBy(String txId, FedoraId parent, FedoraId child, Instant startTime, Instant endTime)Add a contained by relation between the child resource and its parent for a range of time in the past.StringContainmentIndex. getContainedBy(String txId, FedoraId resource)Return the ID of the containing resource for resourceID.FedoraIdContainmentIndex. getContainerIdByPath(String txId, FedoraId fedoraId, boolean checkDeleted)Find the ID for the container of the provided resource by iterating up the path until you find a real resource.Stream<String>ContainmentIndex. getContains(String txId, FedoraId fedoraId)Return a stream of fedora identifiers contained by the specified fedora resource for the current state of the repository.Stream<String>ContainmentIndex. getContainsDeleted(String txId, FedoraId fedoraId)Return a stream of fedora identifiers contained by the specified fedora resource that have deleted relationships.booleanContainmentIndex. hasResourcesStartingWith(String txId, FedoraId fedoraId)Find whether there are any resources that starts with the ID provided.voidContainmentIndex. purgeResource(String txId, FedoraId resource)Remove all relationships to the specified resource.voidContainmentIndex. removeContainedBy(String txId, FedoraId parent, FedoraId child)Mark a contained by relation between the child resource and its parent as deleted.voidContainmentIndex. removeResource(String txId, FedoraId resource)Mark all relationships to the specified resource as deleted.booleanContainmentIndex. resourceExists(String txId, FedoraId fedoraId, boolean includeDeleted)Check if the resourceID exists in the containment index. -
Uses of FedoraId in org.fcrepo.kernel.api.identifiers
Methods in org.fcrepo.kernel.api.identifiers that return FedoraId Modifier and Type Method Description FedoraIdFedoraId. asAcl()Creates a new Fedora ID based on this ID that points to an ACL resource.FedoraIdFedoraId. asBaseId()Behaves the same asgetBaseId()except it returns a FedoraId rather than a String.FedoraIdFedoraId. asDescription()Creates a new Fedora ID based on this ID that points to a binary description resource.FedoraIdFedoraId. asMemento(String mementoString)Creates a new Fedora ID based on this ID that points to a memento resource.FedoraIdFedoraId. asMemento(Instant mementoInstant)Creates a new Fedora ID based on this ID that points to a memento resource.FedoraIdFedoraId. asResourceId()Behaves the same asgetResourceId()except it returns a FedoraId rather than a String.FedoraIdFedoraId. asTimemap()Creates a new Fedora ID based on this ID that points to a timemap resource.FedoraIdFedoraId. asTombstone()Creates a new Fedora ID based on this ID that points to a tombstone resource.static FedoraIdFedoraId. create(String... additions)Static create methodstatic FedoraIdFedoraId. getRepositoryRootId()Get a FedoraId for repository root.FedoraIdFedoraId. resolve(String child)Creates a new Fedora ID by joining the base ID of this Fedora ID with the specified string part. -
Uses of FedoraId in org.fcrepo.kernel.api.models
Methods in org.fcrepo.kernel.api.models that return FedoraId Modifier and Type Method Description FedoraIdFedoraResource. getFedoraId()Get the FedoraId for this resource.FedoraIdResourceHeaders. getId()Get the identifier for the described resource.FedoraIdResourceHeaders. getParent()Get the identifier of the parent of the resourceMethods in org.fcrepo.kernel.api.models with parameters of type FedoraId Modifier and Type Method Description booleanResourceHelper. doesResourceExist(Transaction transaction, FedoraId fedoraId, boolean includeDeleted)Check if a resource exists.Stream<FedoraResource>ResourceFactory. getChildren(String transactionId, FedoraId resourceId)Get immediate children of the resourceFedoraResourceResourceFactory. getContainer(String transactionId, FedoraId resourceId)Get the containing resource (if exists).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.<T extends FedoraResource>
TResourceFactory. getResource(FedoraId fedoraID, Class<T> clazz)Get a resource as a particular type without a transactionFedoraResourceResourceFactory. getResource(Transaction transaction, FedoraId fedoraID)Get a FedoraResource for existing resource<T extends FedoraResource>
TResourceFactory. getResource(Transaction transaction, FedoraId fedoraID, Class<T> clazz)Get a resource as a particular typebooleanResourceHelper. isGhostNode(Transaction transaction, FedoraId resourceId)Is the resource a "ghost node". -
Uses of FedoraId in org.fcrepo.kernel.api.observer
Methods in org.fcrepo.kernel.api.observer that return FedoraId Modifier and Type Method Description FedoraIdEvent. getFedoraId()Methods in org.fcrepo.kernel.api.observer with parameters of type FedoraId Modifier and Type Method Description voidEventAccumulator. recordEventForOperation(String transactionId, FedoraId fedoraId, ResourceOperation operation)Registers a new event to a transaction. -
Uses of FedoraId in org.fcrepo.kernel.api.operations
Methods in org.fcrepo.kernel.api.operations that return FedoraId Modifier and Type Method Description FedoraIdCreateResourceOperation. getParentId()Get the identifier of the parent of the resource being createdFedoraIdResourceOperation. getResourceId()Id of the resourceMethods in org.fcrepo.kernel.api.operations with parameters of type FedoraId Modifier and Type Method Description CreateRdfSourceOperationBuilderRdfSourceOperationFactory. createBuilder(FedoraId rescId, String interactionModel)Get a builder for an operation to create an RDF sourceCreateVersionResourceOperationBuilderVersionResourceOperationFactory. createBuilder(FedoraId rescId)Create a newCreateVersionResourceOperationBuilderbuilder.CreateNonRdfSourceOperationBuilderNonRdfSourceOperationFactory. createExternalBinaryBuilder(FedoraId rescId, String handling, URI contentUri)Get a builder for a external binary create operationCreateNonRdfSourceOperationBuilderNonRdfSourceOperationFactory. createInternalBinaryBuilder(FedoraId rescId, InputStream contentStream)Get a builder for an internal binary create operationResourceOperationBuilderDeleteResourceOperationFactory. deleteBuilder(FedoraId rescId)Get a builder for an operation to delete a resourceCreateNonRdfSourceOperationBuilderCreateNonRdfSourceOperationBuilder. parentId(FedoraId parentId)Set the parent identifier of the resourceCreateRdfSourceOperationBuilderCreateRdfSourceOperationBuilder. parentId(FedoraId parentId)Set the parent identifier of the resourceResourceOperationBuilderDeleteResourceOperationFactory. purgeBuilder(FedoraId rescId)Get a builder for an operation to purge a deleted resource.ResourceOperationBuilderRdfSourceOperationFactory. sparqlUpdateBuilder(FedoraId rescId, String updateQuery)Get a builder for an operation to perform a sparql update on an RDF sourceRdfSourceOperationBuilderRdfSourceOperationFactory. updateBuilder(FedoraId rescId)Get a builder for an operation to update an RDF sourceNonRdfSourceOperationBuilderNonRdfSourceOperationFactory. updateExternalBinaryBuilder(FedoraId rescId, String handling, URI contentUri)Get a builder for a external binary update operationNonRdfSourceOperationBuilderNonRdfSourceOperationFactory. updateInternalBinaryBuilder(FedoraId rescId, InputStream contentStream)Get a builder for an internal binary update operation -
Uses of FedoraId in org.fcrepo.kernel.api.services
Methods in org.fcrepo.kernel.api.services with parameters of type FedoraId Modifier and Type Method Description voidWebacAclService. create(Transaction transaction, FedoraId fedoraId, String userPrincipal, org.apache.jena.rdf.model.Model model)Retrieve or create a new WebACL by transaction and pathvoidVersionService. createVersion(Transaction transaction, FedoraId fedoraId, String userPrincipal)Explicitly creates a version for the resource at the path provided.voidReferenceService. deleteAllReferences(String txId, FedoraId resourceId)Delete all references from a resource to any other resource.WebacAclWebacAclService. find(Transaction transaction, FedoraId fedoraId)Retrieve an existing WebACL by transaction and pathRdfStreamMembershipService. getMembership(String txId, FedoraId fedoraId)Return an RdfStream of membership relations of which the provided resource is the subject.voidCreateResourceService. perform(String txId, String userPrincipal, FedoraId fedoraId, String contentType, String filename, long contentSize, List<String> linkHeaders, Collection<URI> digest, InputStream requestBody, ExternalContent externalContent)Create a new NonRdfSource resource.voidCreateResourceService. perform(String txId, String userPrincipal, FedoraId fedoraId, List<String> linkHeaders, org.apache.jena.rdf.model.Model model)Create a new RdfSource resource.voidReplaceBinariesService. perform(String txId, String userPrincipal, FedoraId fedoraId, String filename, String contentType, Collection<URI> digests, InputStream contentBody, long size, ExternalContent externalContent)Replace an existing binary.voidReplacePropertiesService. perform(String txId, String userPrincipal, FedoraId fedoraId, org.apache.jena.rdf.model.Model inputModel)Replace the properties of this object with the properties from the given modelvoidMembershipService. populateMembershipHistory(String txId, FedoraId containerId)Regenerate the membership history for specified Direct or Indirect container.voidMembershipService. resourceCreated(String txId, FedoraId fedoraId)Update membership properties based on the creation of the specified resourcevoidMembershipService. resourceDeleted(String txId, FedoraId fedoraId)Update membership properties based on the deletion of the specified resourcevoidMembershipService. resourceModified(String txId, FedoraId fedoraId)Update membership properties based on the modification of the specified resourcevoidUpdatePropertiesService. updateProperties(String txId, String userPrincipal, FedoraId fedoraId, String sparqlUpdateStatement)Update the provided properties with a SPARQL Update query.voidReferenceService. updateReferences(String txId, FedoraId resourceId, String userPrincipal, RdfStream rdfStream)Parse the stream of triples for references, add any new ones and remove any missing ones.
-