| Package | Description |
|---|---|
| org.fcrepo.kernel.api | |
| org.fcrepo.kernel.api.services |
| Modifier and Type | Method and Description |
|---|---|
FedoraSession |
FedoraRepository.login()
Login to the repository
|
FedoraSession |
FedoraRepository.login(Object credentials)
Login to the repository with credentials
|
| Modifier and Type | Method and Description |
|---|---|
default FedoraSession |
BatchService.getSession(String sessionId)
Retrieve an open
FedoraSession for an anonymous user |
FedoraSession |
BatchService.getSession(String sessionId,
String username)
Retrieve an open
FedoraSession for a given user |
| Modifier and Type | Method and Description |
|---|---|
Collection<Throwable> |
RepositoryService.backupRepository(FedoraSession session,
File backupDirectory)
This method backups up a running repository
|
default void |
BatchService.begin(FedoraSession session)
Create a new batch operation with a FedoraSession for the anonymous user and add it to the currently open ones
|
void |
BatchService.begin(FedoraSession session,
String username)
Create a new batch operation with a FedoraSession and add it to the currently open ones
|
void |
NodeService.copyObject(FedoraSession session,
String source,
String destination)
Copy an existing object from the source path to the destination path
|
FedoraBinary |
VersionService.createBinaryVersion(FedoraSession session,
FedoraBinary resource,
Instant dateTime,
InputStream contentStream,
Collection<URI> checksums,
StoragePolicyDecisionPoint storagePolicyDecisionPoint)
Explicitly creates a version of a binary resource.
|
FedoraBinary |
VersionService.createBinaryVersion(FedoraSession session,
FedoraBinary resource,
Instant dateTime,
StoragePolicyDecisionPoint storagePolicyDecisionPoint)
Explicitly creates a version of a binary resource from the current state of that binary.
|
FedoraBinary |
VersionService.createExternalBinaryVersion(FedoraSession session,
FedoraBinary resource,
Instant dateTime,
Collection<URI> checksums,
String externalHandling,
String externalUrl) |
FedoraResource |
VersionService.createVersion(FedoraSession session,
FedoraResource resource,
IdentifierConverter<org.apache.jena.rdf.model.Resource,FedoraResource> idTranslator,
Instant dateTime)
Explicitly creates a version for the resource at the path provided.
|
FedoraResource |
VersionService.createVersion(FedoraSession session,
FedoraResource resource,
IdentifierConverter<org.apache.jena.rdf.model.Resource,FedoraResource> idTranslator,
Instant dateTime,
InputStream rdfInputStream,
org.apache.jena.riot.Lang rdfFormat)
Explicitly creates a version for the resource at the path provided for the date/time provided.
|
boolean |
Service.exists(FedoraSession session,
String path)
Test whether T exists at the given path in the
repository
|
T |
Service.find(FedoraSession session,
String path)
Retrieve an existing T instance by session and path
|
T |
Service.findOrCreate(FedoraSession session,
String path)
Retrieve a T instance by session and path
|
FedoraBinary |
BinaryService.findOrCreateBinary(FedoraSession session,
String path)
Retrieves a FedoraBinary instance by session and path.
|
NonRdfSourceDescription |
BinaryService.findOrCreateDescription(FedoraSession session,
String path)
Retrieves a binary description instance by session and path.
|
void |
NodeService.moveObject(FedoraSession session,
String source,
String destination)
Move an existing object from the source path to the destination path
|
Collection<Throwable> |
RepositoryService.restoreRepository(FedoraSession session,
File backupDirectory)
This methods restores the repository from a backup
|
Copyright © 2013–2019 DuraSpace, Inc.. All rights reserved.