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(Transaction tx, 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(Transaction tx, FedoraId parent, FedoraId child)Add a contained by relation between the child resource and its parent.voidContainmentIndex. addContainedBy(Transaction tx, 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.InstantContainmentIndex. containmentLastUpdated(Transaction tx, FedoraId fedoraId)Find the timestamp of the last child added or deletedStringContainmentIndex. getContainedBy(Transaction tx, FedoraId resource)Return the ID of the containing resource for resourceID.FedoraIdContainmentIndex. getContainerIdByPath(Transaction tx, 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(Transaction tx, 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(Transaction tx, FedoraId fedoraId)Return a stream of fedora identifiers contained by the specified fedora resource that have deleted relationships.booleanContainmentIndex. hasResourcesStartingWith(Transaction tx, FedoraId fedoraId)Find whether there are any resources that starts with the ID provided.voidReadOnlyTransaction. lockResource(FedoraId resourceId)voidTransaction. lockResource(FedoraId resourceId)Acquires an exclusive lock on the specified resource for this transaction.voidReadOnlyTransaction. lockResourceAndGhostNodes(FedoraId resourceId)voidTransaction. lockResourceAndGhostNodes(FedoraId resourceId)Acquire an exclusive lock on the specified resource and any ghost nodes above it for this transaction.voidReadOnlyTransaction. lockResourceNonExclusive(FedoraId resourceId)voidTransaction. lockResourceNonExclusive(FedoraId resourceId)Acquires a non-exclusive lock on the specified resource for this transaction.voidContainmentIndex. purgeResource(Transaction tx, FedoraId resource)Remove all relationships to the specified resource.voidContainmentIndex. removeContainedBy(Transaction tx, FedoraId parent, FedoraId child)Mark a contained by relation between the child resource and its parent as deleted.voidContainmentIndex. removeResource(Transaction tx, FedoraId resource)Mark all relationships to the specified resource as deleted.booleanContainmentIndex. resourceExists(Transaction tx, FedoraId fedoraId, boolean includeDeleted)Check if the resourceID exists in the containment index. -
Uses of FedoraId in org.fcrepo.kernel.api.cache
Methods in org.fcrepo.kernel.api.cache with parameters of type FedoraId Modifier and Type Method Description voidUserTypesCache. cacheUserTypes(FedoraId resourceId, List<URI> userTypes, String sessionId)Caches the user RDF types in the session level cache.voidUserTypesCache. cacheUserTypes(FedoraId resourceId, RdfStream rdf, String sessionId)Extracts the user RDF types from the RDF and caches them in the session level cache.List<URI>UserTypesCache. getUserTypes(FedoraId resourceId, String sessionId, Supplier<RdfStream> rdfProvider)Gets the user RDF types for the specified resource from the cache. -
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.lock
Methods in org.fcrepo.kernel.api.lock that return FedoraId Modifier and Type Method Description FedoraIdResourceLock. getResourceId()Methods in org.fcrepo.kernel.api.lock with parameters of type FedoraId Modifier and Type Method Description voidResourceLockManager. acquireExclusive(String txId, FedoraId resourceId)Acquires an exclusive lock on the resource, associating it to the txId.voidResourceLockManager. acquireNonExclusive(String txId, FedoraId resourceId)Acquires a non-exclusive lock on the resource, associating it to the txId.booleanResourceLock. hasResource(FedoraId resourceId)Does this lock hold the mentioned item? -
Uses of FedoraId in org.fcrepo.kernel.api.models
Methods in org.fcrepo.kernel.api.models that return FedoraId Modifier and Type Method Description FedoraIdResourceHeaders. getArchivalGroupId()Get the identifier of the archival group resource that contains this resource, or null if the resource is not an archival part resourceFedoraIdFedoraResource. 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 resourceFedoraIdFedoraResource. getParentId()Get the FedoraId of this resource's parentMethods in org.fcrepo.kernel.api.models that return types with arguments of type FedoraId Modifier and Type Method Description Optional<FedoraId>FedoraResource. getArchivalGroupId()Get the FedoraId for the Archival Group of this resource, if it existsMethods 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(Transaction transaction, FedoraId resourceId)Get immediate children of the resourceFedoraResourceResourceFactory. getContainer(Transaction transaction, FedoraId resourceId)Get the containing resource (if exists).FedoraResourceResourceFactory. 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(Transaction transaction, 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 ResourceOperationBuilderReindexResourceOperationFactory. create(Transaction transaction, FedoraId resourceId)Get a builder for an operation to reindex a resourceCreateRdfSourceOperationBuilderRdfSourceOperationFactory. createBuilder(Transaction transaction, FedoraId rescId, String interactionModel, org.fcrepo.config.ServerManagedPropsMode serverManagedPropsMode)Get a builder for an operation to create an RDF sourceCreateVersionResourceOperationBuilderVersionResourceOperationFactory. createBuilder(Transaction transaction, FedoraId rescId)Create a newCreateVersionResourceOperationBuilderbuilder.CreateNonRdfSourceOperationBuilderNonRdfSourceOperationFactory. createExternalBinaryBuilder(Transaction transaction, FedoraId rescId, String handling, URI contentUri)Get a builder for a external binary create operationCreateNonRdfSourceOperationBuilderNonRdfSourceOperationFactory. createInternalBinaryBuilder(Transaction transaction, FedoraId rescId, InputStream contentStream)Get a builder for an internal binary create operationResourceOperationBuilderDeleteResourceOperationFactory. deleteBuilder(Transaction transaction, 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(Transaction transaction, FedoraId rescId)Get a builder for an operation to purge a deleted resource.RdfSourceOperationBuilderRdfSourceOperationFactory. updateBuilder(Transaction transaction, FedoraId rescId, org.fcrepo.config.ServerManagedPropsMode serverManagedPropsMode)Get a builder for an operation to update an RDF sourceNonRdfSourceOperationBuilderNonRdfSourceOperationFactory. updateExternalBinaryBuilder(Transaction transaction, FedoraId rescId, String handling, URI contentUri)Get a builder for a external binary update operationUpdateNonRdfSourceHeadersOperationBuilderNonRdfSourceOperationFactory. updateHeadersBuilder(Transaction transaction, FedoraId resourceId, org.fcrepo.config.ServerManagedPropsMode serverManagedPropsMode)Get a builder for an operation to update headers of a Non-RDF resourceNonRdfSourceOperationBuilderNonRdfSourceOperationFactory. updateInternalBinaryBuilder(Transaction transaction, 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(Transaction tx, 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 pathInstantMembershipService. getLastUpdatedTimestamp(Transaction transaction, FedoraId fedoraId)Get the timestamp of the most recent member added or removed, or null if none.RdfStreamMembershipService. getMembership(Transaction transaction, FedoraId fedoraId)Return an RdfStream of membership relations of which the provided resource is the subject.voidCreateResourceService. perform(Transaction tx, 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.default voidCreateResourceService. perform(Transaction tx, String userPrincipal, FedoraId fedoraId, List<String> linkHeaders, org.apache.jena.rdf.model.Model model)voidCreateResourceService. perform(Transaction tx, String userPrincipal, FedoraId fedoraId, List<String> linkHeaders, org.apache.jena.rdf.model.Model model, boolean isOverwrite)Create a new RdfSource resource.voidReplaceBinariesService. perform(Transaction tx, String userPrincipal, FedoraId fedoraId, String filename, String contentType, Collection<URI> digests, InputStream contentBody, long size, ExternalContent externalContent)Replace an existing binary.voidReplacePropertiesService. perform(Transaction tx, 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(Transaction transaction, FedoraId containerId)Regenerate the membership history for specified Direct or Indirect container.voidReindexService. reindexByFedoraId(Transaction transaction, String principal, FedoraId fedoraId)voidMembershipService. resourceCreated(Transaction transaction, FedoraId fedoraId)Update membership properties based on the creation of the specified resourcevoidMembershipService. resourceDeleted(Transaction transaction, FedoraId fedoraId)Update membership properties based on the deletion of the specified resourcevoidMembershipService. resourceModified(Transaction transaction, FedoraId fedoraId)Update membership properties based on the modification of the specified resourcevoidUpdatePropertiesService. updateProperties(Transaction tx, String userPrincipal, FedoraId fedoraId, String sparqlUpdateStatement)Update the provided properties with a SPARQL Update query.voidReferenceService. updateReferences(Transaction tx, FedoraId resourceId, String userPrincipal, RdfStream rdfStream)Parse the stream of triples for references, add any new ones and remove any missing ones.
-