Uses of Class
org.fcrepo.kernel.api.identifiers.FedoraId
Packages that use FedoraId
Package
Description
-
Uses of FedoraId in org.fcrepo.kernel.api
Methods in org.fcrepo.kernel.api that return FedoraIdModifier and TypeMethodDescriptionContainmentIndex.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 FedoraIdModifier and TypeMethodDescriptionvoidContainmentIndex.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.ContainmentIndex.containmentLastUpdated(Transaction tx, FedoraId fedoraId) Find the timestamp of the last child added or deletedContainmentIndex.getContainedBy(Transaction tx, FedoraId resource) Return the ID of the containing resource for resourceID.ContainmentIndex.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.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.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 FedoraIdModifier and TypeMethodDescriptionvoidUserTypesCache.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.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 FedoraIdModifier and TypeMethodDescriptionFedoraId.asAcl()Creates a new Fedora ID based on this ID that points to an ACL resource.FedoraId.asBaseId()Behaves the same asgetBaseId()except it returns a FedoraId rather than a String.FedoraId.asDescription()Creates a new Fedora ID based on this ID that points to a binary description resource.Creates a new Fedora ID based on this ID that points to a memento resource.Creates a new Fedora ID based on this ID that points to a memento resource.FedoraId.asResourceId()Behaves the same asgetResourceId()except it returns a FedoraId rather than a String.FedoraId.asTimemap()Creates a new Fedora ID based on this ID that points to a timemap resource.FedoraId.asTombstone()Creates a new Fedora ID based on this ID that points to a tombstone resource.static FedoraIdStatic create methodstatic FedoraIdFedoraId.getRepositoryRootId()Get a FedoraId for repository root.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 FedoraIdMethods in org.fcrepo.kernel.api.lock with parameters of type FedoraIdModifier and TypeMethodDescriptionvoidResourceLockManager.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 FedoraIdModifier and TypeMethodDescriptionResourceHeaders.getArchivalGroupId()Get the identifier of the archival group resource that contains this resource, or null if the resource is not an archival part resourceFedoraResource.getFedoraId()Get the FedoraId for this resource.ResourceHeaders.getId()Get the identifier for the described resource.ResourceHeaders.getParent()Get the identifier of the parent of the resourceFedoraResource.getParentId()Get the FedoraId of this resource's parentMethods in org.fcrepo.kernel.api.models that return types with arguments of type FedoraIdModifier and TypeMethodDescriptionFedoraResource.getArchivalGroupId()Get the FedoraId for the Archival Group of this resource, if it existsMethods in org.fcrepo.kernel.api.models with parameters of type FedoraIdModifier and TypeMethodDescriptionbooleanResourceHelper.doesResourceExist(Transaction transaction, FedoraId fedoraId, boolean includeDeleted) Check if a resource exists.ResourceFactory.getChildren(Transaction transaction, FedoraId resourceId) Get immediate children of the resourceResourceFactory.getContainer(Transaction transaction, FedoraId resourceId) Get the containing resource (if exists).ResourceFactory.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 FedoraIdMethods in org.fcrepo.kernel.api.observer with parameters of type FedoraIdModifier and TypeMethodDescriptionvoidEventAccumulator.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 FedoraIdModifier and TypeMethodDescriptionCreateResourceOperation.getParentId()Get the identifier of the parent of the resource being createdResourceOperation.getResourceId()Id of the resourceMethods in org.fcrepo.kernel.api.operations with parameters of type FedoraIdModifier and TypeMethodDescriptionReindexResourceOperationFactory.create(Transaction transaction, FedoraId resourceId) Get a builder for an operation to reindex a resourceRdfSourceOperationFactory.createBuilder(Transaction transaction, FedoraId rescId, String interactionModel, org.fcrepo.config.ServerManagedPropsMode serverManagedPropsMode) Get a builder for an operation to create an RDF sourceVersionResourceOperationFactory.createBuilder(Transaction transaction, FedoraId rescId) Create a newCreateVersionResourceOperationBuilderbuilder.NonRdfSourceOperationFactory.createExternalBinaryBuilder(Transaction transaction, FedoraId rescId, String handling, URI contentUri) Get a builder for a external binary create operationNonRdfSourceOperationFactory.createInternalBinaryBuilder(Transaction transaction, FedoraId rescId, InputStream contentStream) Get a builder for an internal binary create operationDeleteResourceOperationFactory.deleteBuilder(Transaction transaction, FedoraId rescId) Get a builder for an operation to delete a resourceSet the parent identifier of the resourceSet the parent identifier of the resourceDeleteResourceOperationFactory.purgeBuilder(Transaction transaction, FedoraId rescId) Get a builder for an operation to purge a deleted resource.RdfSourceOperationFactory.updateBuilder(Transaction transaction, FedoraId rescId, org.fcrepo.config.ServerManagedPropsMode serverManagedPropsMode) Get a builder for an operation to update an RDF sourceNonRdfSourceOperationFactory.updateExternalBinaryBuilder(Transaction transaction, FedoraId rescId, String handling, URI contentUri) Get a builder for a external binary update operationNonRdfSourceOperationFactory.updateHeadersBuilder(Transaction transaction, FedoraId resourceId, org.fcrepo.config.ServerManagedPropsMode serverManagedPropsMode) Get a builder for an operation to update headers of a Non-RDF resourceNonRdfSourceOperationFactory.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 FedoraIdModifier and TypeMethodDescriptionvoidWebacAclService.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.WebacAclService.find(Transaction transaction, FedoraId fedoraId) Retrieve an existing WebACL by transaction and pathMembershipService.getLastUpdatedTimestamp(Transaction transaction, FedoraId fedoraId) Get the timestamp of the most recent member added or removed, or null if none.MembershipService.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.